StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstFastSimMaker.h
1 /* $Id: StIstFastSimMaker.h,v 1.23 2015/08/03 14:26:03 smirnovd Exp $ */
2 
3 #ifndef StIstFastSimMaker_h
4 #define StIstFastSimMaker_h
5 
6 #include "TRandom1.h"
7 
8 #include "StMaker.h"
9 
10 class StIstDb;
11 class THashList;
12 
13 
22 class StIstFastSimMaker : public StMaker
23 {
24 public:
25 
26  StIstFastSimMaker(const Char_t *name = "istFastSim", bool useRandomSeed = false);
27  Int_t Init();
30  Int_t Make();
31  Int_t InitRun( Int_t runNo);
34  void buildIdealGeom(Bool_t isIdealGeom) {mBuildIdealGeom = isIdealGeom;}
35 
36  virtual const char *GetCVS() const {
37  static const char cvs[] = "Tag $Name: $ $Id: StIstFastSimMaker.h,v 1.23 2015/08/03 14:26:03 smirnovd Exp $ built " __DATE__ " " __TIME__ ;
38  return cvs;
39  }
40 
41 private:
42 
43  THashList *mIstRot;
44  StIstDb *mIstDb;
45  Bool_t mBuildIdealGeom;
46  TRandom1 mRandom;
47  Double_t mResXIst1;
48  Double_t mResZIst1;
49  Bool_t mSmear;
50 
52  Double_t distortHit(const Double_t x, const Double_t res, const Double_t detLength);
53 
54  ClassDef(StIstFastSimMaker, 0)
55 };
56 
57 #endif
void buildIdealGeom(Bool_t isIdealGeom)