Go to the documentation of this file. 1 #ifndef __JAANET__JWEIGHTEVENTHELPER__
2 #define __JAANET__JWEIGHTEVENTHELPER__
53 return get()->getWeight(evt);
virtual JClass_t * get() const
Get pointer.
Auxiliary base class for list of file names.
Exception for null pointer operation.
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Extensions to AAnet data format.
Helper class for event weighing.
double getWeight(const Evt &evt) const
Get weight of given event.
bool configure(const JMultipleFileScanner_t &input_files)
Configuration.
const JHead & getHeader() const
Get header.
void setHeader(const JHead &header)
Set header.
The template JSharedPointer class can be used to share a pointer to an object.
bool is_valid() const
Check validity of pointer.