FairRoot/PandaRoot
PndHypIdealTrackFinderTask.h
Go to the documentation of this file.
1 
9 #ifndef PndHypIdealTrackFinderTASK_H
10 #define PndHypIdealTrackFinderTASK_H
11 
12 #include "FairTask.h"
13 #include "PndMCTrack.h"
14 #include "PndGeoHypPar.h"
15 #include "PndHypHit.h"
16 #include "PndHypPoint.h"
17 //#include "PndHypPixel.h"
18 //#include "PndHypClusterCand.h"
19 #include "GFTrackCand.h"
20 #include "PndHypCluster.h"
21 #include <string>
22 #include <vector>
23 
24 class TClonesArray;
25 
26 class PndHypIdealTrackFinderTask : 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  void PrintResult();
45  void SetVerbose(Int_t verbose){ fVerbose = verbose;};
46 
47 
48  private:
49 
50  //std::vector<Int_t> GetHitPerCluster(PndHypCluster* clusterCand);
51  void ClearTrackCandMap();
52  void AddAndExpand(Int_t trackID, Int_t detnum, Int_t iHit);
55 
57  //TString fClusterBranchStrip;
58  //TString fDigiBranchStrip;
61 
63  TClonesArray* fStripHitArray;
64  //TClonesArray* fStripClusterArray;
65  //TClonesArray* fStripDigiArray;
66  TClonesArray* fMcArray;
67  TClonesArray* fTrackArray;
68 
70  TClonesArray* fTrackCandArray;
71  std::map<Int_t, GFTrackCand*> fTrackCandMap;
72 
73  Int_t fVerbose;
74 
75 
76  void Register();
77  void Reset();
78  void ProduceHits();
79 
80 
82 
83 };
84 
85 #endif /* PndHypIdealTrackFinderTASK_H */
86 
#define verbose
virtual void Exec(Option_t *opt)
Double_t
void AddAndExpand(Int_t trackID, Int_t detnum, Int_t iHit)
ClassDef(PndHypIdealTrackFinderTask, 2)
Double_t GetTrackCurvature(PndMCTrack *myTrack)
std::map< Int_t, GFTrackCand * > fTrackCandMap
Double_t GetTrackDip(PndMCTrack *myTrack)