1 #ifndef __JAANET__JFLUXHELPER__
2 #define __JAANET__JFLUXHELPER__
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Exception for null pointer operation.
Extensions to Evt data format.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
Helper class for event-weight factor.
void configure(const pointer_type &p)
Configure event-weight factor.
std::shared_ptr< JEvtWeightFactor > pointer_type
JEvtWeightFactor & getFactor() const
Get reference to event-weight factor.
Abstract base class for specifiable event-weight factors.
Helper class for flux function.
JFluxHelper()
Default constructor.
JFluxHelper(const JFlux &flux)
Constructor.
JFluxHelper(const pointer_type &flux)
Constructor.
JEvtWeightFactorHelper::pointer_type pointer_type
double getFlux(const Evt &evt) const
Get flux of given event.
JFlux & getFlux() const
Get reference to flux function.
Low-level interface for retrieving the flux corresponding to a given event.