CbmRoot
Loading...
Searching...
No Matches
CbmMuchPixelHit.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2009-2020 GSI/JINR-LIT, Darmstadt/Dubna
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Andrey Lebedev [committer], Florian Uhlig, Mikhail Ryzhinskiy */
4
10
#include "
CbmMuchPixelHit.h
"
11
12
#include "
CbmHit.h
"
// for kMUCHPIXELHIT
13
14
#include <TVector3.h>
// for TVector3
15
16
CbmMuchPixelHit::CbmMuchPixelHit
() :
CbmPixelHit
(),
fPlaneId
(-1),
fFlag
(0) {
SetType
(
kMUCHPIXELHIT
); }
17
18
CbmMuchPixelHit::~CbmMuchPixelHit
() {}
19
20
CbmMuchPixelHit::CbmMuchPixelHit
(int32_t address,
double
x
,
double
y
,
double
z,
double
dx,
double
dy,
double
dz,
21
double
dxy, int32_t refId, int32_t planeId,
double
t,
double
dt)
22
:
CbmPixelHit
(address,
x
,
y
, z, dx, dy, dz, dxy, refId)
23
,
fPlaneId
(planeId)
24
,
fFlag
(0)
25
{
26
SetType
(
kMUCHPIXELHIT
);
27
SetTime
(t);
28
SetTimeError
(dt);
29
}
30
31
CbmMuchPixelHit::CbmMuchPixelHit
(int32_t address,
const
TVector3&
pos
,
const
TVector3& err,
double
dxy, int32_t refId,
32
int32_t planeId)
33
:
CbmPixelHit
(address,
pos
, err, dxy, refId)
34
,
fPlaneId
(planeId)
35
,
fFlag
(0)
36
{
37
SetType
(
kMUCHPIXELHIT
);
38
SetTime
(-1);
39
SetTimeError
(-1.);
40
}
41
42
CbmMuchPixelHit::CbmMuchPixelHit
(int32_t address,
const
TVector3&
pos
,
const
TVector3& err,
double
dxy, int32_t refId,
43
int32_t planeId,
double
/*time*/
,
double
/*dtime*/
)
44
:
CbmPixelHit
(address,
pos
, err, dxy, refId)
45
,
fPlaneId
(planeId)
46
,
fFlag
(0)
47
{
48
SetType
(
kMUCHPIXELHIT
);
49
SetTime
(-1);
50
SetTimeError
(-1.);
51
}
52
53
ClassImp
(
CbmMuchPixelHit
);
CbmHit.h
kMUCHPIXELHIT
@ kMUCHPIXELHIT
Definition
CbmHit.h:32
ClassImp
ClassImp(CbmMuchPixelHit)
CbmMuchPixelHit.h
Class for pixel hits in MUCH detector.
y
Double_t y
Definition
CbmMvdSensorDigiToHitTask.cxx:64
x
Double_t x
Definition
CbmMvdSensorDigiToHitTask.cxx:64
pos
TVector3 pos
Definition
CbmMvdSensorDigiToHitTask.cxx:56
CbmHit::SetTimeError
void SetTimeError(double error)
Definition
CbmHit.h:94
CbmHit::SetType
void SetType(HitType type)
Sets hit type.
Definition
CbmHit.h:115
CbmHit::SetTime
void SetTime(double time)
Definition
CbmHit.h:88
CbmMuchPixelHit
Definition
CbmMuchPixelHit.h:22
CbmMuchPixelHit::~CbmMuchPixelHit
virtual ~CbmMuchPixelHit()
Destructor.
Definition
CbmMuchPixelHit.cxx:18
CbmMuchPixelHit::fFlag
int32_t fFlag
Definition
CbmMuchPixelHit.h:89
CbmMuchPixelHit::fPlaneId
int32_t fPlaneId
Definition
CbmMuchPixelHit.h:88
CbmMuchPixelHit::CbmMuchPixelHit
CbmMuchPixelHit()
Default constructor.
Definition
CbmMuchPixelHit.cxx:16
CbmPixelHit::CbmPixelHit
CbmPixelHit()
Default constructor.
Definition
CbmPixelHit.cxx:19
core
data
much
CbmMuchPixelHit.cxx
Generated on Fri Jan 30 2026 23:05:22 for CbmRoot by
1.13.2