Jpp
18.4.0
the software that should make you happy
|
Implementation of event weighing for miscellaneous data
such as a merged offline file containing neutrinos and atmospheric muons.
More...
#include <JEvtWeightMiscellaneous.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 | |
JEvtWeightMiscellaneous () | |
Default constructor. More... | |
JEvtWeightMiscellaneous (const JHead &header) | |
Constructor. More... | |
JEvtWeightMiscellaneous (const JHead &header, const JEvtWeightFactor &factor) | |
Constructor. More... | |
JEvtWeightMiscellaneous (const JEvtWeightMiscellaneous &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 weight 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 miscellaneous data
such as a merged offline file containing neutrinos and atmospheric muons.
A uniform weight of 1.0 is applied to all events.
Definition at line 36 of file JEvtWeightMiscellaneous.hh.
typedef JEvtWeightFactorHelper<JEvtWeightFactor> JAANET::JEvtWeightMiscellaneous::JEvtWeightFactorHelper_t |
Definition at line 40 of file JEvtWeightMiscellaneous.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 46 of file JEvtWeightMiscellaneous.hh.
|
inline |
Constructor.
header | header |
Definition at line 56 of file JEvtWeightMiscellaneous.hh.
|
inline |
Constructor.
header | header |
factor | factor |
Definition at line 69 of file JEvtWeightMiscellaneous.hh.
|
inline |
Copy constructor.
object | original object |
Definition at line 83 of file JEvtWeightMiscellaneous.hh.
|
inlineoverride |
Configuration.
header | header |
Definition at line 98 of file JEvtWeightMiscellaneous.hh.
|
inlineoverride |
Check whether header is consistent with this event weighter.
header | header |
Definition at line 119 of file JEvtWeightMiscellaneous.hh.
|
inlineoverride |
Get weight of given event.
evt | event |
Definition at line 131 of file JEvtWeightMiscellaneous.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.