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