CbmRoot
Loading...
Searching...
No Matches
CbmMvdHitMatch.h
Go to the documentation of this file.
1/* Copyright (C) 2017-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: 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
13#ifndef CBMMVDHITMATCH_H
14#define CBMMVDHITMATCH_H 1
15
16#include "CbmMatch.h" // for CbmMatch
17
18#include <Rtypes.h> // for ClassDef
19
20#include <cstdint>
21
22class CbmMvdHitMatch : public CbmMatch {
23
24public:
27
28
30 CbmMvdHitMatch(double weight, int32_t index, int32_t entry = -1, int32_t file = -1);
31
32 CbmMvdHitMatch(int32_t /*par1*/, int32_t /*par2*/, int32_t /*par3*/, int32_t /*par4*/, int32_t /*par5*/)
33 : CbmMatch()
34 , fFileNumber(-1)
35 , fIndex(-1)
36 , fWeight(-1.)
37 , fEntry(-1)
38 {
39 ;
40 } //quick solution for error in CbmMvdHitProducer
41
42
44 virtual ~CbmMvdHitMatch();
45
46
48 int32_t GetFileNumber() const { return fFileNumber; }
49 int32_t GetIndexNumber() const { return fIndex; }
50 int32_t GetEntryNumber() const { return fEntry; }
51 float GetWeight() const { return fWeight; }
52
53 int32_t GetPointId() const { return 0; }
54 int32_t GetTrackId() const { return 0; }
55 int32_t GetNMerged() const { return 0; }
56 void AddMerged() { ; }
57
58
60 virtual void Clear(Option_t*) { ; }
61
62private:
63 int32_t fFileNumber;
64 int32_t fIndex;
65 double fWeight;
66 int32_t fEntry;
67
69};
70
71
72#endif
ClassDef(CbmMvdHitMatch, 1)
int32_t GetIndexNumber() const
int32_t GetTrackId() const
virtual ~CbmMvdHitMatch()
int32_t GetNMerged() const
float GetWeight() const
int32_t GetEntryNumber() const
CbmMvdHitMatch(int32_t, int32_t, int32_t, int32_t, int32_t)
virtual void Clear(Option_t *)
int32_t GetPointId() const
int32_t GetFileNumber() const