1 #ifndef __JAANET__JEVTWEIGHTDAQ__ 
    2 #define __JAANET__JEVTWEIGHTDAQ__ 
   33     public JClonable<JEvtWeight, JEvtWeightDAQ>
 
   58     const char* 
const getName() const override final
 
   75         setNormalisation(1.0 / header.DAQ.livetime_s);
 
   79         THROW(
JValueOutOfRange, 
"JEvtWeightDAQ::configure(): Provided header is inconsistent with a DAQ-header.");
 
  107         return getNormalisation(evt);
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Exception for accessing a value in a collection that is outside of its range.
 
Extensions to Evt data format.
 
bool is_daq(const JHead &header)
Check for real data.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
 
Implementation of event weighing for DAQ data.
 
double getWeight(const Evt &evt) const override final
Get weight of given event.
 
bool check(const JHead &header) const override final
Check whether header is consistent with this event weighter.
 
JEvtWeightDAQ(const JHead &header)
Constructor.
 
JEvtWeightDAQ()
Default constructor.
 
const char *const getName() const override final
Get name.
 
void configure(const JHead &header) override final
Configuration.
 
Template class for object cloning.
 
static const int WEIGHTLIST_RESCALED_EVENT_RATE
Rescaled event rate [s-1].