| 
    Jpp 20.0.0-rc.3
    
   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.   | |
| JEvtCategoryMap (const JOscProbHelper &oscProb) | |
| Constructor.   | |
| JEvtCategoryMap (const JOscProbHelper &oscProb, const JEvtCategoryHelper &category, const JFluxHelper &factor) | |
| Constructor.   | |
| template<class ... Args> | |
| JEvtCategoryMap (const JOscProbHelper &oscProb, const JEvtCategoryHelper &category, const JFluxHelper &factor, const Args &...args) | |
| Constructor.   | |
| JEvtCategoryMap (const JEvtCategoryHelper &category, const JFluxHelper &flux) | |
| Constructor.   | |
| template<class ... Args> | |
| JEvtCategoryMap (const JEvtCategoryHelper &category, const JFluxHelper &flux, const Args &...args) | |
| Constructor.   | |
| void | insert (const JEvtCategoryHelper &category, const JFluxHelper &flux) | 
| Insert pair of an event category and a flux function.   | |
| template<class ... Args> | |
| void | insert (const JEvtCategoryHelper &category, const JFluxHelper &flux, const Args &...args) | 
| Insert pairs of event categories and flux functions.   | |
| const JOscProbHelper & | getOscProb () const | 
| Get oscillation probability calculator.   | |
| size_t | setOscProb (const JOscProbHelper &oscProb) | 
| Set oscillation probability calculator for all compatible flux factors.   | |
| double | getFactor (const Evt &evt) const override final | 
| Get weight factor of given event.   | |
| bool | is_valid () const override final | 
| Check whether this flux factor is valid.   | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final | 
| Get properties of this class.   | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final | 
| Get properties of this class.   | |
| std::istream & | read (std::istream &in) override final | 
| Read map between event categories and flux factors.   | |
| std::ostream & | write (std::ostream &out) const override final | 
| Write event-weight factor to output.   | |
| virtual clone_type | clone () const override | 
| Get clone of this object.   | |
Private Attributes | |
| JOscProbHelper | oscProb | 
| oscillation probability calculator   | |
Template specialisation for a map between event categories and flux factors.
The input syntax follows the following scheme:
[oscillation probabilities configuration] (<categories> <flux>)+,
in which:
oscillation probabilities configuration refers to an optional specification of the oscillation parameters, which can be given according to one of the following formats:<oscprob_file>;,oscprob=<oscprob_file>;,<oscprob_key>=<oscprob_value>[<end of line> <oscprob_key>=<oscprob_value>]+; oroscprob.<oscprob_key>=<oscprob_value>[<end of line> oscprob.<oscprob_key>=<oscprob_value>]+;, where:oscprob_key refers to an oscillation probability calculator configuration key;oscprob_value to an oscillation probability calculator configuration value andoscprob_file to an oscillation probability calculator configuration file with key-value pairs,categories refers to a set of event categories, which can be specified according to one of the following formats:<PDG type> [ & <PDG type>]+;<key>=<value>[<end of line> <key>=<value>]+ [ & <key>=<value>[<end of line> <key>=<value>]+ ]+; where:PDG type refers to a PDG identifier;key to one of the data members of a data structure derived from JAANET::JEvtCategory andvalue to the corresponding value;flux refers to a flux, which needs to be specified according to the following format:<flux identifier> [<flux arguments>];, where:flux identifier refers to an event-weight flux identifier (c.f. JAANET::JFluxDictionary::factors); andflux arguments to the list of arguments for the corresponding flux,Definition at line 614 of file JEvtCategoryMap.hh.
| JEvtCategoryMap<JFluxHelper> JAANET::JEvtCategoryMap< JFluxHelper >::JEvtCategoryMap_t | 
Definition at line 620 of file JEvtCategoryMap.hh.
| std::map<JEvtCategoryHelper, JFluxHelper> JAANET::JEvtCategoryMap< JFluxHelper >::map_type | 
Definition at line 622 of file JEvtCategoryMap.hh.
| map_type::iterator JAANET::JEvtCategoryMap< JFluxHelper >::iterator | 
Definition at line 624 of file JEvtCategoryMap.hh.
| map_type::const_iterator JAANET::JEvtCategoryMap< JFluxHelper >::const_iterator | 
Definition at line 625 of file JEvtCategoryMap.hh.
      
  | 
  inherited | 
Definition at line 61 of file JClonable.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 632 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| oscProb | oscillation probability calculator | 
Definition at line 643 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| oscProb | oscillation probability calculator | 
| category | event category | 
| factor | event-weight factor | 
Definition at line 656 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 675 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| category | event category | 
| flux | flux function | 
Definition at line 692 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| category | event category | 
| flux | flux function | 
| args | remaining pairs of event categories and flux functions | 
Definition at line 710 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Insert pair of an event category and a flux function.
| category | event category | 
| flux | flux function | 
Definition at line 725 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Insert pairs of event categories and flux functions.
| category | event category | 
| flux | flux function | 
| args | remaining pairs of event categories and flux functions | 
Definition at line 740 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Get oscillation probability calculator.
Definition at line 754 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Set oscillation probability calculator for all compatible flux factors.
| oscProb | oscillation probability calculator | 
Definition at line 766 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Get weight factor of given event.
| evt | event | 
Definition at line 801 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Check whether this flux factor is valid.
Definition at line 820 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 835 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 846 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Read map between event categories and flux factors.
| in | input stream | 
Definition at line 858 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Write event-weight factor to output.
| out | output stream | 
Definition at line 932 of file JEvtCategoryMap.hh.
      
  | 
  inlineoverridevirtualinherited | 
Get clone of this object.
Reimplemented in JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, and JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
Definition at line 69 of file JClonable.hh.
      
  | 
  private | 
oscillation probability calculator
Definition at line 973 of file JEvtCategoryMap.hh.