BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnGemStripHit.cxx
Go to the documentation of this file.
1
#include "
BmnGemStripHit.h
"
2
3
BmnGemStripHit::BmnGemStripHit
()
4
:
BmnHit
()
5
{
6
// fModule = -1;
7
fELoss
= 0.0;
8
// fType = -1;
9
fNormSignalDiff
= -1.0;
10
}
11
12
BmnGemStripHit::BmnGemStripHit
(
Int_t
detID,
TVector3
pos,
TVector3
dpos,
Int_t
index)
13
:
BmnHit
(detID, pos, dpos, index)
14
{
15
// fModule = -1;
16
fELoss
= 0.0;
17
// fType = -1;
18
fNormSignalDiff
= -1.0;
19
}
20
21
BmnGemStripHit::~BmnGemStripHit
() {}
22
23
// ---- strip layer characteristics from the clusters of the hit -----------------------------------------------
24
Double_t
BmnGemStripHit::GetStripTotalSignalInLowerLayer
()
25
{
26
StripCluster
* cluster =
GetCluster
(
"BmnGemLowerCluster"
,
LowerStripLayer
);
27
return
cluster ? cluster->
TotalSignal
: 0.0;
28
}
29
30
Double_t
BmnGemStripHit::GetStripTotalSignalInUpperLayer
()
31
{
32
StripCluster
* cluster =
GetCluster
(
"BmnGemUpperCluster"
,
UpperStripLayer
);
33
return
cluster ? cluster->
TotalSignal
: 0.0;
34
}
35
36
Int_t
BmnGemStripHit::GetClusterSizeInLowerLayer
()
37
{
38
StripCluster
* cluster =
GetCluster
(
"BmnGemLowerCluster"
,
LowerStripLayer
);
39
return
cluster ? cluster->
GetWidth
() : 0;
40
}
41
42
Int_t
BmnGemStripHit::GetClusterSizeInUpperLayer
()
43
{
44
StripCluster
* cluster =
GetCluster
(
"BmnGemUpperCluster"
,
UpperStripLayer
);
45
return
cluster ? cluster->
GetWidth
() : 0;
46
}
47
48
Double_t
BmnGemStripHit::GetStripPositionInLowerLayer
()
49
{
50
StripCluster
* cluster =
GetCluster
(
"BmnGemLowerCluster"
,
LowerStripLayer
);
51
return
cluster ? cluster->
MeanPosition
: -1.0;
52
}
53
54
Double_t
BmnGemStripHit::GetStripPositionInUpperLayer
()
55
{
56
StripCluster
* cluster =
GetCluster
(
"BmnGemUpperCluster"
,
UpperStripLayer
);
57
return
cluster ? cluster->
MeanPosition
: -1.0;
58
}
Int_t
int Int_t
Double_t
double Double_t
UpperStripLayer
@ UpperStripLayer
Definition
BmnStripData.h:13
LowerStripLayer
@ LowerStripLayer
Definition
BmnStripData.h:12
BmnGemStripHit::fNormSignalDiff
Double_t fNormSignalDiff
Definition
BmnGemStripHit.h:66
BmnGemStripHit::GetClusterSizeInUpperLayer
Int_t GetClusterSizeInUpperLayer()
Definition
BmnGemStripHit.cxx:42
BmnGemStripHit::BmnGemStripHit
BmnGemStripHit()
Definition
BmnGemStripHit.cxx:3
BmnGemStripHit::~BmnGemStripHit
virtual ~BmnGemStripHit()
Definition
BmnGemStripHit.cxx:21
BmnGemStripHit::GetStripPositionInLowerLayer
Double_t GetStripPositionInLowerLayer()
Definition
BmnGemStripHit.cxx:48
BmnGemStripHit::GetStripTotalSignalInUpperLayer
Double_t GetStripTotalSignalInUpperLayer()
Definition
BmnGemStripHit.cxx:30
BmnGemStripHit::GetClusterSizeInLowerLayer
Int_t GetClusterSizeInLowerLayer()
Definition
BmnGemStripHit.cxx:36
BmnGemStripHit::fELoss
Double_t fELoss
Definition
BmnGemStripHit.h:65
BmnGemStripHit::GetStripPositionInUpperLayer
Double_t GetStripPositionInUpperLayer()
Definition
BmnGemStripHit.cxx:54
BmnGemStripHit::GetStripTotalSignalInLowerLayer
Double_t GetStripTotalSignalInLowerLayer()
Strip layer characteristics of the hit (total signal, cluster size, strip position as the cluster mea...
Definition
BmnGemStripHit.cxx:24
BmnHit::GetCluster
StripCluster * GetCluster(const char *cluster_branch_name, StripLayerType layer)
Strip cluster of the hit in the given strip layer, taken from the cluster branch of this layer (e....
Definition
BmnHit.cxx:49
BmnHit::BmnHit
BmnHit()
Default constructor.
Definition
BmnHit.cxx:12
StripCluster
Definition
BmnStripData.h:177
StripCluster::TotalSignal
Double_t TotalSignal
Definition
BmnStripData.h:181
StripCluster::MeanPosition
Double_t MeanPosition
Definition
BmnStripData.h:180
StripCluster::GetWidth
Int_t GetWidth()
Definition
BmnStripData.h:212
TVector3
BmnGemStripHit.h
detectors
gem
BmnGemStripHit.cxx
Generated on
for BmnRoot by
1.17.0