Jpp
15.0.1-rc.1-highqe
the software that should make you happy
|
Implementation of event-weight factor for multiple particle types. More...
#include <JEvtWeightFactorMultiParticle.hh>
Public Types | |
typedef std::map< int, JEvtWeightFactorHelper > | map_type |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
Public Member Functions | |
JEvtWeightFactorMultiParticle () | |
Default constructor. More... | |
template<class... Args> | |
JEvtWeightFactorMultiParticle (const int type, const JEvtWeightFactor &factor, const Args &...args) | |
Constructor. More... | |
void | insert (const int type, const JEvtWeightFactor &factor) |
Insert pair of particle code and event-weight factor. More... | |
template<class... Args> | |
void | insert (const int type, const JEvtWeightFactor &factor, const Args &...args) |
Insert pairs of particle codes and event-weight factors. More... | |
double | getFactor (const Evt &evt) const override |
Get event-weight factor of given event. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Implementation of event-weight factor for multiple particle types.
Definition at line 29 of file JEvtWeightFactorMultiParticle.hh.
Definition at line 33 of file JEvtWeightFactorMultiParticle.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 38 of file JEvtWeightFactorMultiParticle.hh.
|
inline |
Constructor.
type | particle PDG code |
factor | event-weight factor |
args | remaining pairs of PDG codes and event-weight factors |
Definition at line 51 of file JEvtWeightFactorMultiParticle.hh.
|
inline |
Insert pair of particle code and event-weight factor.
type | particle PDG code |
factor | event-weight factor |
Definition at line 65 of file JEvtWeightFactorMultiParticle.hh.
|
inline |
Insert pairs of particle codes and event-weight factors.
type | particle PDG code |
factor | event-weight factor |
args | remaining pairs of PDG codes and event-weight factors |
Definition at line 80 of file JEvtWeightFactorMultiParticle.hh.
|
inlineoverride |
Get event-weight factor of given event.
evt | event |
Definition at line 95 of file JEvtWeightFactorMultiParticle.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in 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 >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer_t< JArgument_t >, JLANG::JClonable< JMatch< hit_type > >, JLANG::JClonable< JMatch< hit_type >, JMatch3D >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 > >, and JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >.
Definition at line 69 of file JClonable.hh.