Jpp
master_rocky-43-ge265d140c
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... | |
typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
JEvtWeightFactorMupage () | |
Default constructor. More... | |
JEvtWeightFactorMupage (const char *const name, const char *const formula) | |
Constructor. More... | |
bool | is_valid () const override final |
Check whether this formula is valid. More... | |
double | getFactor (const Evt &evt) const override final |
Get weighting factor for given event. More... | |
virtual clone_type | clone () const override |
Get clone of this object. 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 40 of file JEvtWeightFactorMupage.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
Indices of reweighting variables for MUPAGE.
Definition at line 46 of file JEvtWeightFactorMupage.hh.
|
inline |
|
inline |
Constructor.
name | name |
formula | formula |
Definition at line 70 of file JEvtWeightFactorMupage.hh.
|
inlinefinaloverride |
Check whether this formula is valid.
Definition at line 84 of file JEvtWeightFactorMupage.hh.
|
inlinefinaloverride |
Get weighting factor for given event.
evt | event |
Definition at line 98 of file JEvtWeightFactorMupage.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
Definition at line 69 of file JClonable.hh.