PandaRoot
PndHypGeIdealTrackFinderTask.h
Go to the documentation of this file.
1 
8 #ifndef PNDHYPGEIDEALTRACKFINDERTASK_H
9 #define PNDHYPGEIDEALTRACKFINDERTASK_H
10 
11 #include "FairTask.h"
12 #include "PndMCTrack.h"
13 
14 #include "TH1.h"
15 #include "PndHypGePoint.h"
16 
17 //#include "GFTrackCand.h"
18 //#include "PndHypCluster.h"
19 #include <string>
20 #include <vector>
21 #include <map>
22 
23 class TClonesArray;
24 
25 class PndHypGeIdealTrackFinderTask : public FairTask {
26  public:
31 
33  virtual void SetParContainers();
34  virtual InitStatus Init();
35  virtual InitStatus ReInit();
36 
38  virtual void Exec(Option_t *opt);
39 
40  void WriteHistograms();
41 
42  private:
43  TString fMcBranch;
44  TString fTrackBranch;
45 
48  TClonesArray *fMcArray;
49  TClonesArray *fTrackArray;
50 
53  TH1F *hismom;
54  int fEventNr;
55  std::map<int, std::vector<int>> mcHitMap;
56  Int_t fVerbose;
57 
58  // void Register();
59  // void Reset();
60  // void ProduceHits();
61  // std::map<int, std::vector<int> > AssignHitsToTracks();
62 
63  ClassDef(PndHypGeIdealTrackFinderTask, 1);
64 };
65 
66 #endif /* PndHypGeIdealTrackFinderTASK_H */
virtual void SetParContainers()
virtual InitStatus Init()
virtual InitStatus ReInit()
virtual void Exec(Option_t *opt)