BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
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 -------------------------------------------
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 ------------------------------------------
23CbmMvdHitMatch::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 ----------------------------------------------------
35// -------------------------------------------------------------------------
36
37// ----- Public method Clear -------------------------------------------
39{
40 fFileNumber = -1;
41 fEventNumber = -1;
42 fTrackId = -1;
43 fPointId = -1;
44 fNMerged = 0;
45}
46// -------------------------------------------------------------------------
int Int_t
void Clear()
Reset data members.
Int_t fFileNumber
Indicates the file to which the corresponding point belongs.
Int_t fNMerged
Number of other hits this one is merged with -1 => Hit was created without checking for merging 0 => ...
Int_t fPointId
Index of the corresponding MCPoint in its TClonesArray.
virtual ~CbmMvdHitMatch()
Destructor.
CbmMvdHitMatch()
Default constructor.
Int_t fTrackId
Index of the corresponding MCTrack in its TClonesArray.
Int_t fEventNumber
Event number of the corresponding MCPoint.