Jpp - the software that should make you happy
|
Implementation of flux function for multiple particle types. More...
#include <JMultiParticleFlux.hh>
Public Types | |
typedef std::map< int, JFluxHelper > | map_type |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
Public Member Functions | |
JMultiParticleFlux () | |
Default constructor. More... | |
template<class... Args> | |
JMultiParticleFlux (const int type, const JFlux &flux, const Args &...args) | |
Constructor. More... | |
void | insert (const int type, const JFlux &flux) |
Insert pair of particle code and flux function. More... | |
template<class... Args> | |
void | insert (const int type, const JFlux &flux, const Args &...args) |
Insert pairs of particle codes and flux functions. More... | |
double | getFlux (const Evt &evt) const override |
Get flux of given event. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Implementation of flux function for multiple particle types.
Definition at line 29 of file JMultiParticleFlux.hh.
typedef std::map<int, JFluxHelper> JAANET::JMultiParticleFlux::map_type |
Definition at line 33 of file JMultiParticleFlux.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 38 of file JMultiParticleFlux.hh.
|
inline |
Constructor.
type | particle PDG code |
flux | flux function |
args | remaining pairs of PDG codes and flux functions |
Definition at line 51 of file JMultiParticleFlux.hh.
|
inline |
Insert pair of particle code and flux function.
type | particle PDG code |
flux | flux function |
args | remaining pairs of PDG codes and flux functions |
Definition at line 66 of file JMultiParticleFlux.hh.
|
inline |
Insert pairs of particle codes and flux functions.
type | particle PDG code |
flux | flux function |
args | remaining pairs of PDG codes and flux functions |
Definition at line 81 of file JMultiParticleFlux.hh.
|
inlineoverride |
Get flux of given event.
evt | event |
Definition at line 96 of file JMultiParticleFlux.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.