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

Public Member Functions

 StMCCaloFilter ()
 Constructor.
 
void parseConfig (std::string, float)
 
int RejectGT (const StGenParticleMaster &ptl) const
 
- Public Member Functions inherited from StMCFilter
 StMCFilter (const char *name)
 
virtual int RejectEG (const StGenParticleMaster &ptl) const
 Rejection inside of EventGenerator (Pythia)
 
virtual int RejectGE (const StGenParticleMaster &ptl) const
 Rejection at GEANT End, No GEANT output.
 
virtual void Finish () const
 Finish called at the end of GEANT.
 
const std::string & GetName () const
 
double & User (int idx)
 Return a reference to one of 10 user words.
 
double User (int idx) const
 Returns one of the 10 user words.
 

Public Attributes

double mConeRadius
 Cone radius of cluster.
 
double mSeedThreshold
 Seed energy threshold for cluster finding.
 
double mClusterThreshold
 Cluster E_{T} threshold for clustering finding.
 
double mEtaLow
 Minimum detector eta.
 
double mEtaHigh
 Maximum detector eta.
 
double mMaxVertex
 Maximum vertex magnitude in cm.
 
double mHadronEfract
 Attenuation factor for hadron energy.
 

Additional Inherited Members

- Static Public Member Functions inherited from StMCFilter
static StMCFilterselected ()
 Returns a pointer to the selected filter.
 
- Static Protected Member Functions inherited from StMCFilter
static int GetNTotEG ()
 Number of total EG events.
 
static int GetNTotGT ()
 Number of total GT events.
 
static int GetNTotGE ()
 Number of total GE events.
 
static int GetNRejEG ()
 Number of rejected GE events.
 
static int GetNRejGT ()
 Number of rejected GT events.
 
static int GetNRejGE ()
 Number of rejected GE events.
 
static void FINISH ()
 Print of numbers above at the end of STARSIM.
 
- Protected Attributes inherited from StMCFilter
std::string fName
 
char fBeg [1]
 
int fCnt [3][2]
 
double fUser [20]
 
char fEnd [1]
 
- Static Protected Attributes inherited from StMCFilter
static myMap_t * mgMap =0
 

Detailed Description

Definition at line 27 of file StMCCaloFilter.h.

Member Function Documentation

void StMCCaloFilter::parseConfig ( std::string  attr,
float  val 
)
virtual

Modify filter settings

Parameters
attrString of the parameter to be modified
valNew parameter value

Reimplemented from StMCFilter.

Definition at line 53 of file StMCCaloFilter.cxx.

References mClusterThreshold, mConeRadius, mEtaHigh, mEtaLow, mHadronEfract, mMaxVertex, and mSeedThreshold.

int StMCCaloFilter::RejectGT ( const StGenParticleMaster ptl) const
virtual

Filter events immediately after vertex

Parameters
pltList of particles in the Pythia event
Returns
Filtering decision, 1 for rejection and 0 for acceptance

Reimplemented from StMCFilter.

Definition at line 104 of file StMCCaloFilter.cxx.

References mClusterThreshold, mConeRadius, mEtaHigh, mEtaLow, mHadronEfract, mMaxVertex, and mSeedThreshold.


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