|
Jpp
18.2.0-rc.1
the software that should make you happy
|
Data structure for fit of energy. More...
#include <JEnergy.hh>
Public Types | |
| typedef double JEnergy::* | parameter_type |
Public Member Functions | |
| JEnergy () | |
| Default constructor. More... | |
| JEnergy (const double X) | |
| Constructor. More... | |
| const JEnergy & | getEnergy () const |
| Get Energy. More... | |
| void | setEnergy (const JEnergy &energy) |
| Set Energy. More... | |
| bool | less (const JEnergy &X) const |
| Less than method. More... | |
| JEnergy & | negate () |
| Prefix unary minus. More... | |
| JEnergy & | add (const JEnergy &value) |
| Addition operator. More... | |
| JEnergy & | sub (const JEnergy &value) |
| Subtraction operator. More... | |
| JEnergy & | mul (const double value) |
| Multiplication operator. More... | |
| JEnergy & | div (const double value) |
| Division operator. More... | |
| double | getX () const |
| Get energy. More... | |
| double | getE () const |
| Get energy. More... | |
| void | putE (const double E) |
| Put energy. More... | |
| double | getDE () const |
| Get derivative of energy. More... | |
| JFirst_t & | mul (const JSecond_t &object) |
| Multiply with object. More... | |
Static Public Member Functions | |
| static JEnergy | min () |
| Get minimum possible value. More... | |
| static JEnergy | max () |
| Get maximum possible value. More... | |
| static parameter_type | pE () |
Protected Attributes | |
| double | __X |
Friends | |
| double | fabs (const JEnergy &energy) |
| Get absolute value. More... | |
| std::istream & | operator>> (std::istream &in, JEnergy &object) |
| Read object from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JEnergy &object) |
| Write object to output. More... | |
Data structure for fit of energy.
The internal value is equal to the logarithm of the energy.
Definition at line 28 of file JEnergy.hh.
| typedef double JEnergy::* JFIT::JEnergy::parameter_type |
Definition at line 261 of file JEnergy.hh.
|
inline |
Default constructor.
Definition at line 36 of file JEnergy.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Less than method.
| X | Energy [log(E/GeV)] |
Definition at line 79 of file JEnergy.hh.
|
inline |
Subtraction operator.
| value | Energy |
Definition at line 118 of file JEnergy.hh.
|
inline |
Multiplication operator.
| value | multiplication factor |
Definition at line 132 of file JEnergy.hh.
|
inline |
Division operator.
| value | multiplication factor |
Definition at line 146 of file JEnergy.hh.
|
inline |
|
inline |
|
inline |
Put energy.
| E | Energy [GeV] |
Definition at line 181 of file JEnergy.hh.
|
inline |
Get derivative of energy.
Definition at line 192 of file JEnergy.hh.
|
inlinestatic |
Get minimum possible value.
Definition at line 214 of file JEnergy.hh.
|
inlinestatic |
Get maximum possible value.
Definition at line 225 of file JEnergy.hh.
|
inlinestatic |
Definition at line 263 of file JEnergy.hh.
|
inlineinherited |
|
friend |
|
friend |
Read object from input.
| in | input stream |
| object | object |
Definition at line 238 of file JEnergy.hh.
|
friend |
Write object to output.
| out | output stream |
| object | object |
Definition at line 253 of file JEnergy.hh.
|
protected |
Definition at line 266 of file JEnergy.hh.
1.8.5