Gauss model.  
 More...
#include <JGauss.hh>
Gauss model. 
Definition at line 29 of file JGauss.hh.
 
◆ JGauss_t() [1/2]
  
  
      
        
          | JMATH::JGauss_t::JGauss_t  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 36 of file JGauss.hh.
 
 
◆ JGauss_t() [2/2]
  
  
      
        
          | JMATH::JGauss_t::JGauss_t  | 
          ( | 
          const double  | 
          mean,  | 
         
        
           | 
           | 
          const double  | 
          sigma,  | 
         
        
           | 
           | 
          const double  | 
          signal,  | 
         
        
           | 
           | 
          const double  | 
          background  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | mean | mean  | 
    | sigma | sigma  | 
    | signal | signal  | 
    | background | background  | 
  
   
Definition at line 52 of file JGauss.hh.
 
 
◆ equals()
  
  
      
        
          | bool JMATH::JGauss_t::equals  | 
          ( | 
          const JGauss_t &  | 
          gauss,  | 
         
        
           | 
           | 
          const double  | 
          eps = std::numeric_limits<double>::min()  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Equality. 
- Parameters
 - 
  
    | gauss | gauss  | 
    | eps | numerical precision  | 
  
   
- Returns
 - true if gauss's identical; else false 
 
Definition at line 70 of file JGauss.hh.
double gauss(const double x, const double sigma)
Gauss function (normalised to 1 at x = 0).
 
 
 
 
◆ add()
Add gauss. 
- Parameters
 - 
  
  
 
- Returns
 - this gauss 
 
Definition at line 86 of file JGauss.hh.
 
 
◆ sub()
Subtract gauss. 
- Parameters
 - 
  
  
 
- Returns
 - this gauss 
 
Definition at line 103 of file JGauss.hh.
 
 
◆ mul() [1/2]
  
  
      
        
          | JGauss_t& JMATH::JGauss_t::mul  | 
          ( | 
          const double  | 
          factor | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Scale gauss. 
- Parameters
 - 
  
    | factor | multiplication factor  | 
  
   
- Returns
 - this gauss 
 
Definition at line 120 of file JGauss.hh.
 
 
◆ mul() [2/2]
Multiply with object. 
- Parameters
 - 
  
  
 
- Returns
 - result object 
 
Definition at line 354 of file JMath.hh.
  356       return static_cast<JFirst_t&
>(*this) = JFirst_t().mul(
static_cast<const JFirst_t&
>(*
this), 
object);
 
 
 
 
◆ operator>>
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JGauss_t &  | 
          gauss  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write Gauss to input stream. 
- Parameters
 - 
  
    | in | input stream  | 
    | gauss | gauss  | 
  
   
- Returns
 - input stream 
 
Definition at line 138 of file JGauss.hh.
 
 
◆ operator<<
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JGauss_t &  | 
          gauss  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write Gauss to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | gauss | gauss  | 
  
   
- Returns
 - output stream 
 
Definition at line 151 of file JGauss.hh.
Auxiliary data structure for floating point format specification.
 
 
 
 
◆ mean
      
        
          | double JMATH::JGauss_t::mean | 
        
      
 
 
◆ sigma
      
        
          | double JMATH::JGauss_t::sigma | 
        
      
 
 
◆ signal
      
        
          | double JMATH::JGauss_t::signal | 
        
      
 
 
◆ background
      
        
          | double JMATH::JGauss_t::background | 
        
      
 
 
The documentation for this struct was generated from the following file: