Jpp
|
Low-level interface for event weighing. More...
#include <JWeightEvent.hh>
Public Types | |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
Public Member Functions | |
virtual | ~JWeightEvent () |
Virtual destructor. More... | |
virtual void | configure (const JHead &header)=0 |
Configuration. More... | |
virtual bool | check (const JHead &head) 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 double | getWeight (const Evt &evt, const double flux) const |
Get weight of given event. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Low-level interface for event weighing.
Definition at line 23 of file JWeightEvent.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inlinevirtual |
|
pure virtual |
Configuration.
header | header |
|
pure virtual |
Check whether header is consistent with this event weighter.
header | header |
|
pure virtual |
Get weight of given event.
evt | event |
|
inlinevirtual |
Get weight of given event.
evt | event |
flux | neutrino flux [m^-2 s^-1 sr^-1 GeV^-1] |
Definition at line 66 of file JWeightEvent.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< JTRIGGER::JHitR1 > >, and JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >.
Definition at line 69 of file JClonable.hh.