CbmRoot
CbmTrackMatch.h
Go to the documentation of this file.
1 
11 #ifndef CBMTRACKMATCH_H
12 #define CBMTRACKMATCH_H 1
13 
14 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
15 #include <RtypesCore.h> // for Int_t
16 #include <TObject.h> // for TObject
17 
18 class CbmTrackMatch : public TObject {
19 
20 public:
22  CbmTrackMatch();
23 
24 
32  CbmTrackMatch(Int_t mcTrackID,
33  Int_t nTrue,
34  Int_t nWrong,
35  Int_t nFake,
36  Int_t nTracks);
37 
38 
40  virtual ~CbmTrackMatch();
41 
42 
44  Int_t GetMCTrackId() const { return fMCTrackId; };
45 
47  Int_t GetNofTrueHits() const { return fNofTrueHits; };
48 
50  Int_t GetNofWrongHits() const { return fNofWrongHits; };
51 
53  Int_t GetNofFakeHits() const { return fNofFakeHits; };
54 
56  Int_t GetNofMCTracks() const { return fNofMCTracks; };
57 
58 
59 private:
61  Int_t fMCTrackId;
62 
64  Int_t fNofTrueHits;
65 
68 
70  Int_t fNofFakeHits;
71 
73  Int_t fNofMCTracks;
74 
75 
77 };
78 
79 
80 #endif
CbmTrackMatch::fNofMCTracks
Int_t fNofMCTracks
Definition: CbmTrackMatch.h:73
CbmTrackMatch::GetNofFakeHits
Int_t GetNofFakeHits() const
Definition: CbmTrackMatch.h:53
CbmTrackMatch
Definition: CbmTrackMatch.h:18
CbmTrackMatch::CbmTrackMatch
CbmTrackMatch()
Definition: CbmTrackMatch.cxx:11
CbmTrackMatch::GetNofTrueHits
Int_t GetNofTrueHits() const
Definition: CbmTrackMatch.h:47
CbmTrackMatch::fNofTrueHits
Int_t fNofTrueHits
Definition: CbmTrackMatch.h:64
CbmTrackMatch::fNofFakeHits
Int_t fNofFakeHits
Definition: CbmTrackMatch.h:70
CbmTrackMatch::ClassDef
ClassDef(CbmTrackMatch, 1)
CbmTrackMatch::GetNofMCTracks
Int_t GetNofMCTracks() const
Definition: CbmTrackMatch.h:56
CbmTrackMatch::~CbmTrackMatch
virtual ~CbmTrackMatch()
Definition: CbmTrackMatch.cxx:35
CbmTrackMatch::fMCTrackId
Int_t fMCTrackId
Definition: CbmTrackMatch.h:56
CbmTrackMatch::GetNofWrongHits
Int_t GetNofWrongHits() const
Definition: CbmTrackMatch.h:50
CbmTrackMatch::fNofWrongHits
Int_t fNofWrongHits
Definition: CbmTrackMatch.h:67
CbmTrackMatch::GetMCTrackId
Int_t GetMCTrackId() const
Definition: CbmTrackMatch.h:44