9 #ifndef STAR_StFgtSlowSimuMaker
10 #define STAR_StFgtSlowSimuMaker
16 #include "StFgtGeom.h"
17 #include "StFgtContainers.h"
19 #include "TGeoManager.h"
30 enum {mxH=32,eLossDim=10000};
35 double *mRadStripRelativeGain;
36 double *mPhiStripRelativeGain;
49 double par_2DpixAmplThres;
50 double par_stripAmplThres;
51 double par_XYamplSigma;
52 double par_radStripGainMean,par_radStripGainSigma;
53 double par_phiStripGainMean,par_phiStripGainSigma;
57 int par_cutoffOfBichel;
58 double par_hexLaticePitch, par_hexLaticePhi1deg;
59 double par_transDiffusionPerPath;
62 void addHit(TVector3 rLocal,
double ampl=1.) ;
63 void responseLinearModel(TVector3 Rloc, TVector3 Dloc);
64 void responseFrankModel(TVector3 Rloc, TVector3 Dloc);
65 double meLossTab[eLossDim];
70 void sort_g2t_hits(St_g2t_fgt_hit *);
71 bool projectQuadrant(
int iquad);
72 void exportStripPlane(TH1F *h, vector<fgt_strip> &L);
76 vector<fgt_strip> mRadAdcList[kFgtMxDisk];
77 vector<fgt_strip> mPhiAdcList[kFgtMxDisk];
78 void setRadStripGain(
double g,
double s){ par_radStripGainMean=g; par_radStripGainSigma=s;}
79 void setPhiStripGain(
double g,
double s){ par_phiStripGainMean=g; par_phiStripGainSigma=s;}
80 void setTransDiffusion(
double x) {par_transDiffusionPerPath=x;}
87 virtual void Clear(Option_t *option=
"");
88 void setHList(TObjArray * x){HList=x;}
89 void saveHisto(TString fname);
90 void setStripThresh(
double x) {par_stripAmplThres=x;}
91 void setHexGemLatice(
double x,
double y) {par_hexLaticePitch=x; par_hexLaticePhi1deg=y;}
92 void initFrankModel(TString fname=
"xBichselELossProbHighBG.dat");
93 void forcePerpTracks(
bool x=
true) {par_forcePerp=x;}
94 void useOnlyDisk(
int x){par_useOnlyDisk=x;}
95 virtual const char *GetCVS()
const {
96 static const char cvs[]=
"Tag $Name: $ $Id: StFgtSlowSimuMaker.h,v 1.3 2014/08/06 11:42:57 jeromel Exp $ built " __DATE__
" " __TIME__ ;
virtual void Clear(Option_t *option="")
User defined functions.
vector< fgt_g2t_auxil > mG2tHitList[kFgtMxDisk+1][kFgtMxQuad]
accepted track segements
StFgtSlowSimuMaker(const char *name="FgtSlowSimu")