10 #ifndef STAR_StSsdFastSimMaker
11 #define STAR_StSsdFastSimMaker
15 #include "StThreeVectorF.hh"
16 #include "StThreeVectorD.hh"
17 #include "StSsdUtil/StSsdBarrel.hh"
18 #include "StSsdUtil/StSsdWafer.hh"
27 class St_ssdDimensions;
28 class St_ssdWafersPosition;
35 class ssdConfiguration_st;
41 St_ssdDimensions *m_dimensions;
42 St_ssdWafersPosition *m_positions;
43 ssdConfiguration_st *m_config;
63 virtual Int_t InitRun(
int);
65 virtual void Clear(Option_t *option=
"");
69 virtual Bool_t accept(
StEvent* event);
71 Float_t distortHit(Float_t x,
double res);
72 void setSsdParameters(ssdDimensions_st *geom_par);
73 void printSsdParameters();
74 Int_t idWaferToWaferNumb(Int_t idWafer);
75 Int_t idWaferToLadderNumb(Int_t idWafer);
76 Int_t waferNumbToIdWafer(Int_t waferNumb);
77 Int_t idWaferToWafer(Int_t idWafer) {
return (idWafer-7000)/100-1;}
78 Int_t IsOnWafer(Float_t x, Float_t y);
79 Int_t RemoveTriangle(Float_t x, Float_t y);
82 ssdDimensions_st *mDimensions;
85 Int_t mNWaferPerLadder;
87 Int_t mActiveLadders[20];
88 Float_t mDetectorLargeEdge;
89 Float_t mDetectorSmallEdge;
111 virtual const char *GetCVS()
const
113 static const char cvs[]=
"Tag $Name: $ $Id: StSsdFastSimMaker.h,v 1.5 2014/08/11 19:27:09 bouchet Exp $ built " __DATE__
" " __TIME__ ;
virtual void Clear(Option_t *option="")
User defined functions.
Event data structure to hold all information from a Monte Carlo simulation. This class is the interfa...