FairRoot/PandaRoot
PndHypGeIdealTrackFinderTask.h
Go to the documentation of this file.
1 
9 #ifndef PNDHYPGEIDEALTRACKFINDERTASK_H
10 #define PNDHYPGEIDEALTRACKFINDERTASK_H
11 
12 #include "FairTask.h"
13 #include "PndMCTrack.h"
14 
15 #include "TH1.h"
16 #include "PndHypGePoint.h"
17 
18 //#include "GFTrackCand.h"
19 //#include "PndHypCluster.h"
20 #include <string>
21 #include <vector>
22 #include <map>
23 
24 class TClonesArray;
25 
26 class PndHypGeIdealTrackFinderTask : public FairTask
27 {
28  public:
29 
34 
35 
37  virtual void SetParContainers();
38  virtual InitStatus Init();
39  virtual InitStatus ReInit();
40 
42  virtual void Exec(Option_t* opt);
43 
44 
45  void WriteHistograms();
46 
47  private:
48 
51 
54  TClonesArray* fMcArray;
55  TClonesArray* fTrackArray;
56 
59  TH1F* hismom;
60  int fEventNr;
61  std::map<int, std::vector<int> > mcHitMap;
62  Int_t fVerbose;
63 
64 
65  //void Register();
66  //void Reset();
67  //void ProduceHits();
68  //std::map<int, std::vector<int> > AssignHitsToTracks();
69 
71 
72 };
73 
74 #endif /* PndHypGeIdealTrackFinderTASK_H */
75 
ClassDef(PndHypGeIdealTrackFinderTask, 1)
std::map< int, std::vector< int > > mcHitMap