BmnRoot
Loading...
Searching...
No Matches
BmnSiliconHit.h
Go to the documentation of this file.
1#ifndef BMNSILICONHIT_H
2#define BMNSILICONHIT_H
3
4#include "Rtypes.h"
5
6#include "BmnHit.h"
7#include "BmnMatch.h"
8
9class BmnSiliconHit : public BmnHit {
10public:
11
13 BmnSiliconHit(Int_t detID, TVector3 pos, TVector3 dpos, Int_t index);
14
15 virtual ~BmnSiliconHit();
16
17// void SetModule(Int_t module) {
18// fModule = module;
19// }
20
21 void SetEnergyLoss(Double_t de) {
22 fELoss = de;
23 }
24
25 void SetClusterSizeInLowerLayer(Int_t csize) {
26 fLowerLayerClusterSize = csize;
27 }
28
29 void SetClusterSizeInUpperLayer(Int_t csize) {
30 fUpperLayerClusterSize = csize;
31 }
32
33 void SetStripPositionInLowerLayer(Double_t spos) {
34 fLowerLayerStripPos = spos;
35 }
36
37 void SetStripPositionInUpperLayer(Double_t spos) {
38 fUpperLayerStripPos = spos;
39 }
40
42 fLowerLayerStripTotalSignal = sig;
43 }
44
46 fUpperLayerStripTotalSignal = sig;
47 }
48
49 void SetPdg(Int_t cPdg) {
50 fPdg = cPdg;
51 }
52
53 // void SetDigitNumberMatch(BmnMatch match) {
54 // fDigitNumberMatch = match;
55 // }
56
58 return fLowerLayerStripTotalSignal;
59 }
60
62 return fUpperLayerStripTotalSignal;
63 }
64
65
66 Double_t GetEnergyLoss() {
67 return fELoss;
68 }
69
70// Int_t GetModule() {
71// return fModule;
72// }
73
75 return fLowerLayerClusterSize;
76 }
77
79 return fUpperLayerClusterSize;
80 }
81
83 return fLowerLayerStripPos;
84 }
85
87 return fUpperLayerStripPos;
88 }
89
90 Int_t GetPdg() {
91 return fPdg;
92 }
93
94 // BmnMatch GetDigitNumberMatch() {
95 // return fDigitNumberMatch;
96 // }
97
98private:
99 // Int_t fModule;
100 Double_t fELoss;
101 Int_t fLowerLayerClusterSize; //number of strips in the lower layer (|||) for the hit
102 Int_t fUpperLayerClusterSize; //number of strips in the upper layer (\\\ or ///) for the hit
103 Int_t fPdg;
104 Double_t fLowerLayerStripPos; //strip position in the lower layer (|||)
105 Double_t fUpperLayerStripPos; //strip position in the upper layer (\\\ or ///)
106 Double_t fLowerLayerStripTotalSignal;
107 Double_t fUpperLayerStripTotalSignal;
108
109 //BmnMatch fDigitNumberMatch; //digit numbers used for the hit (as weighed center (one strip) of a cluster in each layer
110
111 ClassDef(BmnSiliconHit, 1);
112};
113
114
115
116
117#endif /* BMNSILICONHIT_H */
118
virtual ~BmnSiliconHit()
void SetStripTotalSignalInUpperLayer(Double_t sig)
void SetClusterSizeInUpperLayer(Int_t csize)
Double_t GetStripTotalSignalInLowerLayer()
Double_t GetStripTotalSignalInUpperLayer()
Int_t GetClusterSizeInLowerLayer()
void SetClusterSizeInLowerLayer(Int_t csize)
void SetStripPositionInLowerLayer(Double_t spos)
Double_t GetStripPositionInLowerLayer()
Int_t GetClusterSizeInUpperLayer()
void SetEnergyLoss(Double_t de)
void SetPdg(Int_t cPdg)
Double_t GetStripPositionInUpperLayer()
void SetStripTotalSignalInLowerLayer(Double_t sig)
Double_t GetEnergyLoss()
void SetStripPositionInUpperLayer(Double_t spos)