1 #ifndef __JAANET__JEVTWEIGHTINTERFACE__
2 #define __JAANET__JEVTWEIGHTINTERFACE__
15 namespace JPP {
using namespace JAANET; }
38 virtual bool check(
const JHead& header)
const = 0;
virtual double getNormalisation() const =0
Get event-weight normalisation factor.
virtual bool check(const JHead &header) const =0
Check whether header is consistent with this event weighter.
Low-level interface for event weighing.
virtual double getWeight(const Evt &evt) const =0
Get weight of given event.
virtual void configure(const JHead &header)=0
Configuration.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.