CbmRoot
Loading...
Searching...
No Matches
CbmTrackMatch.h
Go to the documentation of this file.
1/* Copyright (C) 2009-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese [committer] */
4
15#ifndef CBMTRACKMATCH_H
16#define CBMTRACKMATCH_H 1
17
18#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
19#include <TObject.h> // for TObject
20
21#include <cstdint>
22
23class CbmTrackMatch : public TObject {
24
25public:
28
29
37 CbmTrackMatch(int32_t mcTrackID, int32_t nTrue, int32_t nWrong, int32_t nFake, int32_t nTracks);
38
39
41 virtual ~CbmTrackMatch();
42
43
45 int32_t GetMCTrackId() const { return fMCTrackId; };
46
48 int32_t GetNofTrueHits() const { return fNofTrueHits; };
49
51 int32_t GetNofWrongHits() const { return fNofWrongHits; };
52
54 int32_t GetNofFakeHits() const { return fNofFakeHits; };
55
57 int32_t GetNofMCTracks() const { return fNofMCTracks; };
58
59
60private:
62 int32_t fMCTrackId;
63
65 int32_t fNofTrueHits;
66
69
71 int32_t fNofFakeHits;
72
74 int32_t fNofMCTracks;
75
76
78};
79
80
81#endif
int32_t GetMCTrackId() const
virtual ~CbmTrackMatch()
int32_t fNofMCTracks
int32_t GetNofMCTracks() const
int32_t fNofWrongHits
int32_t GetNofWrongHits() const
int32_t GetNofFakeHits() const
int32_t fMCTrackId
int32_t GetNofTrueHits() const
int32_t fNofFakeHits
ClassDef(CbmTrackMatch, 1)
int32_t fNofTrueHits