|
Jpp test-rotations-new
the software that should make you happy
|
Auxiliary class for histogramming of effective volume. More...
#include <JVolume.hh>
Public Member Functions | |
| JVolume (const Head &head, const bool Elog10=false) | |
| Constructor. | |
| double | getAlpha () const |
| Get spectral index of energy distribution. | |
| double | getWall () const |
| Get generation dependent weight. | |
| Double_t | getXmin () const |
| Get minimal abscissa value. | |
| Double_t | getXmax () const |
| Get maximal abscissa value. | |
| Double_t | getX (const Double_t E, double constrain=false) const |
| Get abscissa value. | |
| Double_t | getE (const Double_t x, double constrain=false) const |
| Get energy. | |
| Double_t | getW (TAxis *axis, const Double_t E) const |
| Get bin width corrected energy spectrum dependent weight. | |
| double | getW (const double E) const |
| Get generation dependent integral value of given energy. | |
| JVolume & | mul (const double factor) |
| Multiply weight. | |
| JVolume & | div (const double factor) |
| Divide weight. | |
Protected Attributes | |
| bool | elog |
| histogram option | |
| JTOOLS::JRange< double > | E |
| Energy range [GeV]. | |
| double | alpha |
| spectral index | |
| double | Wall |
| generation volume | |
Auxiliary class for histogramming of effective volume.
In this, it is assumed that events are generated according 

Definition at line 29 of file JVolume.hh.
|
inline |
Constructor.
| head | Monte Carlo run header |
| Elog10 | application of log10 to energy |
Definition at line 36 of file JVolume.hh.
|
inline |
Get spectral index of energy distribution.
Definition at line 69 of file JVolume.hh.
|
inline |
|
inline |
Get minimal abscissa value.
Definition at line 91 of file JVolume.hh.
|
inline |
|
inline |
Get abscissa value.
| E | energy |
| constrain | constrain |
Definition at line 115 of file JVolume.hh.
|
inline |
Get energy.
| x | abscissa value |
| constrain | constrain |
Definition at line 138 of file JVolume.hh.
|
inline |
Get bin width corrected energy spectrum dependent weight.
| axis | axis |
| E | energy |
Definition at line 156 of file JVolume.hh.
|
inline |
|
inline |
Multiply weight.
| factor | factor |
Definition at line 191 of file JVolume.hh.
|
inline |
Divide weight.
| factor | factor |
Definition at line 205 of file JVolume.hh.
|
protected |
histogram option
Definition at line 214 of file JVolume.hh.
|
protected |
Energy range [GeV].
Definition at line 215 of file JVolume.hh.
|
protected |
spectral index
Definition at line 216 of file JVolume.hh.
|
protected |
generation volume
Definition at line 217 of file JVolume.hh.