CbmRoot
CbmMuchTrackFinderIdeal.h
Go to the documentation of this file.
1 
9 #ifndef CBMMUCHTRACKFINDERIDEAL_H_
10 #define CBMMUCHTRACKFINDERIDEAL_H_ 1
11 
12 #include "CbmMuchTrackFinder.h"
13 
14 #include "CbmHit.h"
15 
16 #include <map>
17 
18 class TClonesArray;
19 class CbmMCTrack;
20 class FairMCPoint;
21 class CbmMuchTrack;
22 
24 public:
26  virtual ~CbmMuchTrackFinderIdeal();
27 
28  virtual void Init();
29 
30  Int_t DoFind(TClonesArray* trackArray);
31 
32 private:
33  void ProcessDigiMatches(const TClonesArray* digiMatches,
34  Int_t digiIndex,
35  Int_t hitIndex,
36  HitType hitType);
37 
38  void SetTrackParam(const CbmMCTrack* mcTrack,
39  const FairMCPoint* mcPoint,
40  CbmMuchTrack* track);
41 
42  TClonesArray* fMCTracks;
43  TClonesArray* fMCPoints;
44  TClonesArray* fPixelHits;
45  TClonesArray* fTracks;
46  TClonesArray* fPixelDigiMatches;
47  TClonesArray* fClusters;
48 
49  // MCTrack index to MuchTrack index
50  std::map<Int_t, Int_t> fTrackMap;
51 
52  Int_t fVerbose;
53  Int_t fEvents;
54 
57 
59 };
60 
61 #endif
CbmMuchTrackFinder.h
CbmMuchTrackFinderIdeal::fPixelHits
TClonesArray * fPixelHits
Definition: CbmMuchTrackFinderIdeal.h:44
CbmMuchTrackFinderIdeal
Definition: CbmMuchTrackFinderIdeal.h:23
CbmMuchTrackFinderIdeal::fMCPoints
TClonesArray * fMCPoints
Definition: CbmMuchTrackFinderIdeal.h:43
CbmMuchTrackFinderIdeal::fTracks
TClonesArray * fTracks
Definition: CbmMuchTrackFinderIdeal.h:45
CbmMuchTrackFinderIdeal::Init
virtual void Init()
Definition: CbmMuchTrackFinderIdeal.cxx:37
CbmMuchTrackFinderIdeal::operator=
CbmMuchTrackFinderIdeal & operator=(const CbmMuchTrackFinderIdeal &)
CbmMuchTrack
Definition: CbmMuchTrack.h:16
CbmMuchTrackFinderIdeal::fMCTracks
TClonesArray * fMCTracks
Definition: CbmMuchTrackFinderIdeal.h:42
CbmMuchTrackFinderIdeal::CbmMuchTrackFinderIdeal
CbmMuchTrackFinderIdeal()
Definition: CbmMuchTrackFinderIdeal.cxx:23
CbmMuchTrackFinder
Definition: CbmMuchTrackFinder.h:15
CbmHit.h
CbmMuchTrackFinderIdeal::fClusters
TClonesArray * fClusters
Definition: CbmMuchTrackFinderIdeal.h:47
HitType
HitType
Definition: CbmHit.h:16
CbmMuchTrackFinderIdeal::fTrackMap
std::map< Int_t, Int_t > fTrackMap
Definition: CbmMuchTrackFinderIdeal.h:50
CbmMuchTrackFinderIdeal::~CbmMuchTrackFinderIdeal
virtual ~CbmMuchTrackFinderIdeal()
Definition: CbmMuchTrackFinderIdeal.cxx:35
CbmMuchTrackFinderIdeal::fVerbose
Int_t fVerbose
Definition: CbmMuchTrackFinderIdeal.h:52
CbmMuchTrackFinderIdeal::fEvents
Int_t fEvents
Definition: CbmMuchTrackFinderIdeal.h:53
CbmMuchTrackFinderIdeal::fPixelDigiMatches
TClonesArray * fPixelDigiMatches
Definition: CbmMuchTrackFinderIdeal.h:46
CbmMCTrack
Definition: CbmMCTrack.h:34
CbmMuchTrackFinderIdeal::CbmMuchTrackFinderIdeal
CbmMuchTrackFinderIdeal(const CbmMuchTrackFinderIdeal &)
CbmMuchTrackFinderIdeal::ClassDef
ClassDef(CbmMuchTrackFinderIdeal, 1)
CbmMuchTrackFinderIdeal::DoFind
Int_t DoFind(TClonesArray *trackArray)
Definition: CbmMuchTrackFinderIdeal.cxx:64
CbmMuchTrackFinderIdeal::SetTrackParam
void SetTrackParam(const CbmMCTrack *mcTrack, const FairMCPoint *mcPoint, CbmMuchTrack *track)
Definition: CbmMuchTrackFinderIdeal.cxx:125
CbmMuchTrackFinderIdeal::ProcessDigiMatches
void ProcessDigiMatches(const TClonesArray *digiMatches, Int_t digiIndex, Int_t hitIndex, HitType hitType)
Definition: CbmMuchTrackFinderIdeal.cxx:97