FairRoot/PandaRoot
PndSdsIdealRecoTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndSdsIdealRecoTask header file -----
3 // ----- Created 20/03/07 by R.Kliemt -----
4 // -------------------------------------------------------------------------
5 
6 
15 #ifndef PNDSDSIDEALRECOTASK_H
16 #define PNDSDSIDEALRECOTASK_H
17 
18 // Root includes
19 #include "TVector3.h"
20 #include "TRandom.h"
21 #include "TString.h"
22 #include "TGeoManager.h"
23 
24 // framework includes
25 #include "PndSdsTask.h"
26 
27 // PndSds includes
28 #include "PndSdsMCPoint.h"
29 #include "PndGeoHandling.h"
30 
31 class TClonesArray;
32 
34 {
35  public:
36 
39 
41 
43  PndSdsTask(),
44  fGeoH(other.fGeoH),
45  fPointArray(other.fPointArray),
48  fSigmaX(other.fSigmaX),
49  fSigmaY(other.fSigmaY),
50  fSigmaZ(other.fSigmaZ),
54  {}
55 
57  virtual ~PndSdsIdealRecoTask();
58 
60  {
61  fGeoH=other.fGeoH;
65  fSigmaX=other.fSigmaX;
66  fSigmaY=other.fSigmaY;
67  fSigmaZ=other.fSigmaZ;
71  return *this;
72  };
73 
75  virtual void SetParContainers();
76  virtual InitStatus Init();
77 
78 
80  virtual void Exec(Option_t* opt);
81 
82 protected:
83 
85 
87  TClonesArray* fPointArray;
88  TClonesArray* fMctruthArray;
89 
91  TClonesArray* fHitOutputArray;
93  Double_t fSigmaX; // Variance vector of sensor smearing
94  Double_t fSigmaY; // Variance vector of sensor smearing
95  Double_t fSigmaZ; // Variance vector of sensor smearing
97  TGeoHMatrix* fCurrentTransMat;
98  TMatrixT<Double_t> fHitCovMatrix;
100  void InitTransMat();
101  void smear(TVector3& pos);
102  void smearLocal(TVector3& pos);
103  void CalcDetPlane(TVector3& o,TVector3& u,TVector3& v);
104 
105 
106  void Register();
107 
108  void Reset();
109 
110  void ProduceHits();
111 
113 
114 };
115 
116 #endif
PndSdsIdealRecoTask & operator=(PndSdsIdealRecoTask &other)
TVector3 pos
void smear(TVector3 &pos)
ClassDef(PndSdsIdealRecoTask, 1)
virtual void Exec(Option_t *opt)
PndGeoHandling * fGeoH
virtual void SetParContainers()
TGeoHMatrix * fCurrentTransMat
void smearLocal(TVector3 &pos)
__m128 v
Definition: P4_F32vec4.h:4
TClonesArray * fHitOutputArray
Class to access the naming information of the MVD.
virtual InitStatus Init()
Double_t
TClonesArray * fMctruthArray
TClonesArray * fPointArray
void CalcDetPlane(TVector3 &o, TVector3 &u, TVector3 &v)
PndSdsMCPoint * fCurrentPndSdsMCPoint
TMatrixT< Double_t > fHitCovMatrix
PndSdsIdealRecoTask(PndSdsIdealRecoTask &other)