FairRoot/PandaRoot
PndMvdIdealRecoTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndMvdIdealRecoTask header file -----
3 // ----- Created 20/03/07 by R.Kliemt -----
4 // -------------------------------------------------------------------------
5 
6 
15 #ifndef PNDMVDIDEALRECOTASK_H
16 #define PNDMVDIDEALRECOTASK_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 "FairTask.h"
26 
27 // PndMvd includes
28 #include "PndSdsMCPoint.h"
29 #include "PndGeoHandling.h"
30 
31 class TClonesArray;
32 
33 class PndMvdIdealRecoTask : public FairTask
34 {
35  public:
36 
39 
41 
42 
44  virtual ~PndMvdIdealRecoTask();
45 
46  PndMvdIdealRecoTask(const PndMvdIdealRecoTask& ) = delete;
48 
50  virtual void SetParContainers();
51  virtual InitStatus Init();
52 
53 
55  virtual void Exec(Option_t* opt);
56 
57 
60 
61 private:
62  Bool_t fPersistance; // switch to turn on/off storing the arrays to a file
63 
67  TClonesArray* fPointArray;
68  TClonesArray* fMctruthArray;
69 
71  TClonesArray* fHitOutputArray;
73  Double_t fSigmaX; // Variance vector of sensor smearing
74  Double_t fSigmaY; // Variance vector of sensor smearing
75  Double_t fSigmaZ; // Variance vector of sensor smearing
77  TGeoHMatrix* fCurrentTransMat;
78  TMatrixT<Double_t> fHitCovMatrix;
80  void InitTransMat();
81  void smear(TVector3& pos);
82  void smearLocal(TVector3& pos);
83  void CalcDetPlane(TVector3& o,TVector3& u,TVector3& v);
84 
85 
86  void Register();
87 
88  void Reset();
89 
90  void ProduceHits();
91 
93 
94 };
95 
96 #endif
TVector3 pos
PndGeoHandling * fGeoH
PndSdsMCPoint * fCurrentPndMvdMCPoint
TMatrixT< Double_t > fHitCovMatrix
ClassDef(PndMvdIdealRecoTask, 1)
void CalcDetPlane(TVector3 &o, TVector3 &u, TVector3 &v)
__m128 v
Definition: P4_F32vec4.h:4
TClonesArray * fHitOutputArray
Double_t p
Definition: anasim.C:58
Class to access the naming information of the MVD.
virtual void Exec(Option_t *opt)
TClonesArray * fPointArray
Double_t
TClonesArray * fMctruthArray
void smear(TVector3 &pos)
TGeoHMatrix * fCurrentTransMat
virtual void SetParContainers()
void SetPersistance(Bool_t p=kTRUE)
PndMvdIdealRecoTask & operator=(const PndMvdIdealRecoTask &)=delete
void smearLocal(TVector3 &pos)
virtual InitStatus Init()