StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMCCaloFilter.h
1 #ifndef _STAREBEMCGAMMAFILTER_
2 #define _STAREBEMCGAMMAFILTER_
3 
20 
21 #include "StMCFilter/StMCFilter.h"
22 #include <string>
23 
24 // Forward declarations
26 
27 class StMCCaloFilter : public StMCFilter
28 {
29 
30  public:
31 
33  virtual ~StMCCaloFilter() {};
34 
35  void parseConfig(std::string, float);
36 
37  // No decision immediately after PYTHIA event generation
38  // int RejectEG(const StGenParticleMaster &ptl) const;
39 
40  // Reject after vertex sampling
41  int RejectGT(const StGenParticleMaster &ptl) const;
42 
43  // No decision after GEANT reconstruction
44  //int RejectGE(const StGenParticleMaster &ptl) const;
45 
46 public:
47 
48  double mConeRadius;
49  double mSeedThreshold;
51  double mEtaLow;
52  double mEtaHigh;
53  double mMaxVertex;
54  double mHadronEfract;
55 
56 };
57 
58 
60 
61 class kinematics
62 {
63 
64  public:
65 
66  kinematics(): Et(0), eta(0), phi() {};
67  kinematics(double a, double b, double c): Et(a), eta(b), phi(c) {};
68 
69  double Et;
70  double eta;
71  double phi;
72 
73 };
74 
75 #endif
76 
void parseConfig(std::string, float)
double mClusterThreshold
Cluster E_{T} threshold for clustering finding.
double mConeRadius
Cone radius of cluster.
double mSeedThreshold
Seed energy threshold for cluster finding.
double mEtaLow
Minimum detector eta.
StMCCaloFilter()
Constructor.
Sparse class to hold track kinematics.
int RejectGT(const StGenParticleMaster &ptl) const
double mEtaHigh
Maximum detector eta.
double mHadronEfract
Attenuation factor for hadron energy.
double mMaxVertex
Maximum vertex magnitude in cm.