CbmRoot
CbmRichMatchRings.h
Go to the documentation of this file.
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 
34 class CbmRichMatchRings : public FairTask {
35 
36 public:
41 
45  virtual ~CbmRichMatchRings();
46 
50  virtual InitStatus Init();
51 
55  virtual void Exec(Option_t* opt);
56 
60  virtual void Finish();
61 
62 
63 private:
64  TClonesArray* fRings; // Array of CbmRichRings
65  TClonesArray* fPoints; // Array of FairMCPoints
66  TClonesArray* fTracks; // Array of CbmMCTracks
67  TClonesArray* fHits; // Array of CbmRichHits
68  TClonesArray* fMatches; // Array of CbmRichRingMatch
69 
70  std::map<Int_t, Int_t>
71  fMatchMap; // Map from MCTrackID to number of common hits
72  // std::map<Int_t, Int_t> fMatchMCMap; // Map from MCTrackID to number of common hits for MC rings
73 
78 
83 
85 };
86 
87 #endif
CbmRichMatchRings::ClassDef
ClassDef(CbmRichMatchRings, 1)
CbmRichMatchRings::CbmRichMatchRings
CbmRichMatchRings()
Default constructor.
Definition: CbmRichMatchRings.cxx:27
CbmRichMatchRings::Exec
virtual void Exec(Option_t *opt)
Inherited from FairTask.
Definition: CbmRichMatchRings.cxx:77
CbmRichMatchRings::Init
virtual InitStatus Init()
Inherited from FairTask.
Definition: CbmRichMatchRings.cxx:43
CbmRichMatchRings::CbmRichMatchRings
CbmRichMatchRings(const CbmRichMatchRings &)
Copy constructor.
CbmRichMatchRings::fMatchMap
std::map< Int_t, Int_t > fMatchMap
Definition: CbmRichMatchRings.h:71
CbmRichMatchRings::operator=
CbmRichMatchRings & operator=(const CbmRichMatchRings &)
Assignment operator.
CbmRichMatchRings::fHits
TClonesArray * fHits
Definition: CbmRichMatchRings.h:67
CbmRichMatchRings::~CbmRichMatchRings
virtual ~CbmRichMatchRings()
Destructor.
Definition: CbmRichMatchRings.cxx:40
CbmRichMatchRings
Task class for matching a reconstructed CbmRichRings with a simulated CbmMCTrack. The matching criter...
Definition: CbmRichMatchRings.h:34
CbmRichMatchRings::fPoints
TClonesArray * fPoints
Definition: CbmRichMatchRings.h:65
CbmRichMatchRings::fMatches
TClonesArray * fMatches
Definition: CbmRichMatchRings.h:68
CbmRichMatchRings::Finish
virtual void Finish()
Inherited from FairTask.
Definition: CbmRichMatchRings.cxx:169
CbmRichMatchRings::fTracks
TClonesArray * fTracks
Definition: CbmRichMatchRings.h:66
CbmRichMatchRings::fRings
TClonesArray * fRings
Definition: CbmRichMatchRings.h:64