BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnGemStripHit.cxx
Go to the documentation of this file.
1#include "BmnGemStripHit.h"
2
4 : BmnHit()
5{
6 // fModule = -1;
7 fELoss = 0.0;
8 // fType = -1;
9 fNormSignalDiff = -1.0;
10}
11
13 : BmnHit(detID, pos, dpos, index)
14{
15 // fModule = -1;
16 fELoss = 0.0;
17 // fType = -1;
18 fNormSignalDiff = -1.0;
19}
20
22
23// ---- strip layer characteristics from the clusters of the hit -----------------------------------------------
25{
26 StripCluster* cluster = GetCluster("BmnGemLowerCluster", LowerStripLayer);
27 return cluster ? cluster->TotalSignal : 0.0;
28}
29
31{
32 StripCluster* cluster = GetCluster("BmnGemUpperCluster", UpperStripLayer);
33 return cluster ? cluster->TotalSignal : 0.0;
34}
35
37{
38 StripCluster* cluster = GetCluster("BmnGemLowerCluster", LowerStripLayer);
39 return cluster ? cluster->GetWidth() : 0;
40}
41
43{
44 StripCluster* cluster = GetCluster("BmnGemUpperCluster", UpperStripLayer);
45 return cluster ? cluster->GetWidth() : 0;
46}
47
49{
50 StripCluster* cluster = GetCluster("BmnGemLowerCluster", LowerStripLayer);
51 return cluster ? cluster->MeanPosition : -1.0;
52}
53
55{
56 StripCluster* cluster = GetCluster("BmnGemUpperCluster", UpperStripLayer);
57 return cluster ? cluster->MeanPosition : -1.0;
58}
int Int_t
double Double_t
@ UpperStripLayer
@ LowerStripLayer
Double_t fNormSignalDiff
Int_t GetClusterSizeInUpperLayer()
virtual ~BmnGemStripHit()
Double_t GetStripPositionInLowerLayer()
Double_t GetStripTotalSignalInUpperLayer()
Int_t GetClusterSizeInLowerLayer()
Double_t GetStripPositionInUpperLayer()
Double_t GetStripTotalSignalInLowerLayer()
Strip layer characteristics of the hit (total signal, cluster size, strip position as the cluster mea...
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()
Default constructor.
Definition BmnHit.cxx:12
Double_t TotalSignal
Double_t MeanPosition
Int_t GetWidth()