CbmRoot
CbmMvdHitMatch.h
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
9
#ifndef CBMMVDHITMATCH_H
10
#define CBMMVDHITMATCH_H 1
11
12
#include <Rtypes.h>
// for ClassDef
13
#include <RtypesCore.h>
// for Int_t, Double_t, Float_t, Option_t
14
15
#include "
CbmMatch.h
"
// for CbmMatch
16
17
class
CbmMvdHitMatch
:
public
CbmMatch
{
18
19
public
:
21
CbmMvdHitMatch
();
22
23
25
CbmMvdHitMatch
(Double_t weight,
26
Int_t index,
27
Int_t entry = -1,
28
Int_t file = -1);
29
30
CbmMvdHitMatch
(Int_t
/*par1*/
,
31
Int_t
/*par2*/
,
32
Int_t
/*par3*/
,
33
Int_t
/*par4*/
,
34
Int_t
/*par5*/
)
35
:
CbmMatch
(),
fFileNumber
(-1),
fIndex
(-1),
fWeight
(-1.),
fEntry
(-1) {
36
;
37
}
//quick solution for error in CbmMvdHitProducer
38
39
41
virtual
~CbmMvdHitMatch
();
42
43
45
Int_t
GetFileNumber
()
const
{
return
fFileNumber
; }
46
Int_t
GetIndexNumber
()
const
{
return
fIndex
; }
47
Int_t
GetEntryNumber
()
const
{
return
fEntry
; }
48
Float_t
GetWeight
()
const
{
return
fWeight
; }
49
50
Int_t
GetPointId
()
const
{
return
0; }
51
Int_t
GetTrackId
()
const
{
return
0; }
52
Int_t
GetNMerged
()
const
{
return
0; }
53
void
AddMerged
() { ; }
54
55
57
virtual
void
Clear
(Option_t*) { ; }
58
59
private
:
60
Int_t
fFileNumber
;
61
Int_t
fIndex
;
62
Double_t
fWeight
;
63
Int_t
fEntry
;
64
65
ClassDef
(
CbmMvdHitMatch
, 1);
66
};
67
68
69
#endif
CbmMvdHitMatch::CbmMvdHitMatch
CbmMvdHitMatch(Int_t, Int_t, Int_t, Int_t, Int_t)
Definition:
CbmMvdHitMatch.h:30
CbmMatch
Definition:
CbmMatch.h:22
CbmMvdHitMatch::GetPointId
Int_t GetPointId() const
Definition:
CbmMvdHitMatch.h:50
CbmMvdHitMatch::fEntry
Int_t fEntry
Definition:
CbmMvdHitMatch.h:63
CbmMvdHitMatch::ClassDef
ClassDef(CbmMvdHitMatch, 1)
CbmMvdHitMatch::fFileNumber
Int_t fFileNumber
Definition:
CbmMvdHitMatch.h:60
CbmMvdHitMatch::GetEntryNumber
Int_t GetEntryNumber() const
Definition:
CbmMvdHitMatch.h:47
CbmMvdHitMatch::Clear
virtual void Clear(Option_t *)
Definition:
CbmMvdHitMatch.h:57
CbmMvdHitMatch::fIndex
Int_t fIndex
Definition:
CbmMvdHitMatch.h:61
CbmMatch.h
CbmMvdHitMatch::AddMerged
void AddMerged()
Definition:
CbmMvdHitMatch.h:53
CbmMvdHitMatch::GetFileNumber
Int_t GetFileNumber() const
Definition:
CbmMvdHitMatch.h:45
CbmMvdHitMatch::~CbmMvdHitMatch
virtual ~CbmMvdHitMatch()
Definition:
CbmMvdHitMatch.cxx:34
CbmMvdHitMatch
Definition:
CbmMvdHitMatch.h:17
CbmMvdHitMatch::GetWeight
Float_t GetWeight() const
Definition:
CbmMvdHitMatch.h:48
CbmMvdHitMatch::GetTrackId
Int_t GetTrackId() const
Definition:
CbmMvdHitMatch.h:51
CbmMvdHitMatch::GetNMerged
Int_t GetNMerged() const
Definition:
CbmMvdHitMatch.h:52
CbmMvdHitMatch::fWeight
Double_t fWeight
Definition:
CbmMvdHitMatch.h:62
CbmMvdHitMatch::CbmMvdHitMatch
CbmMvdHitMatch()
Definition:
CbmMvdHitMatch.cxx:11
CbmMvdHitMatch::GetIndexNumber
Int_t GetIndexNumber() const
Definition:
CbmMvdHitMatch.h:46
core
data
mvd
CbmMvdHitMatch.h
Generated on Wed Oct 28 2020 15:11:43 for CbmRoot by
1.8.18