1 #ifndef __JAANET__JWEIGHTEVENTHELPER__
2 #define __JAANET__JWEIGHTEVENTHELPER__
void setHeader(const JHead &header)
Set header.
const JHead & getHeader() const
Get header.
double getWeight(const Evt &evt) const
Get weight of given event.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
bool is_valid() const
Check validity of pointer.
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
The template JSharedPointer class can be used to share a pointer to an object.
Helper class for event weighing.
Exception for null pointer operation.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Auxiliary base class for list of file names.
bool configure(const JMultipleFileScanner_t &input_files)
Configuration.
bool is_valid(T JHead::*pd) const
Check validity of given data member in Head.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.