CbmRoot
Loading...
Searching...
No Matches
CbmMvdHitMatch.cxx
Go to the documentation of this file.
1/* Copyright (C) 2006-2017 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese, Florian Uhlig [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmMvdHitMatch source file -----
7// ----- Created 07/11/06 by V. Friese -----
8// ----- Based on CbmStsMapsHitInfo by M. Deveaux -----
9// ----- Update to new CbmMatch Class by P. Sitzmann -----
10// -------------------------------------------------------------------------
11
12#include "CbmMvdHitMatch.h"
13
14// ----- Default constructor -------------------------------------------
15CbmMvdHitMatch::CbmMvdHitMatch() : CbmMatch(), fFileNumber(-1), fIndex(0), fWeight(0), fEntry(-1)
16{
17 AddLink(0., 0, -1, -1);
18}
19// -------------------------------------------------------------------------
20
21
22// ----- Standard constructor ------------------------------------------
23CbmMvdHitMatch::CbmMvdHitMatch(double weight, int32_t index, int32_t entry, int32_t file)
24 : CbmMatch()
25 , fFileNumber(file)
26 , fIndex(index)
27 , fWeight(weight)
28 , fEntry(entry)
29{
30 AddLink(weight, index, entry, file);
31}
32// -------------------------------------------------------------------------
33
34
35// -------------------------------------------------------------------------
37// -------------------------------------------------------------------------
38
ClassImp(CbmMvdHitMatch)
void AddLink(const CbmLink &newLink)
Definition CbmMatch.cxx:47
virtual ~CbmMvdHitMatch()