StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEpdFastSim.h
1 #ifndef _StEpdFastSim
2 #define _StEpdFastSim
3 
4 class TClonesArray;
5 class TRandom3;
6 class StEpdGeom;
7 class TVector3;
8 class StPicoEpdHit;
9 
11  private:
12  double mWID; // WID of Landau distribution (assumed MPV=1)
13  StEpdGeom* mGeom;
14  TRandom3* mRan;
15  // StPicoEpdHit* mHits[2][12][31]; // easy access. These get nonzero only when a hit is created. Keeping tracks of hits that are made, internally.
16  StPicoEpdHit* mHitsEast[1232]; // easy access. These get nonzero only when a hit is created. Keeping tracks of hits that are made, internally. Index is abs(UniqueID)
17  StPicoEpdHit* mHitsWest[1232]; // easy access. These get nonzero only when a hit is created. Keeping tracks of hits that are made, internally. Index is abs(UniqueID)
18 
19  // quick lookups
20  double RingRadii[17]; // 17 rather than 16, because it is EDGES (17 edges of 16 rows)
21 
22  short FindStruckTile(TVector3 HitPosition);
23 
24  TClonesArray* mTheHits;
25 
26  public:
27  StEpdFastSim(double WID=0.2);
28  ~StEpdFastSim();
29  void SetWid(double WID);
30  TClonesArray* GetPicoHits(TClonesArray* momenta, TVector3 PrimVertex);
31 };
32 
33 inline void StEpdFastSim::SetWid(double WID){mWID=WID;}
34 
35 #endif