|
Jpp
18.0.0
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. More... | |
| double | getAlpha () const |
| Get spectral index of energy distribution. More... | |
| double | getWall () const |
| Get generation dependent weight. More... | |
| Double_t | getXmin () const |
| Get minimal abscissa value. More... | |
| Double_t | getXmax () const |
| Get maximal abscissa value. More... | |
| Double_t | getX (const Double_t E, double constrain=false) const |
| Get abscissa value. More... | |
| Double_t | getE (const Double_t x, double constrain=false) const |
| Get energy. More... | |
| Double_t | getW (TAxis *axis, const Double_t E) const |
| Get bin width corrected energy spectrum dependent weight. More... | |
| double | getW (const double E) const |
| Get generation dependent integral value of given energy. More... | |
| JVolume & | mul (const double factor) |
| Multiply weight. More... | |
| JVolume & | div (const double factor) |
| Divide weight. More... | |
Protected Attributes | |
| bool | elog |
| histogram option More... | |
| JTOOLS::JRange< double > | E |
| Energy range [GeV]. More... | |
| double | alpha |
| spectral index More... | |
| double | Wall |
| generation volume More... | |
Auxiliary class for histogramming of effective volume.
In this, it is assumed that events are generated according
. The weight is expressed in
.
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 |
Get maximal abscissa value.
Definition at line 102 of file JVolume.hh.
|
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 |
Get generation dependent integral value of given energy.
| E | energy |
Definition at line 176 of file JVolume.hh.
|
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.
1.8.5