CbmRoot
CbmMuchPixelHit.cxx
Go to the documentation of this file.
1
6
#include "
CbmMuchPixelHit.h
"
7
8
#include "
CbmHit.h
"
// for kMUCHPIXELHIT
9
10
#include <TVector3.h>
// for TVector3
11
12
CbmMuchPixelHit::CbmMuchPixelHit
() :
CbmPixelHit
(), fPlaneId(-1), fFlag(0) {
13
SetType
(
kMUCHPIXELHIT
);
14
}
15
16
CbmMuchPixelHit::~CbmMuchPixelHit
() {}
17
18
CbmMuchPixelHit::CbmMuchPixelHit
(Int_t address,
19
Double_t
x
,
20
Double_t
y
,
21
Double_t z,
22
Double_t dx,
23
Double_t dy,
24
Double_t dz,
25
Double_t dxy,
26
Int_t refId,
27
Int_t planeId,
28
Double_t t,
29
Double_t dt)
30
:
CbmPixelHit
(address,
x
,
y
, z, dx, dy, dz, dxy, refId)
31
, fPlaneId(planeId)
32
, fFlag(0) {
33
SetType
(
kMUCHPIXELHIT
);
34
SetTime
(t);
35
SetTimeError
(dt);
36
}
37
38
CbmMuchPixelHit::CbmMuchPixelHit
(Int_t address,
39
const
TVector3&
pos
,
40
const
TVector3& err,
41
Double_t dxy,
42
Int_t refId,
43
Int_t planeId)
44
:
CbmPixelHit
(address,
pos
, err, dxy, refId), fPlaneId(planeId), fFlag(0) {
45
SetType
(
kMUCHPIXELHIT
);
46
SetTime
(-1);
47
SetTimeError
(-1.);
48
}
49
50
CbmMuchPixelHit::CbmMuchPixelHit
(Int_t address,
51
const
TVector3&
pos
,
52
const
TVector3& err,
53
Double_t dxy,
54
Int_t refId,
55
Int_t planeId,
56
Double_t
/*time*/
,
57
Double_t
/*dtime*/
)
58
:
CbmPixelHit
(address,
pos
, err, dxy, refId), fPlaneId(planeId), fFlag(0) {
59
SetType
(
kMUCHPIXELHIT
);
60
SetTime
(-1);
61
SetTimeError
(-1.);
62
}
63
64
ClassImp
(
CbmMuchPixelHit
);
ClassImp
ClassImp(CbmMuchPixelHit)
CbmHit::SetType
void SetType(HitType type)
Sets hit type.
Definition:
CbmHit.h:112
CbmHit.h
CbmMuchPixelHit::~CbmMuchPixelHit
virtual ~CbmMuchPixelHit()
Destructor.
Definition:
CbmMuchPixelHit.cxx:16
CbmHit::SetTimeError
void SetTimeError(Double_t error)
Definition:
CbmHit.h:89
CbmHit::SetTime
void SetTime(Double_t time)
Definition:
CbmHit.h:84
x
Double_t x
Definition:
CbmMvdSensorDigiToHitTask.cxx:68
CbmMuchPixelHit.h
Class for pixel hits in MUCH detector.
y
Double_t y
Definition:
CbmMvdSensorDigiToHitTask.cxx:68
pos
TVector3 pos
Definition:
CbmMvdSensorDigiToHitTask.cxx:60
CbmPixelHit
Definition:
CbmPixelHit.h:21
kMUCHPIXELHIT
@ kMUCHPIXELHIT
Definition:
CbmHit.h:23
CbmMuchPixelHit
Definition:
CbmMuchPixelHit.h:17
CbmMuchPixelHit::CbmMuchPixelHit
CbmMuchPixelHit()
Default constructor.
Definition:
CbmMuchPixelHit.cxx:12
core
data
much
CbmMuchPixelHit.cxx
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18