Hall C ROOT/C++ Analyzer (hcana)
THcFormula Class Reference

Enhanced THaFormula for use in report files.

In addition to global variables (gHaVars) and cuts (gHaCuts), THcFormula expressions have access hcana parameters (gHcParms).

The number of times a cut has been try, as well as the number of times that the cut has been tested can be accessed with cutname.scaler (or .npassed) and cutname.ncalled.

S. A. Wood

Definition at line 15 of file THcFormula.h.

Public Member Functions

virtual Int_t DefinedCut (TString &variable)
virtual Int_t DefinedGlobalVariable (TString &variable)
THcFormulaoperator= (const THcFormula &rhs)
 THcFormula (const char *name, const char *formula, const THcParmList *, const THaVarList *, const THaCutList *clst)
 THcFormula (const THcFormula &rhs)
virtual ~THcFormula ()

Protected Attributes

const THcParmListfParmList

#include <THcFormula.h>

Inheritance diagram for THcFormula:

Constructor & Destructor Documentation

THcFormula::THcFormula ( const char *  name,
const char *  formula,
const THcParmList plst,
const THaVarList *  vlst,
const THaCutList *  clst 

Definition at line 39 of file THcFormula.cxx.

THcFormula::THcFormula ( const THcFormula rhs)

Definition at line 74 of file THcFormula.cxx.

THcFormula::~THcFormula ( )

Definition at line 81 of file THcFormula.cxx.

Member Function Documentation

Int_t THcFormula::DefinedCut ( TString variable)

Definition at line 87 of file THcFormula.cxx.

Int_t THcFormula::DefinedGlobalVariable ( TString variable)

Definition at line 113 of file THcFormula.cxx.

THcFormula & THcFormula::operator= ( const THcFormula rhs)

Definition at line 64 of file THcFormula.cxx.

Member Data Documentation

const THcParmList* THcFormula::fParmList

Definition at line 31 of file THcFormula.h.

Collaboration diagram for THcFormula:

The documentation for this class was generated from the following files: