Jpp
18.5.0
the software that should make you happy
|
Implementation of event weighing for MUPAGE data. More...
#include <JEvtWeightMupage.hh>
Public Types | |
typedef JEvtWeightFactorHelper < JEvtWeightFactor > | JEvtWeightFactorHelper_t |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
typedef std::shared_ptr < JEvtWeightFactor > | pointer_type |
Public Member Functions | |
JEvtWeightMupage () | |
Default Constructor. More... | |
JEvtWeightMupage (const JHead &header) | |
Constructor. More... | |
JEvtWeightMupage (const JHead &header, const JEvtWeightFactor &factor) | |
Constructor. More... | |
JEvtWeightMupage (const JEvtWeightMupage &object) | |
Copy constructor. More... | |
void | configure (const JHead &header) override |
Configuration. More... | |
bool | check (const JHead &header) const override |
Check whether header is consistent with this event weighter. More... | |
double | getWeight (const Evt &evt) const override |
Get rate of given event. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
void | configure (const JEvtWeightFactor &factor) |
Configure event-weight factor. More... | |
JEvtWeightFactor & | getEvtWeightFactor () const |
Get reference to event-weight factor. More... | |
double | getFactor (const Evt &evt) const |
Get weight-factor of given event. More... | |
Implementation of event weighing for MUPAGE data.
Definition at line 33 of file JEvtWeightMupage.hh.
Definition at line 37 of file JEvtWeightMupage.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inherited |
Definition at line 33 of file JEvtWeightFactorHelper.hh.
|
inline |
Default Constructor.
Definition at line 43 of file JEvtWeightMupage.hh.
|
inline |
Constructor.
header | header |
Definition at line 53 of file JEvtWeightMupage.hh.
|
inline |
Constructor.
header | header |
factor | factor |
Definition at line 66 of file JEvtWeightMupage.hh.
|
inline |
Copy constructor.
object | original object |
Definition at line 79 of file JEvtWeightMupage.hh.
|
inlineoverride |
Configuration.
header | header |
Definition at line 94 of file JEvtWeightMupage.hh.
|
inlineoverride |
Check whether header is consistent with this event weighter.
header | header |
Definition at line 120 of file JEvtWeightMupage.hh.
|
inlineoverride |
Get rate of given event.
evt | event |
Definition at line 132 of file JEvtWeightMupage.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.
|
inlineinherited |
Configure event-weight factor.
factor | event-weight factor |
Definition at line 59 of file JEvtWeightFactorHelper.hh.
|
inlineinherited |
Get reference to event-weight factor.
Definition at line 78 of file JEvtWeightFactorHelper.hh.
|
inlineinherited |
Get weight-factor of given event.
evt | event |
Definition at line 96 of file JEvtWeightFactorHelper.hh.