Jpp
19.1.0-rc.1
the software that should make you happy
|
Abstract base class for event weighing. More...
#include <JEvtWeight.hh>
Public Types | |
typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
JEvtWeight () | |
Default constructor. More... | |
virtual | ~JEvtWeight () |
Virtual destructor. More... | |
virtual double | getNormalisation () const override |
Get event-weight normalisation. More... | |
virtual double | getNormalisation (const Evt &evt) const |
Get event-weight normalisation. More... | |
virtual void | setNormalisation (const double normalisation) override |
Set event-weight normalisation factor. More... | |
virtual const char *const | getName () const =0 |
Get name. More... | |
virtual void | configure (const JHead &header)=0 |
Configuration. More... | |
virtual bool | check (const JHead &header) const =0 |
Check whether header is consistent with this event weighter. More... | |
virtual double | getWeight (const Evt &evt) const =0 |
Get weight of given event. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Protected Attributes | |
double | normalisation |
Event-weight normalisation. More... | |
Abstract base class for event weighing.
Definition at line 28 of file JEvtWeight.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 35 of file JEvtWeight.hh.
|
inlinevirtual |
|
inlineoverridevirtual |
Get event-weight normalisation.
Note: the return-value should be multiplied in order to normalise the event-weight
Implements JAANET::JEvtWeightInterface.
Definition at line 52 of file JEvtWeight.hh.
|
inlinevirtual |
Get event-weight normalisation.
Note: the return-value should be multiplied in order to normalise the event-weight
evt | event |
Definition at line 65 of file JEvtWeight.hh.
|
inlineoverridevirtual |
Set event-weight normalisation factor.
Note: the set-value should be multiplied in order to normalise the event-weight
normalisation | event-weight normalisation factor. |
Implements JAANET::JEvtWeightInterface.
Definition at line 79 of file JEvtWeight.hh.
|
pure virtualinherited |
Get name.
|
pure virtualinherited |
Configuration.
header | header |
|
pure virtualinherited |
Check whether header is consistent with this event weighter.
header | header |
|
pure virtualinherited |
Get weight of given event.
evt | event |
|
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.
|
protected |
Event-weight normalisation.
Definition at line 87 of file JEvtWeight.hh.