Template specialisation of class JModel to match hit with muon energy.  
 More...
#include <JModel.hh>
Template specialisation of class JModel to match hit with muon energy. 
Definition at line 91 of file JFit/JModel.hh.
 
◆ parameter_type
◆ JModel()
Constructor. 
- Parameters
 - 
  
  
 
Definition at line 99 of file JFit/JModel.hh.
   99                             :
  101    {}
JEnergy()
Default constructor.
 
 
 
 
◆ operator()()
Test compatibility of given light yields with muon energy. 
- Parameters
 - 
  
  
 
- Returns
 - true if total light yield due to muon is larger than that due to random background; else false 
 
Definition at line 110 of file JFit/JModel.hh.
  111    {
  112      return npe.getYA() + this->
getE() * npe.getYB()  >  npe.getY0();
 
  113    }
double getE() const
Get energy.
 
 
 
 
◆ getEnergy()
  
  
      
        
          | const JEnergy & JFIT::JEnergy::getEnergy  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get Energy. 
- Returns
 - Energy 
 
Definition at line 56 of file JEnergy.hh.
   57    {
   58      return static_cast<const JEnergy&
>(*this);
 
   59    }
 
 
 
◆ setEnergy()
  
  
      
        
          | void JFIT::JEnergy::setEnergy  | 
          ( | 
          const JEnergy & |           energy | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Set Energy. 
- Parameters
 - 
  
  
 
Definition at line 67 of file JEnergy.hh.
   68    {
   69      static_cast<JEnergy&
>(*this) = energy;
 
   70    }
 
 
 
◆ less()
  
  
      
        
          | bool JFIT::JEnergy::less  | 
          ( | 
          const JEnergy & |           X | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Less than method. 
- Parameters
 - 
  
  
 
- Returns
 - true if this energy less than given energy; else false 
 
Definition at line 79 of file JEnergy.hh.
 
 
◆ negate()
  
  
      
        
          | JEnergy & JFIT::JEnergy::negate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Prefix unary minus. 
- Returns
 - Energy 
 
Definition at line 90 of file JEnergy.hh.
   91    {
   93 
   94      return *this;
   95    }
 
 
 
◆ add()
Addition operator. 
- Parameters
 - 
  
  
 
- Returns
 - Energy 
 
Definition at line 104 of file JEnergy.hh.
  105    {
  107 
  108      return *this;
  109    }
 
 
 
◆ sub()
Subtraction operator. 
- Parameters
 - 
  
  
 
- Returns
 - Energy 
 
Definition at line 118 of file JEnergy.hh.
  119    {
  121 
  122      return *this;
  123    }
 
 
 
◆ mul() [1/2]
  
  
      
        
          | JEnergy & JFIT::JEnergy::mul  | 
          ( | 
          const double |           value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Multiplication operator. 
- Parameters
 - 
  
    | value | multiplication factor  | 
  
   
- Returns
 - Energy 
 
Definition at line 132 of file JEnergy.hh.
  133    {
  135 
  136      return *this;
  137    }
 
 
 
◆ mul() [2/2]
template<class JFirst_t , class JSecond_t > 
  
  
      
        
          | JFirst_t & JMATH::JMath< JFirst_t, JSecond_t >::mul  | 
          ( | 
          const JSecond_t & |           object | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Multiply with object. 
- Parameters
 - 
  
  
 
- Returns
 - result object 
 
Definition at line 354 of file JMath.hh.
  355    {
  356      return static_cast<JFirst_t&>(*this) = JFirst_t().mul(static_cast<const JFirst_t&>(*this), object);
  357    }
 
 
 
◆ div()
  
  
      
        
          | JEnergy & JFIT::JEnergy::div  | 
          ( | 
          const double |           value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Division operator. 
- Parameters
 - 
  
    | value | multiplication factor  | 
  
   
- Returns
 - Energy 
 
Definition at line 146 of file JEnergy.hh.
  147    {
  149 
  150      return *this;
  151    }
 
 
 
◆ getlog10E()
  
  
      
        
          | double JFIT::JEnergy::getlog10E  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get energy. 
- Returns
 - Energy [log(E/GeV)] 
 
Definition at line 159 of file JEnergy.hh.
 
 
◆ getE()
  
  
      
        
          | double JFIT::JEnergy::getE  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get energy. 
- Returns
 - Energy [GeV] 
 
Definition at line 170 of file JEnergy.hh.
  171    {
  173    }
T pow(const T &x, const double y)
Power .
 
 
 
 
◆ putE()
  
  
      
        
          | void JFIT::JEnergy::putE  | 
          ( | 
          const double |           E | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Put energy. 
- Parameters
 - 
  
  
 
Definition at line 181 of file JEnergy.hh.
 
 
◆ getDE()
  
  
      
        
          | double JFIT::JEnergy::getDE  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get derivative of energy. 
- Returns
 - dE/dx [GeV] 
 
Definition at line 192 of file JEnergy.hh.
  193    {
  194      return getE() * log(10.0);
 
  195    }
 
 
 
◆ min()
  
  
      
        
          | static JEnergy JFIT::JEnergy::min  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestaticinherited   | 
  
 
Get minimum possible value. 
- Returns
 - minimum possible value 
 
Definition at line 214 of file JEnergy.hh.
  215    {
  216      return JEnergy(std::numeric_limits<double>::lowest());
 
  217    }
 
 
 
◆ max()
  
  
      
        
          | static JEnergy JFIT::JEnergy::max  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestaticinherited   | 
  
 
Get maximum possible value. 
- Returns
 - maximum possible value 
 
Definition at line 225 of file JEnergy.hh.
  226    {
  227      return JEnergy(std::numeric_limits<double>::max());
 
  228    }
 
 
 
◆ pE()
◆ __X
  
  
      
        
          | double JFIT::JEnergy::__X | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this struct was generated from the following file: