1#ifndef __JAANET__JEVTWEIGHTFACTORCONSTANT__ 
    2#define __JAANET__JEVTWEIGHTFACTORCONSTANT__ 
   33  template<
class JEvtWeightFactor_t>
 
   35    public JComparable<JEvtWeightFactorConstant<JEvtWeightFactor_t> >,
 
   36    public JClonable<JEvtWeightFactor_t, JEvtWeightFactorConstant<JEvtWeightFactor_t> >
 
   57      this->check_validity();
 
 
   92      return this->
constant < 
object.constant;
 
 
  124    std::istream& 
read(std::istream& in) 
override final 
  128      streampos pos = in.tellg();      
 
  140      this->check_validity();
 
 
  152    std::ostream& 
write(std::ostream& out) 
const override final 
 
  174      template<
class JEvtWeightFactorConstant_T>
 
 
 
Utility class to parse parameter values.
 
#define gmake_property(A)
macros to convert (template) parameter to JPropertiesElement object
 
Utility class to parse parameter values.
 
Simple data structure to support I/O of equations (see class JLANG::JEquation).
 
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.
 
Auxiliary data structure for floating point format specification.
 
Auxiliary class for I/O of constant event-weight factor.
 
JEvtWeightFactorConstantHelper(JEvtWeightFactorConstant_T &factor, const JEquationParameters &eqpars)
Constructor.
 
Class for constant event-weight factors.
 
double getFactor(const Evt &evt) const override final
Get event-weight factor of given event.
 
JEvtWeightFactorConstant(const double constant)
Constructor.
 
JEvtWeightFactorConstant< JEvtWeightFactor_t > JEvtWeightFactorConstant_t
 
JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final
Get properties of this class.
 
bool less(const JEvtWeightFactorConstant_t &object) const
Check if this event-weight constant is less than given event-weight constant.
 
std::ostream & write(std::ostream &out) const override final
Write event-weight factor to output.
 
JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final
Get properties of this class.
 
double constant
constant value
 
bool is_valid() const override final
Check whether this constant event-weight factor is valid.
 
std::istream & read(std::istream &in) override final
Stream input.
 
JEvtWeightFactorConstant()
Default constructor.
 
static const char *const getTypeKey()
Get type keyword.
 
static JEquationParameters & getEquationParameters()
Get equation parameters.
 
Template class for object cloning.
 
Template definition of auxiliary base class for comparison of data structures.