FairRoot/PandaRoot
PndMvdGemTrackFinderOnHits.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndMvdGemTrackFinderOnHits header file -----
3 // ----- Created 02.06.2009 by R. Karabowicz -----
4 // -------------------------------------------------------------------------
5 
16 #ifndef PNDMVDGEMTRACKFINDERONHITS_H
17 #define PNDMVDGEMTRACKFINDERONHITS_H
18 
19 #include "PndPersistencyTask.h"
20 #include "FairMCPoint.h"
21 #include "PndMCTrack.h"
22 
23 #include "PndSdsHit.h"
24 #include "PndGemHit.h"
25 #include "PndGemTrackFinder.h"
26 #include "PndGemDigiPar.h"
27 
28 #include <vector>
29 
30 struct TrackSegment {
31  Int_t detId[2];
32  Int_t hitIndex[2];
36  Int_t recoTrackIndex;
37 };
38 
40 {
41 
42  public:
43 
46 
49 
52 
54  virtual void Exec(Option_t* opt);
55 
57  void SetVerbose(const Int_t& verbose) { fVerbose = verbose; };
58 
59  private:
60 
62 
64  TClonesArray* fMvdPixelHitArray;
65  TClonesArray* fMvdStripHitArray;
66  TClonesArray* fGemHitArray;
67 
69  TClonesArray* fTrackArray;
70  TClonesArray* fTrackCandArray;
71 
73  TClonesArray* fMCTrackArray;
74  TClonesArray* fMCGemPointArray;
75  TClonesArray* fMCMvdPointArray;
76 
78  // PndGemStructure *fGemStructure;
79 
86  Int_t fVerbose;
87 
92  Int_t fPrimary;
93 
94  // Parameters, taken from the digiPar file
97 
102 
105 
108 
110  Int_t fNofEvents; // event counter
112 
115  std::vector<TrackSegment> fTrackSegments;
116  Int_t FindTrackSegments (Int_t stat1Id, Int_t stat2Id);
117  Int_t FindTrackSegments (Int_t stat2Id);
118  Int_t FindTrackSegments ();
119  Int_t MatchTrackSegments ();
120  void RemoveCloneTracks (Int_t nofRecoTracks);
121  Int_t CreateTracks (Int_t nofRecoTracks);
122 
123  void PrintTrackSegments ();
124  void PrintTracks (Int_t nofRecoTracks);
125  void PrintMCTrackSegments();
126  void PrintMCTracks (Int_t nofRecoTracks);
127 
129  virtual void SetParContainers();
130 
132  virtual void Finish();
133 
135  virtual InitStatus Init();
136 
137 
139  virtual InitStatus ReInit();
140 
141 
143 
144 };
145 
146 #endif
std::vector< TrackSegment > fTrackSegments
#define verbose
Int_t CreateTracks(Int_t nofRecoTracks)
Digitization Parameter Class for GEM part.
Definition: PndGemDigiPar.h:31
void RemoveCloneTracks(Int_t nofRecoTracks)
Double_t
ClassDef(PndMvdGemTrackFinderOnHits, 1)
virtual void Exec(Option_t *opt)
void SetVerbose(const Int_t &verbose)
Int_t iVerbose
OnHits track finding algorithm.
void PrintMCTracks(Int_t nofRecoTracks)