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
StEStructEventCuts Class Reference
Inheritance diagram for StEStructEventCuts:
StEStructCuts

Public Member Functions

 StEStructEventCuts (const char *cutFileName)
 
virtual bool loadBaseCuts (const char *name, const char **vals, int nvals)
 
virtual void loadUserCuts (const char *name, const char **vals, int nvals)
 
virtual void printCutStats (ostream &ofs)
 
bool goodTrigger (StMuDst *muDst)
 
bool goodVertexTopology (StMuDst *muDst)
 
bool goodPrimaryVertexZ (float z)
 
bool goodVPDVertex (float dz)
 
bool goodPrimaryVertexRadius (float r)
 
bool hasPrimaryVertexRadiusCut ()
 
bool goodCentrality (float n)
 
bool goodToFFraction (int ndEdx, int nToF)
 
bool hasToFFractionCut ()
 
bool goodPrimaryFraction (int ndPrimary, int nGlobal)
 
bool hasPrimaryFractionCut ()
 
bool goodZVertSep (float dz)
 
bool hasZVertSepCut ()
 
bool goodZVertMatch (float dz)
 
bool hasZVertMatchCut ()
 
char * triggerWordName ()
 
char * primaryVertexZName ()
 
char * primaryVPDVertexName ()
 
char * primaryVertexRadiusName ()
 
char * centralityName ()
 
char * goodtoffractionName ()
 
char * goodprimaryfractionName ()
 
char * zVertSepName ()
 
char * zVertMatchName ()
 
- Public Member Functions inherited from StEStructCuts
 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)
 
bool loadBaseCuts (const char *name, const char *val1, const char *val2, const char *val3="", const char *val4="")
 
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 init ()
 
void initCuts ()
 
void initNames ()
 
- Protected Member Functions inherited from StEStructCuts
void resize ()
 
void initVars ()
 
void deleteVars ()
 

Protected Attributes

CutName mtWordName
 
CutName mpVertexZName
 
CutName mpVPDVertexName
 
CutName mpVertexRadiusName
 
CutName mcentralityName
 
CutName mgoodtoffractionName
 
CutName mgoodprimaryfractionName
 
CutName mZVertSepName
 
CutName mZVertMatchName
 
char mRunPeriod [1024]
 
bool mtrgByRunPeriod
 
unsigned int mtWord [2]
 
float mpVertexZ [2]
 
float mpVPDVertex [2]
 
float mpVertexRadius [2]
 
float mcentrality [2]
 
float mgoodtoffraction [2]
 
float mgoodprimaryfraction [2]
 
float mZVertSep [2]
 
float mZVertMatch [2]
 
int badTrigger
 
- Protected Attributes inherited from StEStructCuts
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 26 of file StEStructEventCuts.h.


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