1 #ifndef __JAANET__JEVTWEIGHTGSEAGEN__ 
    2 #define __JAANET__JEVTWEIGHTGSEAGEN__ 
   30     public JClonable<JEvtWeight, JEvtWeightGSeaGen>,
 
   95       if (
check(header) && N > 0.0 && dt > 0.0) {
 
  101         THROW(
JValueOutOfRange, 
"JEvtWeightGSeaGen::configure(): Provided header is inconsistent with GSeaGen.");
 
  130       } 
else if (evt.
w.size() > 2) {
 
  139           THROW(
JIndexOutOfRange,      
"JEvtWeightGSeaGen::getWeight(): Empty " << (evt.
w.size() < 3 ? 
"w2-" : 
"w3-") << 
"weight.");
 
bool is_gseagen(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. 
 
void configure(const JHead &header) override
Weight configuration. 
 
then JShowerPostfit f $INPUT_FILE o $OUTPUT_FILE N
 
std::vector< double > w
MC: Weights w[0]=w1, w[1]=w2, w[2]]=w3 (see e.g. Tag list) 
 
bool is_valid() const 
Check validity of pointer. 
 
Exception for null pointer operation. 
 
Implementation of event weighting for GSeaGen data. 
 
Template class for object cloning. 
 
void configure(const JEvtWeightFactor &factor)
Configure event-weight factor. 
 
Helper class for event-weight factor. 
 
JEvtWeightGSeaGen(const JHead &header, const JFlux &flux)
Constructor. 
 
double getFlux(const Evt &evt) const 
Get flux of given event. 
 
JEvtWeightGSeaGen(const JEvtWeightGSeaGen &object)
Copy constructor. 
 
bool check(const JHead &header) const override
Check whether header is consistent with this event weighter. 
 
Exception for accessing a value in a collection that is outside of its range. 
 
double getWeight(const Evt &evt) const override
Get weight of given event. 
 
Exception for accessing an index in a collection that is outside of its range. 
 
double numberOfSeconds
Time in seconds. 
 
Low-level interface for retrieving a specifiable multiplication factor corresponding to a given event...
 
JEvtWeightGSeaGen(const JHead &header)
Constructor. 
 
JEvtWeightGSeaGen()
Default Constructor. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.