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 
13 #ifndef PNDSDSIDEALRECOTASK_H
14 #define PNDSDSIDEALRECOTASK_H
15 
16 // Root includes
17 #include "TVector3.h"
18 #include "TRandom.h"
19 #include "TString.h"
20 #include "TGeoManager.h"
21 
22 // framework includes
23 #include "PndSdsTask.h"
24 
25 // PndSds includes
26 #include "PndSdsMCPoint.h"
27 #include "PndGeoHandling.h"
28 
29 class TClonesArray;
30 
32  public:
35 
36  PndSdsIdealRecoTask(Double_t sx, Double_t sy, Double_t sz);
37 
42  {
43  }
44 
46  virtual ~PndSdsIdealRecoTask();
47 
49  {
50  fGeoH = other.fGeoH;
51  fPointArray = other.fPointArray;
54  fSigmaX = other.fSigmaX;
55  fSigmaY = other.fSigmaY;
56  fSigmaZ = other.fSigmaZ;
60  return *this;
61  };
62 
64  virtual void SetParContainers();
65  virtual InitStatus Init();
66 
68  virtual void Exec(Option_t *opt);
69 
70  protected:
72 
74  TClonesArray *fPointArray;
75  TClonesArray *fMctruthArray;
76 
78  TClonesArray *fHitOutputArray;
80  Double_t fSigmaX; // Variance vector of sensor smearing
81  Double_t fSigmaY; // Variance vector of sensor smearing
82  Double_t fSigmaZ; // Variance vector of sensor smearing
84  TGeoHMatrix *fCurrentTransMat;
85  TMatrixT<Double_t> fHitCovMatrix;
87  void InitTransMat();
88  void smear(TVector3 &pos);
89  void smearLocal(TVector3 &pos);
90  void CalcDetPlane(TVector3 &o, TVector3 &u, TVector3 &v);
91 
92  void Register();
93 
94  void Reset();
95 
96  void ProduceHits();
97 
99 };
100 
101 #endif
PndSdsIdealRecoTask & operator=(PndSdsIdealRecoTask &other)
virtual void Exec(Option_t *opt)
virtual void SetParContainers()
void smear(TVector3 &pos)
ClassDef(PndSdsIdealRecoTask, 1)
PndGeoHandling * fGeoH
TGeoHMatrix * fCurrentTransMat
void smearLocal(TVector3 &pos)
__m128 v
Definition: P4_F32vec4.h:3
TClonesArray * fHitOutputArray
Class to access the naming information of the MVD.
TClonesArray * fMctruthArray
virtual InitStatus Init()
TClonesArray * fPointArray
void CalcDetPlane(TVector3 &o, TVector3 &u, TVector3 &v)
PndSdsMCPoint * fCurrentPndSdsMCPoint
TMatrixT< Double_t > fHitCovMatrix
PndSdsIdealRecoTask(PndSdsIdealRecoTask &other)
virtual ~PndSdsIdealRecoTask()