1#ifndef __JAANET__JEVTWEIGHTFACTORTFORMULA__ 
    2#define __JAANET__JEVTWEIGHTFACTORTFORMULA__ 
   13#pragma GCC diagnostic push 
   14#pragma GCC diagnostic ignored "-Wall" 
   16#pragma GCC diagnostic pop 
   74    void load(
const char* 
const formula)
 
   78      if (this->Compile(formula)) {
 
 
  102      return this->IsValid();
 
 
  134    std::istream& 
read(std::istream& in) 
override final 
  140      const streampos         pos   = in.tellg();
 
  141      const ios_base::iostate state = in.rdstate();      
 
 
  186          return in >> 
static_cast<std::string&
>(object);
 
 
  200        return out << static_cast<const std::string&>(
object);
 
 
 
  222      template<
class JEvtWeightFactorTFormula_t>
 
  232        Double_t* parameters = formula.GetParameters();
 
  234        for (
int i = 0; i < formula.GetNpar(); ++i) {
 
  236          const string parname = formula.GetParName(i);
 
  238          (*this)[parname] = parameters[i];
 
 
 
 
#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).
 
Data structure for object properties which require reloading whenever the property is reread.
 
Exception for accessing a value in a collection that is outside of its range.
 
Extensions to Evt data format.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Abstract base class for specifiable event-weight factors.
 
static const char *const getTypeKey()
Get type keyword.
 
void check_validity() const
Check validity of this event-weight factor.
 
static JEquationParameters & getEquationParameters()
Get equation parameters.