Jpp
16.0.3
the software that should make you happy
|
Implementation of reweighting factor for mupage events according to a specifiable ROOT TFormula. More...
#include <JEvtWeightFactorMupage.hh>
Public Types | |
enum | variables { MUON_MULTIPLICITY, MEAN_ZENITH_ANGLE, TOTAL_MUON_ENERGY, LATERAL_SPREAD, NUMBER_OF_VARIABLES } |
Indices of reweighting variables for MUPAGE. More... | |
Public Member Functions | |
JEvtWeightFactorMupage () | |
Default constructor. More... | |
JEvtWeightFactorMupage (const char *name, const char *formula) | |
Constructor. More... | |
double | operator() (const Evt &evt) const |
Get weighting factor for given event. More... | |
Implementation of reweighting factor for mupage events according to a specifiable ROOT TFormula.
Note: The ROOT TFormula may assume any number of parameters, but should be restricted to
the physical variables listed among JEvtWeightFactorMupage::variables
.
These variables may be specified within the ROOT TFormula as 'x[<index>]',
where <index> corresponds to the index of the desired physical variable within JEvtWeightFactorMupage::variables
.
Definition at line 32 of file JEvtWeightFactorMupage.hh.
Indices of reweighting variables for MUPAGE.
Definition at line 38 of file JEvtWeightFactorMupage.hh.
|
inline |
Default constructor.
Definition at line 52 of file JEvtWeightFactorMupage.hh.
|
inline |
Constructor.
name | name |
formula | formula |
Definition at line 63 of file JEvtWeightFactorMupage.hh.
|
inline |
Get weighting factor for given event.
evt | event |
Definition at line 75 of file JEvtWeightFactorMupage.hh.