1 #ifndef __JAANET__JEVTWEIGHTHELPER__ 
    2 #define __JAANET__JEVTWEIGHTHELPER__ 
void configure(const JEvtWeight &weighter)
Configuration. 
 
void setHeader(const JHead &header)
Set header. 
 
const JHead & getHeader() const 
Get header. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
JEvtWeightHelper()
Default constructor. 
 
bool check(const JHead &header) const 
Check if a given header is consistent with this event weighter. 
 
JHead & add(const JHead &header)
Addition of headers. 
 
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. 
 
Abstract base class for event weighing. 
 
Exception for null pointer operation. 
 
double getWeight(const Evt &evt) const 
Get weight of given event. 
 
JEvtWeightHelper(const JEvtWeight &weighter)
Constructor. 
 
double getNormalisation() const 
Get event-weight normalisation. 
 
Exception for accessing a value in a collection that is outside of its range. 
 
virtual void reset() override
Reset pointer. 
 
Helper class for event weighing. 
 
void add(const JHead &header)
Add header. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.