|
Jpp
debug
the software that should make you happy
|
Template specialisation for a map between event categories and flux factors. More...
#include <JEvtCategoryMap.hh>
Classes | |
| struct | JEvtCategoryMapHelper |
| Auxiliary class for I/O of map of event categories and weight factors. More... | |
Public Types | |
| typedef JEvtCategoryMap< JFluxHelper > | JEvtCategoryMap_t |
| typedef std::map< JEvtCategoryHelper, JFluxHelper > | map_type |
| typedef map_type::iterator | iterator |
| typedef map_type::const_iterator | const_iterator |
| typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
| JEvtCategoryMap () | |
| Default constructor. More... | |
| JEvtCategoryMap (const JOscProbHelper &oscProb) | |
| Constructor. More... | |
| JEvtCategoryMap (const JOscProbHelper &oscProb, const JEvtCategoryHelper &category, const JFluxHelper &factor) | |
| Constructor. More... | |
| template<class ... Args> | |
| JEvtCategoryMap (const JOscProbHelper &oscProb, const JEvtCategoryHelper &category, const JFluxHelper &factor, const Args &...args) | |
| Constructor. More... | |
| JEvtCategoryMap (const JEvtCategoryHelper &category, const JFluxHelper &flux) | |
| Constructor. More... | |
| template<class ... Args> | |
| JEvtCategoryMap (const JEvtCategoryHelper &category, const JFluxHelper &flux, const Args &...args) | |
| Constructor. More... | |
| void | insert (const JEvtCategoryHelper &category, const JFluxHelper &flux) |
| Insert pair of an event category and a flux function. More... | |
| template<class ... Args> | |
| void | insert (const JEvtCategoryHelper &category, const JFluxHelper &flux, const Args &...args) |
| Insert pairs of event categories and flux functions. More... | |
| double | getFactor (const Evt &evt) const override final |
| Get weight factor of given event. More... | |
| bool | is_valid () const override final |
| Check whether this flux factor is valid. More... | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final |
| Get properties of this class. More... | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final |
| Get properties of this class. More... | |
| std::istream & | read (std::istream &in) override final |
| Read map between event categories and flux factors. More... | |
| std::ostream & | write (std::ostream &out) const override final |
| Write event-weight factor to output. More... | |
| virtual clone_type | clone () const override |
| Get clone of this object. More... | |
Public Attributes | |
| JOscProbHelper | oscProb |
| oscillation probability calculator More... | |
Template specialisation for a map between event categories and flux factors.
Input syntax as follows:
<PDG type> [<PDG type>]...; <flux identifier> [<flux arguments>];
<key>=<value>[,<key>=<value>]...; <flux identifier> [<flux arguments>];
where
JAANET::JFluxDictionary) andDefinition at line 512 of file JEvtCategoryMap.hh.
Definition at line 518 of file JEvtCategoryMap.hh.
Definition at line 520 of file JEvtCategoryMap.hh.
| typedef map_type::iterator JAANET::JEvtCategoryMap< JFluxHelper >::iterator |
Definition at line 522 of file JEvtCategoryMap.hh.
| typedef map_type::const_iterator JAANET::JEvtCategoryMap< JFluxHelper >::const_iterator |
Definition at line 523 of file JEvtCategoryMap.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 530 of file JEvtCategoryMap.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
Definition at line 541 of file JEvtCategoryMap.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
| category | event category |
| factor | event-weight factor |
Definition at line 554 of file JEvtCategoryMap.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
| category | event category |
| factor | event-weight factor |
| args | remaining pairs of event categories and event-weight factors |
Definition at line 573 of file JEvtCategoryMap.hh.
|
inline |
Constructor.
| category | event category |
| flux | flux function |
Definition at line 590 of file JEvtCategoryMap.hh.
|
inline |
|
inline |
Insert pair of an event category and a flux function.
| category | event category |
| flux | flux function |
Definition at line 623 of file JEvtCategoryMap.hh.
|
inline |
|
inlinefinaloverride |
Get weight factor of given event.
| evt | event |
Definition at line 653 of file JEvtCategoryMap.hh.
|
inlinefinaloverride |
Check whether this flux factor is valid.
Definition at line 672 of file JEvtCategoryMap.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 687 of file JEvtCategoryMap.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 698 of file JEvtCategoryMap.hh.
|
inlinefinaloverride |
Read map between event categories and flux factors.
| in | input stream |
Definition at line 710 of file JEvtCategoryMap.hh.
|
inlinefinaloverride |
Write event-weight factor to output.
| out | output stream |
Definition at line 761 of file JEvtCategoryMap.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.
| JOscProbHelper JAANET::JEvtCategoryMap< JFluxHelper >::oscProb |
oscillation probability calculator
Definition at line 767 of file JEvtCategoryMap.hh.