Jpp
debug
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. More... | |
JEvtWeightFactorProduct (const JOscProbHelper &oscProb) | |
Constructor. More... | |
JEvtWeightFactorProduct (const JOscProbHelper &oscProb, const JEvtWeightFactorHelper &factor) | |
Constructor. More... | |
template<class ... Args> | |
JEvtWeightFactorProduct (const JOscProbHelper &oscProb, const JEvtWeightFactorHelper &factor, const Args &...args) | |
Constructor. More... | |
JEvtWeightFactorProduct (const JEvtWeightFactorHelper &factor) | |
Constructor. More... | |
template<class ... Args> | |
JEvtWeightFactorProduct (const JEvtWeightFactorHelper &factor, const Args &...args) | |
Constructor. More... | |
void | push_back (const JEvtWeightFactorHelper &factor) |
Put event-weight factor. More... | |
template<class ... Args> | |
void | push_back (const JEvtWeightFactorHelper &factor, const Args &...args) |
Put event-weight factor. More... | |
JEvtWeightFactorProduct & | join (const JEvtWeightFactorProduct &product) |
Join this product of event-weight factors with a given product of event-weight factors. More... | |
double | getFactor (const Evt &evt) const override final |
Get multiplication factor of given event. More... | |
bool | is_valid () const override final |
Check whether this event-weight 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 event-weight factor product from stream. 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... | |
Class for product of event-weight factors.
Input syntax as follows:
<factor identifier> [<factor arguments> [& <factor identifier> [<factor arguments]]...];
where
JAANET::JEvtWeighFactorDictionary::factors
); andDefinition at line 51 of file JEvtWeightFactorProduct.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 58 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
oscProb | oscillation probability calculator |
Definition at line 68 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
oscProb | oscillation probability calculator |
factor | event-weight factor |
Definition at line 79 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
oscProb | oscillation probability calculator |
factor | event-weight factor |
args | remaining event-weight factors |
Definition at line 95 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
factor | event-weight factor |
Definition at line 110 of file JEvtWeightFactorProduct.hh.
|
inline |
Constructor.
factor | event-weight factor |
args | remaining event-weight factors |
Definition at line 124 of file JEvtWeightFactorProduct.hh.
|
inline |
Put event-weight factor.
factor | event-weight factor |
Definition at line 137 of file JEvtWeightFactorProduct.hh.
|
inline |
Put event-weight factor.
factor | event-weight factor |
args | remaining event-weight factors |
Definition at line 156 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 170 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get multiplication factor of given event.
evt | event |
Definition at line 184 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Check whether this event-weight factor is valid.
Definition at line 203 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get properties of this class.
eqpars | equation parameters |
Definition at line 218 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Get properties of this class.
eqpars | equation parameters |
Definition at line 229 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Read event-weight factor product from stream.
in | input stream |
object | event-weight factor product |
Definition at line 243 of file JEvtWeightFactorProduct.hh.
|
inlinefinaloverride |
Write event-weight factor to output.
out | output stream |
Definition at line 283 of file JEvtWeightFactorProduct.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::JEvtWeightFactorProduct::oscProb |
Oscillation probability calculator.
Definition at line 289 of file JEvtWeightFactorProduct.hh.