1 #ifndef __JAANET__JWEIGHTKM3BUU__ 
    2 #define __JAANET__JWEIGHTKM3BUU__ 
   29     public JClonable<JWeightEvent, JWeightKM3BUU>
 
   89       if (evt.
w.size() > 2 && evt.
w[2] > 0.0) {
 
   95         if (evt.
w.size() < 3) {
 
  112                              const double flux)
 const override 
  114       if (evt.
w.size() > 1 && !(evt.
w[1] < 0.0 || flux < 0.0)) {
 
  116         return W * evt.
w[1] * flux;
 
  120         if (evt.
w.size() < 2) {
 
JWeightKM3BUU()
Default constructor. 
 
JWeightKM3BUU(const JHead &header)
Constructor. 
 
bool is_km3buu(const JHead &header)
Check for generator. 
 
double numberOfEvents
Number of events. 
 
#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) 
 
virtual double getWeight(const Evt &evt) const override
Get weight of given event. 
 
Template class for object cloning. 
 
virtual double getWeight(const Evt &evt, const double flux) const override
Get weight of given event. 
 
virtual void configure(const JHead &header) override
Configuration. 
 
Implementation of event weighing for KM3BUU data. 
 
Exception for accessing a value in a collection that is outside of its range. 
 
Exception for accessing an index in a collection that is outside of its range. 
 
virtual bool check(const JHead &header) const override
Check whether header is consistent with this event weighter. 
 
double numberOfSeconds
Time in seconds. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.