1 #ifndef __JAANET__JEVTWEIGHTFACTORHELPER__
2 #define __JAANET__JEVTWEIGHTFACTORHELPER__
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
JEvtWeightFactorHelper()
Default constructor.
bool is_valid() const
Check validity of pointer.
virtual clone_type clone() const override
Get clone of this object.
The template JSharedPointer class can be used to share a pointer to an object.
Exception for null pointer operation.
double getFactor(const Evt &evt) const
Get weight-factor of given event.
void configure(const JEvtWeightFactor &factor)
Configure event-weight factor.
Helper class for event-weight factor.
double getFlux(const Evt &evt) const
Get flux of given event.
JEvtWeightFactorHelper(const JEvtWeightFactor &factor)
Constructor.
virtual void reset() override
Reset pointer.
Low-level interface for retrieving a specifiable multiplication factor corresponding to a given event...
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.