Jpp
15.0.2
the software that should make you happy
|
Implementation of event-weight factor interface. More...
#include <JEvtWeightFactorFunction.hh>
Public Types | |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
Public Member Functions | |
JEvtWeightFactorFunction (const JFunction_t &function) | |
Constructor. More... | |
double | getFactor (const Evt &evt) const override |
Get weight-factor for given event. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Private Attributes | |
JFunction_t | function |
Implementation of event-weight factor interface.
Note that the template argument refers to a function of which the copy constuctor needs to be defined.
Definition at line 24 of file JEvtWeightFactorFunction.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Constructor.
function | function for event-weight factor |
Definition at line 32 of file JEvtWeightFactorFunction.hh.
|
inlineoverride |
Get weight-factor for given event.
evt | event |
Definition at line 43 of file JEvtWeightFactorFunction.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in 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 >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer_t< JArgument_t >, JLANG::JClonable< JMatch< hit_type > >, JLANG::JClonable< JMatch< hit_type >, JMatch3D >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 > >, and JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >.
Definition at line 69 of file JClonable.hh.
|
private |
Definition at line 50 of file JEvtWeightFactorFunction.hh.