|
Jpp test-rotations-new
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.
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>
<factor identifier> [<factor arguments> [& <factor identifier> [<factor arguments]]...];
where
JAANET::JEvtWeighFactorDictionary::factors); andDefinition at line 61 of file JEvtWeightFactorProduct.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 68 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
Definition at line 78 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
| factor | event-weight factor |
Definition at line 89 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| oscProb | oscillation probability calculator |
| factor | event-weight factor |
| args | remaining event-weight factors |
Definition at line 105 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| factor | event-weight factor |
Definition at line 120 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
| factor | event-weight factor |
| args | remaining event-weight factors |
Definition at line 134 of file JEvtWeightFactorProduct.hh.
|
inline |
Put event-weight factor.
| factor | event-weight factor |
Definition at line 147 of file JEvtWeightFactorProduct.hh.
|
inline |
Put event-weight factor.
| factor | event-weight factor |
| args | remaining event-weight factors |
Definition at line 166 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 180 of file JEvtWeightFactorProduct.hh.
|
inline |
Get oscillation probability calculator.
Definition at line 193 of file JEvtWeightFactorProduct.hh.
|
inline |
Set oscillation probability calculator for all compatible event weight factors.
| oscProb | oscillation probability calculator |
Definition at line 205 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get multiplication factor of given event.
| evt | event |
Definition at line 254 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Check whether this event-weight factor is valid.
Definition at line 273 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 288 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 299 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Read event-weight factor product from stream.
| in | input stream |
Definition at line 311 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Write event-weight factor to output.
| out | output stream |
Definition at line 380 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 425 of file JEvtWeightFactorProduct.hh.