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