1 #ifndef __JAANET__JFLUXHELPER__
2 #define __JAANET__JFLUXHELPER__
53 reset(
function.clone());
void configure(const JFlux &function)
Flux configuration.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
bool is_valid() const
Check validity of pointer.
JFluxHelper(const JFlux &function)
Constructor.
The template JSharedPointer class can be used to share a pointer to an object.
Exception for null pointer operation.
Helper class for event weighing.
double getFlux(const Evt &evt) const
Get flux of given event.
JFluxHelper()
Default constructor.
Low-level interface for retrieving flux corresponding to an event.
virtual void reset() override
Reset pointer.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.