CbmRoot
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 // ----- Update to new CbmMatch Class by P. Sitzmann -----
6 // -------------------------------------------------------------------------
7 
8 #include "CbmMvdHitMatch.h"
9 
10 // ----- Default constructor -------------------------------------------
12  : CbmMatch(), fFileNumber(-1), fIndex(0), fWeight(0), fEntry(-1) {
13  AddLink(0., 0, -1, -1);
14 }
15 // -------------------------------------------------------------------------
16 
17 
18 // ----- Standard constructor ------------------------------------------
20  Int_t index,
21  Int_t entry,
22  Int_t file)
23  : CbmMatch()
24  , fFileNumber(file)
25  , fIndex(index)
26  , fWeight(weight)
27  , fEntry(entry) {
28  AddLink(weight, index, entry, file);
29 }
30 // -------------------------------------------------------------------------
31 
32 
33 // -------------------------------------------------------------------------
35 // -------------------------------------------------------------------------
36 
CbmMatch
Definition: CbmMatch.h:22
ClassImp
ClassImp(CbmMvdHitMatch)
CbmMvdHitMatch::~CbmMvdHitMatch
virtual ~CbmMvdHitMatch()
Definition: CbmMvdHitMatch.cxx:34
CbmMatch::AddLink
void AddLink(const CbmLink &newLink)
Definition: CbmMatch.cxx:42
CbmMvdHitMatch
Definition: CbmMvdHitMatch.h:17
CbmMvdHitMatch.h
CbmMvdHitMatch::CbmMvdHitMatch
CbmMvdHitMatch()
Definition: CbmMvdHitMatch.cxx:11