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 
14 #ifndef PNDHYPIDEALRECOTASK_H
15 #define PNDHYPIDEALRECOTASK_H
16 
17 // Root includes
18 #include "TVector3.h"
19 #include "TRandom.h"
20 #include "TString.h"
21 #include "TGeoManager.h"
22 
23 // framework includes
24 #include "FairTask.h"
25 
26 // Hyp includes
27 #include "PndHypPoint.h"
28 #include "PndHypGeoHandling.h"
29 class TClonesArray;
30 
31 class PndHypIdealRecoTask : public FairTask {
32  public:
35 
36  PndHypIdealRecoTask(Double_t sx, Double_t sy, Double_t sz);
37 
40 
42  virtual void SetParContainers();
43  virtual InitStatus Init();
44 
46  virtual void Exec(Option_t *opt);
47 
48  private:
49  TString fBranchName;
50  PndHypGeoHandling *fGeoH;
52  TClonesArray *fPointArray;
53  TClonesArray *fMctruthArray;
54 
56  TClonesArray *fHitOutputArray;
58  Double_t fSigmaX; // Variance vector of sensor smearing
59  Double_t fSigmaY; // Variance vector of sensor smearing
60  Double_t fSigmaZ; // Variance vector of sensor smearing
61  PndHypPoint *fCurrentHypPoint;
62  TGeoHMatrix *fCurrentTransMat;
63  TMatrixT<double> fHitCovMatrix;
65  void InitTransMat();
66  void smear(TVector3 &pos);
67  void smearLocal(TVector3 &pos);
68  void CalcDetPlane(TVector3 &o, TVector3 &u, TVector3 &v);
69 
70  void Register();
71 
72  void Reset();
73 
74  void ProduceHits();
75 
76  ClassDef(PndHypIdealRecoTask, 2);
77 };
78 
79 #endif
Class to access the naming information of the MVD.
virtual void Exec(Option_t *opt)
__m128 v
Definition: P4_F32vec4.h:3
virtual void SetParContainers()
virtual InitStatus Init()