FairRoot/PandaRoot
PndLmdBPRungeKuttaTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndLmdBPRungeKuttaTask header file -----
3 // ----- Created 08/04/13 by A.Karavdina -----
4 // -------------------------------------------------------------------------
5 
12 #ifndef PndLmdBPRungeKuttaTask_H
13 #define PndLmdBPRungeKuttaTask_H
14 
15 // framework includes
16 #include <map>
17 #include <vector>
18 #include "FairTask.h"
19 #include "GFTrackCand.h"
20 #include "PndGeoHandling.h"
21 #include "TH1.h"
22 #include "TH2D.h"
23 #include "TMatrixD.h"
24 #include "TVector3.h"
25 
26 class TClonesArray;
27 class PndSdsCluster;
28 
29 class PndLmdBPRungeKuttaTask : public FairTask {
30  public:
33 
35  PndLmdBPRungeKuttaTask(Double_t pBeam, TVector3 IP);
36 
39 
41  virtual void SetParContainers();
42  virtual InitStatus Init();
43 
45  virtual void Exec(Option_t* opt);
46 
47  virtual void Finish();
48 
49  private:
50  /* TH1D *hxpull; */
51  /* TH1D *hypull; */
52  /* TH1D *hzpull; */
53  /* TH2D *hxresstep; */
54 
55  TClonesArray* fTrackParGeane;
56  TClonesArray* fTrackParIni;
57  TClonesArray* fTrackParFinal;
58  TClonesArray* fDetName;
59 
60  // FairGeanePro* fPro;
62  int fEventNr;
65  Int_t fPDGid;
66  TVector3 vtx;
67 
68  std::map<int, std::vector<int> > fTrackPixHitIdMap; // Track -> PixHitId
69  std::map<int, std::vector<int> > fTrackStripHitIdMap; // Track -> StripHitId
70 
71  // Input Data ----------
72  TClonesArray* fMCHits;
73  TClonesArray* fMCTracks;
74 
75  TClonesArray* fTracks; // Real tracks
76  TClonesArray* fHits; // Real hits
77  // Output Data -------
78 
79  void Register();
80 
81  void Reset();
82 
83  void ProduceHits();
84 
85  std::map<int, std::vector<int> > AssignHitsToTracks();
87 };
88 
89 #endif
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Definition: PndSdsCluster.h:19
std::map< int, std::vector< int > > fTrackPixHitIdMap
std::map< int, std::vector< int > > AssignHitsToTracks()
ClassDef(PndLmdBPRungeKuttaTask, 1)
Class to access the naming information of the MVD.
Double_t
virtual void Exec(Option_t *opt)
std::map< int, std::vector< int > > fTrackStripHitIdMap