Jpp
19.1.0
the software that should make you happy
|
Class for constant event-weight factors. More...
#include <JEvtWeightFactorConstant.hh>
Classes | |
struct | JEvtWeightFactorConstantHelper |
Auxiliary class for I/O of constant event-weight factor. More... | |
Public Types | |
typedef JEvtWeightFactorConstant< JEvtWeightFactor_t > | JEvtWeightFactorConstant_t |
typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
JEvtWeightFactorConstant () | |
Default constructor. More... | |
JEvtWeightFactorConstant (const double constant) | |
Constructor. More... | |
bool | is_valid () const override final |
Check whether this constant event-weight factor is valid. More... | |
double | getFactor (const Evt &evt) const override final |
Get event-weight factor of given event. More... | |
bool | less (const JEvtWeightFactorConstant_t &object) const |
Check if this event-weight constant is less than given event-weight constant. 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 |
Stream input. 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... | |
Private Attributes | |
double | constant |
constant value More... | |
Class for constant event-weight factors.
The template argument refers to the type of event-weighter.
Definition at line 34 of file JEvtWeightFactorConstant.hh.
typedef JEvtWeightFactorConstant<JEvtWeightFactor_t> JAANET::JEvtWeightFactorConstant< JEvtWeightFactor_t >::JEvtWeightFactorConstant_t |
Definition at line 38 of file JEvtWeightFactorConstant.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 44 of file JEvtWeightFactorConstant.hh.
|
inline |
|
inlinefinaloverride |
Check whether this constant event-weight factor is valid.
Definition at line 66 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverride |
Get event-weight factor of given event.
evt | event |
Definition at line 78 of file JEvtWeightFactorConstant.hh.
|
inline |
Check if this event-weight constant is less than given event-weight constant.
object | event-weight constant |
Definition at line 90 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverride |
Get properties of this class.
eqpars | equation parameters |
Definition at line 101 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverride |
Get properties of this class.
eqpars | equation parameters |
Definition at line 112 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverride |
Stream input.
in | input stream |
Definition at line 124 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverride |
Write event-weight factor to output.
out | output stream |
Definition at line 152 of file JEvtWeightFactorConstant.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.
|
private |
constant value
Definition at line 186 of file JEvtWeightFactorConstant.hh.