Hall C ROOT/C++ Analyzer (hcana)
Loading...
Searching...
No Matches
THcFormula.h
Go to the documentation of this file.
1#ifndef ROOT_THcFormula
2#define ROOT_THcFormula
3
5//
6// THcFormula
7//
9
10#include "THcGlobals.h"
11#include "THaFormula.h"
12
13class THaParmList;
14
15class THcFormula : public THaFormula {
16
17public:
18
19 THcFormula( const char* name, const char* formula,
20 const THcParmList*, const THaVarList*,
21 const THaCutList* clst);
22 THcFormula( const THcFormula& rhs );
23 THcFormula& operator=( const THcFormula& rhs );
24 virtual ~THcFormula();
25
26 virtual Int_t DefinedCut( TString& variable);
27 virtual Int_t DefinedGlobalVariable( TString& variable);
28
29protected:
30
31 const THcParmList* fParmList; // Pointer to list of parameters
32 ClassDef(THcFormula,0) // Formula with cut scalers
33};
34
35#endif
int Int_t
#define ClassDef(name, id)
Enhanced THaFormula for use in report files.
Definition THcFormula.h:15
virtual Int_t DefinedGlobalVariable(TString &variable)
virtual Int_t DefinedCut(TString &variable)
const THcParmList * fParmList
Definition THcFormula.h:31
THcFormula & operator=(const THcFormula &rhs)
virtual ~THcFormula()
A list parameters and their values.
Definition THcParmList.h:27