PandaRoot
PndMvdMSAnaTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndMvdMSAnaTask header file -----
3 // ----- Created 20/03/07 by R.Kliemt -----
4 // -------------------------------------------------------------------------
5 
12 #ifndef PndMvdMSAnaTask_H
13 #define PndMvdMSAnaTask_H
14 
15 // framework includes
16 #include "FairTask.h"
17 #include "TH1.h"
18 #include "FairGeanePro.h"
19 
20 #include "PndGeoHandling.h"
21 
22 #include <vector>
23 #include <map>
24 
25 class TClonesArray;
26 class PndSdsCluster;
27 
28 class PndMvdMSAnaTask : public FairTask {
29  public:
32 
35  PndMvdMSAnaTask(const PndMvdMSAnaTask &) = delete;
36  PndMvdMSAnaTask &operator=(const PndMvdMSAnaTask &) = delete;
37 
39  virtual void SetParContainers();
40  virtual InitStatus Init();
41 
43  virtual void Exec(Option_t *opt);
44 
45  virtual void Finish();
46 
47  private:
48  TClonesArray *fMCHits;
49  TClonesArray *fMCTracks;
50  TClonesArray *fTrackParGeane;
51  TClonesArray *fTrackParIni;
52  TClonesArray *fTrackParFinal;
53  TClonesArray *fDetName;
54 
55  FairGeanePro *fPro;
56  PndGeoHandling *fGeoH;
57  int fEventNr;
58  bool fUseMVDPoint;
59 
60  std::map<int, std::vector<int>> fTrackPixHitIdMap; // Track -> PixHitId
61  std::map<int, std::vector<int>> fTrackStripHitIdMap; // Track -> StripHitId
62 
63  void Register();
64 
65  void Reset();
66 
67  void ProduceHits();
68 
69  std::map<int, std::vector<int>> AssignHitsToTracks();
70 
71  ClassDef(PndMvdMSAnaTask, 1);
72 };
73 
74 #endif
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Definition: PndSdsCluster.h:18
virtual InitStatus Init()
virtual void SetParContainers()
Class to access the naming information of the MVD.
virtual void Finish()
virtual void Exec(Option_t *opt)
PndMvdMSAnaTask & operator=(const PndMvdMSAnaTask &)=delete