BmnRoot
26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
CbmMvdHitMatch.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmMvdHitMatch source file -----
3
// ----- Created 07/11/06 by V. Friese -----
4
// ----- Based on CbmStsMapsHitInfo by M. Deveaux -----
5
// -------------------------------------------------------------------------
6
7
#include "
CbmMvdHitMatch.h
"
8
9
// ----- Default constructor -------------------------------------------
10
CbmMvdHitMatch::CbmMvdHitMatch
()
11
:
TObject
()
12
,
fFileNumber
(-1)
13
,
fEventNumber
(-1)
14
,
fTrackId
(-1)
15
,
fPointId
(-1)
16
,
fNMerged
(0)
17
{
18
// Clear();
19
}
20
// -------------------------------------------------------------------------
21
22
// ----- Standard constructor ------------------------------------------
23
CbmMvdHitMatch::CbmMvdHitMatch
(
Int_t
fileNumber,
Int_t
eventNumber,
Int_t
trackId,
Int_t
pointId,
Int_t
nMerged)
24
:
TObject
()
25
,
fFileNumber
(fileNumber)
26
,
fEventNumber
(eventNumber)
27
,
fTrackId
(trackId)
28
,
fPointId
(pointId)
29
,
fNMerged
(nMerged)
30
{}
31
// -------------------------------------------------------------------------
32
33
// ----- Destructor ----------------------------------------------------
34
CbmMvdHitMatch::~CbmMvdHitMatch
() {}
35
// -------------------------------------------------------------------------
36
37
// ----- Public method Clear -------------------------------------------
38
void
CbmMvdHitMatch::Clear
()
39
{
40
fFileNumber
= -1;
41
fEventNumber
= -1;
42
fTrackId
= -1;
43
fPointId
= -1;
44
fNMerged
= 0;
45
}
46
// -------------------------------------------------------------------------
CbmMvdHitMatch.h
Int_t
int Int_t
CbmMvdHitMatch::Clear
void Clear()
Reset data members.
Definition
CbmMvdHitMatch.cxx:38
CbmMvdHitMatch::fFileNumber
Int_t fFileNumber
Indicates the file to which the corresponding point belongs.
Definition
CbmMvdHitMatch.h:58
CbmMvdHitMatch::fNMerged
Int_t fNMerged
Number of other hits this one is merged with -1 => Hit was created without checking for merging 0 => ...
Definition
CbmMvdHitMatch.h:85
CbmMvdHitMatch::fPointId
Int_t fPointId
Index of the corresponding MCPoint in its TClonesArray.
Definition
CbmMvdHitMatch.h:78
CbmMvdHitMatch::~CbmMvdHitMatch
virtual ~CbmMvdHitMatch()
Destructor.
Definition
CbmMvdHitMatch.cxx:34
CbmMvdHitMatch::CbmMvdHitMatch
CbmMvdHitMatch()
Default constructor.
Definition
CbmMvdHitMatch.cxx:10
CbmMvdHitMatch::fTrackId
Int_t fTrackId
Index of the corresponding MCTrack in its TClonesArray.
Definition
CbmMvdHitMatch.h:72
CbmMvdHitMatch::fEventNumber
Int_t fEventNumber
Event number of the corresponding MCPoint.
Definition
CbmMvdHitMatch.h:66
TObject::TObject
TObject()
base
cbm
CbmMvdHitMatch.cxx
Generated on
for BmnRoot by
1.17.0