1#ifndef __JAANET__JEVTWEIGHTFACTORHELPER__ 
    2#define __JAANET__JEVTWEIGHTFACTORHELPER__ 
   29    public std::shared_ptr<JEvtWeightFactor>
 
  103        return *(this->get());
 
 
  119      return (helper && helper->
is_valid());
 
 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Utility class to parse parameter values.
 
Utility class to parse parameter values.
 
Simple data structure to support I/O of equations (see class JLANG::JEquation).
 
Exception for null pointer operation.
 
Extensions to Evt data format.
 
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.
 
Helper class for event-weight factor.
 
JEvtWeightFactorHelper(const pointer_type &p)
Constructor.
 
double operator()(const Evt &evt) const
Get weight-factor of given event.
 
std::shared_ptr< JEvtWeightFactor > pointer_type
 
JEvtWeightFactorHelper()
Default constructor.
 
void configure(const pointer_type &p)
Configure event-weight factor.
 
JEvtWeightFactor & getFactor() const
Get reference to event-weight factor.
 
void configure(const JEvtWeightFactor &factor)
Configure event-weight factor.
 
double getFactor(const Evt &evt) const
Get weight-factor of given event.
 
JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const
Get properties of this class.
 
JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters())
Get properties of this class.
 
JEvtWeightFactorHelper(const JEvtWeightFactor &factor)
Constructor.
 
bool is_valid() const
Check whether this event-weight factor is valid.
 
Abstract base class for specifiable event-weight factors.
 
virtual JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters())
Get properties of this class.
 
static JEquationParameters & getEquationParameters()
Get equation parameters.
 
virtual double getFactor(const Evt &evt) const =0
Get event-weight factor of given event.
 
virtual clone_type clone() const override
Get clone of this object.