Template specialisation of class JModel to match hit with muon energy.
More...
#include <JModel.hh>
template<>
struct JFIT::JModel< JEnergy >
Template specialisation of class JModel to match hit with muon energy.
Definition at line 91 of file JModel.hh.
◆ parameter_type
◆ JModel()
Constructor.
- Parameters
-
Definition at line 99 of file JModel.hh.
◆ 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 JModel.hh.
◆ 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 53 of file JEnergy.hh.
◆ negate()
Prefix unary minus.
- Returns
- Energy
Definition at line 64 of file JEnergy.hh.
◆ add()
Addition operator.
- Parameters
-
- Returns
- Energy
Definition at line 78 of file JEnergy.hh.
◆ sub()
Subtraction operator.
- Parameters
-
- Returns
- Energy
Definition at line 92 of file JEnergy.hh.
◆ mul() [1/2]
JEnergy& JFIT::JEnergy::mul |
( |
const double |
value | ) |
|
|
inlineinherited |
Multiplication operator.
- Parameters
-
value | multiplication factor |
- Returns
- Energy
Definition at line 106 of file JEnergy.hh.
◆ mul() [2/2]
Multiply with object.
- Parameters
-
- Returns
- result object
Definition at line 273 of file JMath.hh.
◆ div()
JEnergy& JFIT::JEnergy::div |
( |
const double |
value | ) |
|
|
inlineinherited |
Division operator.
- Parameters
-
value | multiplication factor |
- Returns
- Energy
Definition at line 120 of file JEnergy.hh.
◆ getX()
double JFIT::JEnergy::getX |
( |
| ) |
const |
|
inlineinherited |
Get energy.
- Returns
- Energy [log(E/GeV)]
Definition at line 133 of file JEnergy.hh.
◆ getE()
double JFIT::JEnergy::getE |
( |
| ) |
const |
|
inlineinherited |
Get energy.
- Returns
- Energy [GeV]
Definition at line 144 of file JEnergy.hh.
146 return pow(10.0,
__X);
◆ putE()
void JFIT::JEnergy::putE |
( |
const double |
E | ) |
|
|
inlineinherited |
Put energy.
- Parameters
-
Definition at line 155 of file JEnergy.hh.
◆ getDE()
double JFIT::JEnergy::getDE |
( |
| ) |
const |
|
inlineinherited |
Get derivative of energy.
- Returns
- dE/dx [GeV]
Definition at line 166 of file JEnergy.hh.
168 return getE() * log(10.0);
◆ min()
static JEnergy JFIT::JEnergy::min |
( |
| ) |
|
|
inlinestaticinherited |
Get minimum possible value.
- Returns
- minimum possible value
Definition at line 188 of file JEnergy.hh.
190 return JEnergy(-std::numeric_limits<double>::max());
◆ max()
static JEnergy JFIT::JEnergy::max |
( |
| ) |
|
|
inlinestaticinherited |
Get maximum possible value.
- Returns
- maximum possible value
Definition at line 199 of file JEnergy.hh.
201 return JEnergy(+std::numeric_limits<double>::max());
◆ pE()
◆ __X
double JFIT::JEnergy::__X |
|
protectedinherited |
The documentation for this struct was generated from the following file: