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

Public Member Functions

void init ()
 
void initCuts ()
 
void initNames ()
 
 StEStructTrackCuts (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 goodFlag (int f)
 
bool goodCharge (int c)
 
bool goodNFitPoints (int n)
 
bool goodNFitNMax (float r)
 
bool goodGlobalDCA (float g)
 
bool goodChi2 (float x)
 
bool gooddPtByPt (float x)
 
bool goodPt (float p)
 
bool goodXt (float p)
 
bool goodYt (float p)
 
bool goodPhi (float p)
 
bool goodEta (float e)
 
bool goodTOFEMass (float e)
 
bool goodElectron (float e)
 
bool hasElectronCut ()
 
bool goodPion (float p)
 
bool goodKaon (float k)
 
bool goodProton (float p)
 
bool goodFragment (int ifragtype)
 
- 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)
 

Public Attributes

CutName mflagName
 
CutName mchargeName
 
CutName mnfitpointsName
 
CutName mnfitnmaxName
 
CutName mglobalDCAName
 
CutName mchi2Name
 
CutName mdPtByPtName
 
CutName mptName
 
CutName mxtName
 
CutName mytName
 
CutName mphiName
 
CutName metaName
 
CutName mTOFEMassName
 
CutName mnsigmaEName
 
CutName mnsigmaPiName
 
CutName mnsigmaKName
 
CutName mnsigmaPName
 
CutName mhijingFragmentName
 
int mflag [2]
 
int mcharge [2]
 
int mnfitpoints [2]
 
float mnfitnmax [2]
 
float mglobalDCA [2]
 
float mchi2 [2]
 
float mdPtByPt [2]
 
float mpt [2]
 
float myt [2]
 
float mxt [2]
 
float mphi [2]
 
float meta [2]
 
float mTOFEMass [2]
 
float mnsigmaE [2]
 
float mnsigmaPi [2]
 
float mnsigmaK [2]
 
float mnsigmaP [2]
 
float mhijingFragment [2]
 
char mFragmentType [1024]
 
int mFragTypes [10]
 
int mNFragTypes
 
int mnJets
 

Additional Inherited Members

- Protected Member Functions inherited from StEStructCuts
void resize ()
 
void initVars ()
 
void deleteVars ()
 
- 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 21 of file StEStructTrackCuts.h.


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