Jpp
master_rocky-37-gf0c5bc59d
the software that should make you happy
|
Implementation of reweighting factor for simulated neutrino interactions according to a specifiable ROOT TFormula. More...
#include <JEvtWeightFactorGSeaGen.hh>
Public Types | |
enum | variables { COSTH , INITIAL_STATE_ENERGY , NEUTRINO_ENERGY , FINAL_STATE_ENERGY , LEADING_LEPTON_ENERGY , BJORKEN_X , INELASTICITY , INTERACTION_TYPE , CURRENT_TYPE , XSEC , XSEC_MEAN , XSEC_DIFFERENTIAL , XSEC_WATER , INT_LENGTH_WATER , COLUMN_DEPTH , P_EARTH , P_SCALE , TARGET_A , TARGET_Z , NUMBER_OF_VARIABLES } |
Indices of reweighting variables for GSeaGen. More... | |
typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
JEvtWeightFactorGSeaGen () | |
Default 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 simulated neutrino interactions 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 JEvtWeightFactorGSeaGen::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 JEvtWeightFactorGSeaGen::variables
.
Definition at line 35 of file JEvtWeightFactorGSeaGen.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
Indices of reweighting variables for GSeaGen.
Definition at line 43 of file JEvtWeightFactorGSeaGen.hh.
|
inline |
|
inlinefinaloverride |
Check whether this formula is valid.
Definition at line 81 of file JEvtWeightFactorGSeaGen.hh.
|
inlinefinaloverride |
Get weighting factor for given event.
evt | event |
Definition at line 95 of file JEvtWeightFactorGSeaGen.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.