StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFmsPi0Filter.h
1 // @(#)STAR/eg:$Id: StFmsPi0Filter.h,v 1.1 2010/09/30 20:05:10 jwebb Exp $
3 // //
4 // StFmsPi0Filter: FMS pi0 filter class for EvGen and Geant //
5 // more info in http://www.star.bnl.gov/~perev/SIM/mcFi;lter.ppt
6 //
8 
9 #ifndef STAR_StFmsPi0Filter
10 #define STAR_StFmsPi0Filter
11 #include "StMCFilter.h"
12 #include <string>
13 #include <iostream>
14 using namespace std;
15 
17 class StG3ParticleMaster;
19 
20 class StFmsPi0Filter : public StMCFilter {
21 public:
22  // ****** constructors and destructor
24  virtual ~StFmsPi0Filter(){;}
25 
26  // user reject function called immediately after Event Generator.
27  // Currently Pythia Vertex in zero. EG==EventGenerator
28  int RejectEG(const StGenParticleMaster &ptl) const;
29 
30  // user reject function called before GEANT tracking
31  // Vertex is already generated. GT == GeantTracker
32  int RejectGT(const StGenParticleMaster &ptl) const;
33 
34  // user reject function called after GEANT tracking
35  // Vertex and tracks are already generated. GE==GeantEnd
36  int RejectGE(const StGenParticleMaster &ptl) const;
37 
38  // Changing parameters
39  void ChangeConfig(string attr, float val);
40 
41 private:
42  float mEtaMin;
43  float mEtaMax;
44  float mPtMin;
45 };
46 
47 #endif
48 
Master class for StGimParticle filled from GEANT3 internal structures.
Definition: StG3Particle.h:26