StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFwdClosureMaker.h
1 #ifndef ST_FWD_CLOSURE_MAKER_H
2 #define ST_FWD_CLOSURE_MAKER_H
3 
4 #include "TClonesArray.h"
5 #ifndef __CINT__
6 #include "GenFit/Track.h"
7 #include "StFwdTrackMaker/include/Tracker/FwdHit.h"
8 #include "StMuDSTMaker/COMMON/StMuFwdTrack.h"
9 #endif
10 
11 #include "StChain/StMaker.h"
12 #include "TTree.h"
13 #include "TVector3.h"
14 #include "TLorentzVector.h"
15 #include "StEvent/StEnumerations.h"
16 #include "StThreeVectorD.hh"
17 #include "StThreeVectorF.hh"
18 #include "StPhysicalHelixD.hh"
19 
20 #include <map>
21 
22 
23 class StMuDstMaker;
24 class StMuDst;
26 class StMuFcsCollection;
27 class StFwdTrackMaker;
28 class StEvent;
29 
30 class StFwdClosureMaker : public StMaker {
31 
32  ClassDef(StFwdClosureMaker, 0);
33 
34  public:
36  ~StFwdClosureMaker(){/* nada */};
37 
38  int Init();
39  int Finish();
40  int Make();
41  void Clear(const Option_t *opts = "");
42 
43 #ifndef __CINT__
44  TVector3 raster(TVector3 p0);
45  TMatrixDSym makeSiCovMat(TVector3 hit);
46 #endif
47 
48  // protected:
49 
50  float mPVal = 1e-3;
51  float mBlowUp = 1e3;
52  int mMaxIt = 40;
53  float mRelChi2 = 0.1;
54 
55  // Primary Vertex resolutions
56  double mPrimaryVertexSigXY = 10.1; // in cm (e.g. 0.01 = 100 microns)
57  double mPrimaryVertexSigZ = 10.1; // in cm (e.g. 0.01 = 100 microns)
58 
59  // FST resolutions
60  double mRasterR = 3.0;
61  double mRasterPhi = 0.004;
62 
63  // use FTT in tracking?
64  int mNumFttToUse = 4;
65  enum FttMode { kStrip, kPoint};
66  FttMode mFttMode = kPoint;
67 
68  TString mOutFile = "fwdClosure.root";
69 };
70 
71 
72 #endif