| 
    Jpp 19.3.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.
Input syntax as follows:
      <oscprob_key>=<oscprob_value>[,<oscprob_key>=<oscprob_value>]...
      oscprob.<oscprob_key>=<oscprob_value>[,oscprob.<oscprob_key>=<oscprob_value>]...
      oscprob=<oscprob_file>
      <oscprob_file>
      <PDG type> [<PDG type>]...;           <flux identifier> [<flux arguments>];
      <key>=<value>[,<key>=<value>]...; <flux identifier> [<flux arguments>];
where
JAANET::JEvtCategory;JAANET::JFluxDictionary) andDefinition at line 607 of file JEvtCategoryMap.hh.
| JEvtCategoryMap<JFluxHelper> JAANET::JEvtCategoryMap< JFluxHelper >::JEvtCategoryMap_t | 
Definition at line 613 of file JEvtCategoryMap.hh.
| std::map<JEvtCategoryHelper, JFluxHelper> JAANET::JEvtCategoryMap< JFluxHelper >::map_type | 
Definition at line 615 of file JEvtCategoryMap.hh.
| map_type::iterator JAANET::JEvtCategoryMap< JFluxHelper >::iterator | 
Definition at line 617 of file JEvtCategoryMap.hh.
| map_type::const_iterator JAANET::JEvtCategoryMap< JFluxHelper >::const_iterator | 
Definition at line 618 of file JEvtCategoryMap.hh.
      
  | 
  inherited | 
Definition at line 61 of file JClonable.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 625 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| oscProb | oscillation probability calculator | 
Definition at line 636 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| oscProb | oscillation probability calculator | 
| category | event category | 
| factor | event-weight factor | 
Definition at line 649 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 668 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| category | event category | 
| flux | flux function | 
Definition at line 685 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Constructor.
| category | event category | 
| flux | flux function | 
| args | remaining pairs of event categories and flux functions | 
Definition at line 703 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Insert pair of an event category and a flux function.
| category | event category | 
| flux | flux function | 
Definition at line 718 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 733 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Get oscillation probability calculator.
Definition at line 747 of file JEvtCategoryMap.hh.
      
  | 
  inline | 
Set oscillation probability calculator for all compatible flux factors.
| oscProb | oscillation probability calculator | 
Definition at line 759 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Get weight factor of given event.
| evt | event | 
Definition at line 794 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Check whether this flux factor is valid.
Definition at line 813 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 828 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 839 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Read map between event categories and flux factors.
| in | input stream | 
Definition at line 851 of file JEvtCategoryMap.hh.
      
  | 
  inlinefinaloverride | 
Write event-weight factor to output.
| out | output stream | 
Definition at line 929 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 970 of file JEvtCategoryMap.hh.