StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StEStructCuts Class Referenceabstract
Inheritance diagram for StEStructCuts:
StEStructEventCuts StEStructPairCuts StEStructTrackCuts

Public Member Functions

 StEStructCuts (const char *cutFileName)
 
virtual void setCutFile (const char *cutFileName)
 
virtual bool isLoaded ()
 
virtual bool loadCuts ()
 
virtual void dataValue (const char *name, float value)
 
virtual int createCutHists (const char *name, float *range, int nvals=2)
 
virtual int createCutHists (const char *name, double *range, int nvals=2)
 
virtual int createCutHists (const char *name, int *range, int nvals=2)
 
virtual int createCutHists (const char *name, unsigned int *range, int nvals=2)
 
virtual void addCutHists (TH1 *before, TH1 *after, const char *name=NULL)
 
virtual void setDoFillHists (bool filling)
 
virtual bool doFillHists ()
 
virtual void fillHistogram (const char *name, float value, bool passed)
 
virtual void fillHistogram (const char *name, float val1, float val2, bool passed)
 
virtual void fillHistogram (const char *name, float val1, float val2, float val3, bool passed)
 
virtual void fillHistograms (bool passed)
 
virtual void writeCutHists (TFile *tf)
 
virtual bool loadBaseCuts (const char *name, const char **vals, int nvals)=0
 
bool loadBaseCuts (const char *name, const char *val1, const char *val2, const char *val3="", const char *val4="")
 
virtual void loadUserCuts (const char *name, const char **vals, int nvals)=0
 
void loadUserCuts (const char *name, const char *val1, const char *val2)
 
virtual void printCuts (std::ostream &of, int i=-1)
 
virtual void printCuts (const char *fileName)
 
virtual void printCutStats (std::ostream &of)=0
 
virtual bool loadCutDB ()
 
virtual bool isCut (const char *cutName)
 
virtual int cutID (const char *cutName)
 
virtual float maxVal (const char *cutName)
 
virtual float maxVal (int cutID)
 
virtual float minVal (const char *cutName)
 
virtual float minVal (int cutID)
 
virtual void setRange (const char *cutName, float xmin, float xmax)
 
virtual void setRange (int cutID, float xmin, float xmax)
 

Protected Member Functions

void resize ()
 
void initVars ()
 
void deleteVars ()
 

Protected Attributes

char * mcutFileName
 
int mMaxStore
 
char ** mvarName
 
float * mvalues
 
float * mminVal
 
float * mmaxVal
 
int mnumVars
 
TH1 ** mvarHistsNoCut
 
TH1 ** mvarHistsCut
 
bool mDoFillHists
 
char mcutTypeName [64]
 

Detailed Description

Definition at line 34 of file StEStructCuts.h.


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