|
Jpp test-rotations-old-57-g407471f53
the software that should make you happy
|
Class for product of event-weight factors. More...
#include <JEvtWeightFactorProduct.hh>
Classes | |
| struct | JEvtWeightFactorProductHelper |
| Auxiliary class for I/O of product of event-weight factors. More... | |
Public Types | |
| typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
| JEvtWeightFactorProduct () | |
| Default constructor. | |
| JEvtWeightFactorProduct (const JOscProbHelper &oscProb) | |
| Constructor. | |
| JEvtWeightFactorProduct (const JOscProbHelper &oscProb, const JEvtWeightFactorHelper &factor) | |
| Constructor. | |
| template<class ... Args> | |
| JEvtWeightFactorProduct (const JOscProbHelper &oscProb, const JEvtWeightFactorHelper &factor, const Args &...args) | |
| Constructor. | |
| JEvtWeightFactorProduct (const JEvtWeightFactorHelper &factor) | |
| Constructor. | |
| template<class ... Args> | |
| JEvtWeightFactorProduct (const JEvtWeightFactorHelper &factor, const Args &...args) | |
| Constructor. | |
| void | push_back (const JEvtWeightFactorHelper &factor) |
| Put event-weight factor. | |
| template<class ... Args> | |
| void | push_back (const JEvtWeightFactorHelper &factor, const Args &...args) |
| Put event-weight factor. | |
| JEvtWeightFactorProduct & | join (const JEvtWeightFactorProduct &product) |
| Join this product of event-weight factors with a given product of event-weight factors. | |
| const JOscProbHelper & | getOscProb () const |
| Get oscillation probability calculator. | |
| size_t | setOscProb (const JOscProbHelper &oscProb) |
| Set oscillation probability calculator for all compatible event weight factors. | |
| double | getFactor (const Evt &evt) const override final |
| Get multiplication factor of given event. | |
| bool | is_valid () const override final |
| Check whether this event-weight 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 event-weight factor product from stream. | |
| 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. | |
Class for product of event-weight factors.
The input syntax follows the following scheme:
[oscillation probabilities configuration] <factor>+,
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,factor refers to a weighting factor, which needs to be specified according to the following format:<factor identifier> [<factor arguments> [ & <factor identifier> [<factor arguments] ]+ ];, where:factor identifier refers to an event-weight factor identifier (c.f. JAANET::JEvtWeighFactorDictionary::factors); andfactor arguments to the list of arguments for the corresponding event-weight factor,Definition at line 64 of file JEvtWeightFactorProduct.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 71 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
Definition at line 81 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
| factor | event-weight factor |
Definition at line 92 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
| factor | event-weight factor |
| args | remaining event-weight factors |
Definition at line 108 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| factor | event-weight factor |
Definition at line 123 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| factor | event-weight factor |
| args | remaining event-weight factors |
Definition at line 137 of file JEvtWeightFactorProduct.hh.
|
inline |
Put event-weight factor.
| factor | event-weight factor |
Definition at line 150 of file JEvtWeightFactorProduct.hh.
|
inline |
Put event-weight factor.
| factor | event-weight factor |
| args | remaining event-weight factors |
Definition at line 169 of file JEvtWeightFactorProduct.hh.
|
inline |
Join this product of event-weight factors with a given product of event-weight factors.
| product | product of event-weight factors |
Definition at line 183 of file JEvtWeightFactorProduct.hh.
|
inline |
Get oscillation probability calculator.
Definition at line 196 of file JEvtWeightFactorProduct.hh.
|
inline |
Set oscillation probability calculator for all compatible event weight factors.
| oscProb | oscillation probability calculator |
Definition at line 208 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get multiplication factor of given event.
| evt | event |
Definition at line 257 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Check whether this event-weight factor is valid.
Definition at line 276 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 291 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 302 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Read event-weight factor product from stream.
| in | input stream |
Definition at line 314 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Write event-weight factor to output.
| out | output stream |
Definition at line 368 of file JEvtWeightFactorProduct.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 413 of file JEvtWeightFactorProduct.hh.