FairRoot/PandaRoot
PndHypIdealRecoTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- MvdIdealRecoTask header file -----
3 // ----- Created 20/03/07 by R.Kliemt -----
4 // ----- Modified to HypIdealRecoTask 12.10.07 by A.Sanchez
5 // -------------------------------------------------------------------------
6 
7 
16 #ifndef PNDHYPIDEALRECOTASK_H
17 #define PNDHYPIDEALRECOTASK_H
18 
19 // Root includes
20 #include "TVector3.h"
21 #include "TRandom.h"
22 #include "TString.h"
23 #include "TGeoManager.h"
24 
25 // framework includes
26 #include "FairTask.h"
27 
28 // Hyp includes
29 #include "PndHypPoint.h"
30 #include "PndHypGeoHandling.h"
31 class TClonesArray;
32 
33 class PndHypIdealRecoTask : public FairTask
34 {
35  public:
36 
39 
41 
42 
45 
46 
48  virtual void SetParContainers();
49  virtual InitStatus Init();
50 
51 
53  virtual void Exec(Option_t* opt);
54 
55 
56  private:
57 
58 
62  TClonesArray* fPointArray;
63  TClonesArray* fMctruthArray;
64 
66  TClonesArray* fHitOutputArray;
68  Double_t fSigmaX; // Variance vector of sensor smearing
69  Double_t fSigmaY; // Variance vector of sensor smearing
70  Double_t fSigmaZ; // Variance vector of sensor smearing
72  TGeoHMatrix* fCurrentTransMat;
73  TMatrixT<double> fHitCovMatrix;
75  void InitTransMat();
76  void smear(TVector3& pos);
77  void smearLocal(TVector3& pos);
78  void CalcDetPlane(TVector3& o,TVector3& u,TVector3& v);
79 
80 
81  void Register();
82 
83  void Reset();
84 
85  void ProduceHits();
86 
88 
89 };
90 
91 #endif
TVector3 pos
virtual void SetParContainers()
PndHypPoint * fCurrentHypPoint
TClonesArray * fPointArray
Class to access the naming information of the MVD.
__m128 v
Definition: P4_F32vec4.h:4
virtual void Exec(Option_t *opt)
ClassDef(PndHypIdealRecoTask, 2)
Double_t
virtual InitStatus Init()
void smear(TVector3 &pos)
TGeoHMatrix * fCurrentTransMat
TClonesArray * fHitOutputArray
TClonesArray * fMctruthArray
PndHypGeoHandling * fGeoH
void CalcDetPlane(TVector3 &o, TVector3 &u, TVector3 &v)
void smearLocal(TVector3 &pos)
TMatrixT< double > fHitCovMatrix