13 #ifndef STAR_StMCFilter
14 #define STAR_StMCFilter
18 typedef std::map<std::string, StMCFilter *> myMap_t;
38 const std::string &GetName()
const {
return fName;}
41 double &
User(
int idx) {
return fUser[idx];}
43 double User(
int idx)
const {
return fUser[idx];}
55 static int Select(
const char *name);
57 static int REJECTEG();
59 static int REJECTGT();
61 static int REJECTGE();
63 static void SetEG(
void *hepEvt);
65 static void SetG3(
void *gfKine,
void *gfVert);
68 static int Action(
int kase,
void *par1,
void *par2);
70 static int Config(std::string key,
const float value );
74 static int GetNTotEG() {
return fgSelected->fCnt[0][0];}
76 static int GetNTotGT() {
return fgSelected->fCnt[1][0];}
78 static int GetNTotGE() {
return fgSelected->fCnt[2][0];}
80 static int GetNRejEG() {
return fgSelected->fCnt[0][1];}
82 static int GetNRejGT() {
return fgSelected->fCnt[1][1];}
84 static int GetNRejGE() {
return fgSelected->fCnt[2][1];}
104 static myMap_t *mgMap;
static StMCFilter * selected()
Returns a pointer to the selected filter.
Master class for StGimParticle filled from GEANT3 internal structures.
static int GetNRejEG()
Number of rejected GE events.
virtual int RejectGT(const StGenParticleMaster &ptl) const
Rejection of GEANT Tracking.
double User(int idx) const
Returns one of the 10 user words.
static int GetNRejGT()
Number of rejected GT events.
virtual int RejectGE(const StGenParticleMaster &ptl) const
Rejection at GEANT End, No GEANT output.
static int GetNTotGE()
Number of total GE events.
double & User(int idx)
Return a reference to one of 10 user words.
static int GetNRejGE()
Number of rejected GE events.
virtual void parseConfig(std::string key, float value)
virtual int RejectEG(const StGenParticleMaster &ptl) const
Rejection inside of EventGenerator (Pythia)
virtual void Finish() const
Finish called at the end of GEANT.
static int GetNTotGT()
Number of total GT events.
static void FINISH()
Print of numbers above at the end of STARSIM.
static int GetNTotEG()
Number of total EG events.