StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
StMCFilter Class Reference

#include <StMCFilter.h>

Inheritance diagram for StMCFilter:
StBemcGammaFilter StDijetFilter StEemcGammaFilter StExampleFilter StFmsJetFilter StFmsPi0Filter StHighPtFilter StMCCaloFilter

Public Member Functions

 StMCFilter (const char *name)
virtual int RejectEG (const StGenParticleMaster &ptl) const
 Rejection inside of EventGenerator (Pythia)
virtual int RejectGT (const StGenParticleMaster &ptl) const
 Rejection of GEANT Tracking.
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.
virtual void parseConfig (std::string key, float value)

Static Public Member Functions

static StMCFilterselected ()
 Returns a pointer to the selected filter.

Static Protected Member Functions

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

std::string fName
char fBeg [1]
int fCnt [3][2]
double fUser [20]
char fEnd [1]

Static Protected Attributes

static myMap_t * mgMap =0

Detailed Description

Victor Perev April 2009

StMCFilter base class is : A user interface. User must overload functions:

Victor Perevoztchikov

base filter class for EvGen and Geant

Definition at line 23 of file StMCFilter.h.

Member Function Documentation

virtual void StMCFilter::parseConfig ( std::string  key,
float  value 

Method which should be implemented in the concrete filter for configuring cuts defined w/in the filter.

Reimplemented in StDijetFilter, StDijetFilter, StMCCaloFilter, and StBemcGammaFilter.

Definition at line 47 of file StMCFilter.h.

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