EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichMatchRings.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmRichMatchRings.h
1 
13 #ifndef CBM_RICH_MATCH_RINGS
14 #define CBM_RICH_MATCH_RINGS
15 
16 #include "FairTask.h"
17 
18 #include <map>
19 
20 class TClonesArray;
21 
22 
35 {
36 
37 public:
38 
43 
47  virtual ~CbmRichMatchRings();
48 
52  virtual InitStatus Init();
53 
57  virtual void Exec(
58  Option_t* opt);
59 
63  virtual void Finish();
64 
65 
66 private:
67 
68  TClonesArray* fRings; // Array of CbmRichRings
69  TClonesArray* fPoints; // Array of FairMCPoints
70  TClonesArray* fTracks; // Array of CbmMCTracks
71  TClonesArray* fHits; // Array of CbmRichHits
72  TClonesArray* fMatches; // Array of CbmRichRingMatch
73 
74  std::map<Int_t, Int_t> fMatchMap; // Map from MCTrackID to number of common hits
75 // std::map<Int_t, Int_t> fMatchMCMap; // Map from MCTrackID to number of common hits for MC rings
76 
81 
86 
88 };
89 
90 #endif