1 #ifndef __JAANET__JEVTWEIGHTDAQ__ 
    2 #define __JAANET__JEVTWEIGHTDAQ__ 
   30     public JClonable<JEvtWeight, JEvtWeightDAQ>
 
   63         THROW(
JValueOutOfRange, 
"JEvtWeightDAQ::configure(): Provided header is inconsistent with a DAQ-header.");
 
   91         return getNormalisation(evt);
 
Implementation of event weighing for DAQ data. 
 
static const int WEIGHTLIST_RESCALED_EVENT_RATE
Rescaled event rate [s-1]. 
 
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. 
 
std::vector< double > w
MC: Weights w[0]=w1, w[1]=w2, w[2]=w3 (see e.g. Tag list or km3net-dataformat/definitions) ...
 
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.