1 #ifndef __JAANET__JWEIGHTMUPAGE__ 
    2 #define __JAANET__JWEIGHTMUPAGE__ 
   32     public JClonable<JEvtWeight, JEvtWeightMupage>,
 
   76       this->norm = 
object.norm;
 
   95       if (
check(header) && dt > 0.0) {
 
  101         THROW(
JValueOutOfRange, 
"JEvtWeightMupage::configure(): Provided header is inconsistent with MUPAGE.");
 
  128         return getFactor(evt) * getNormalisation(evt);
 
  136         return getNormalisation(evt);
 
bool is_mupage(const JHead &header)
Check for generator. 
 
static const int WEIGHTLIST_RESCALED_EVENT_RATE
Rescaled event rate [s-1]. 
 
double t1
Start time in seconds. 
 
JEvtWeightMupage()
Default Constructor. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
double t2
Stop time in seconds. 
 
std::vector< double > w
MC: Weights w[0]=w1, w[1]=w2, w[2]=w3 (see e.g. Tag list or km3net-dataformat/definitions) ...
 
bool is_valid() const 
Check validity of pointer. 
 
void configure(const JHead &header) override
Configuration. 
 
double getFactor(const Evt &evt) const
Get weight-factor of given event. 
 
JAANET::livetime livetime
 
Template class for object cloning. 
 
JEvtWeightMupage(const JHead &header)
Constructor. 
 
Helper class for event-weight factor. 
 
void configure(const JEvtWeightFactor_t &factor)
Configure event-weight factor. 
 
JAANET::time_interval time_interval
 
Implementation of event weighing for MUPAGE data. 
 
bool check(const JHead &header) const override
Check whether header is consistent with this event weighter. 
 
double getWeight(const Evt &evt) const override
Get rate of given event. 
 
Exception for accessing a value in a collection that is outside of its range. 
 
JEvtWeightMupage(const JHead &header, const JEvtWeightFactor &factor)
Constructor. 
 
Low-level interface for retrieving a specifiable multiplication factor corresponding to a given event...
 
double numberOfSeconds
Live time [s]. 
 
JEvtWeightMupage(const JEvtWeightMupage &object)
Copy constructor. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.