1 #ifndef __JAANET__JEVTWEIGHTDAQ__
2 #define __JAANET__JEVTWEIGHTDAQ__
28 public JClonable<JEvtWeight, JEvtWeightDAQ>
62 THROW(
JValueOutOfRange,
"JEvtWeightDAQ::configure(): Provided header is inconsistent with a DAQ-header.");
Implementation of event weighing for DAQ data.
bool check(const JHead &header) const override
Check whether header is consistent with this event weighter.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
double livetime_s
Live time [s].
void configure(const JHead &header) override
Configuration.
double getWeight(const Evt &evt) const override
Get weight of given event.
bool is_daq(const JHead &header)
Check for real data.
Template class for object cloning.
JEvtWeightDAQ(const JHead &header)
Constructor.
Exception for accessing a value in a collection that is outside of its range.
JEvtWeightDAQ()
Default constructor.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.