BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnSiliconHit.h
Go to the documentation of this file.
1
#ifndef BMNSILICONHIT_H
2
#define BMNSILICONHIT_H
3
4
#include "BmnHit.h"
5
#include "BmnMatch.h"
6
#include "
Rtypes.h
"
7
8
class
BmnSiliconHit
:
public
BmnHit
9
{
10
public
:
11
BmnSiliconHit
();
12
BmnSiliconHit
(
Int_t
detID,
TVector3
pos,
TVector3
dpos,
Int_t
index);
13
14
virtual
~BmnSiliconHit
();
15
16
// void SetModule(Int_t module) {
17
// fModule = module;
18
// }
19
20
void
SetEnergyLoss
(
Double_t
de
) {
fELoss
=
de
; }
21
22
void
SetPdg
(
Int_t
cPdg) {
fPdg
= cPdg; }
23
24
// void SetDigitNumberMatch(BmnMatch match) {
25
// fDigitNumberMatch = match;
26
// }
27
28
/** Strip layer characteristics of the hit (total signal, cluster size, strip position as the cluster mean
29
** position) are taken from its clusters in the BmnSiliconLowerCluster (lower layer |||) and
30
** BmnSiliconUpperCluster (upper layer \\\ or ///) branches of the current event via FairRootManager, so they are
31
** available in FairRoot tasks only. Without the clusters: signal 0, cluster size 0, strip position -1 **/
32
Double_t
GetStripTotalSignalInLowerLayer
();
33
34
Double_t
GetStripTotalSignalInUpperLayer
();
35
36
Double_t
GetEnergyLoss
() {
return
fELoss
; }
37
38
// Int_t GetModule() {
39
// return fModule;
40
// }
41
42
Int_t
GetClusterSizeInLowerLayer
();
43
44
Int_t
GetClusterSizeInUpperLayer
();
45
46
Double_t
GetStripPositionInLowerLayer
();
47
48
Double_t
GetStripPositionInUpperLayer
();
49
50
Int_t
GetPdg
() {
return
fPdg
; }
51
52
// BmnMatch GetDigitNumberMatch() {
53
// return fDigitNumberMatch;
54
// }
55
56
private
:
57
// Int_t fModule;
58
Double_t
fELoss
;
59
Int_t
fPdg
;
60
61
// BmnMatch fDigitNumberMatch; //digit numbers used for the hit (as weighed center (one strip) of a cluster in each
62
// layer
63
64
ClassDef
(
BmnSiliconHit
, 2);
65
};
66
67
#endif
/* BMNSILICONHIT_H */
Int_t
int Int_t
Double_t
double Double_t
Rtypes.h
ClassDef
#define ClassDef(name, id)
BmnHit::BmnHit
BmnHit()
Default constructor.
Definition
BmnHit.cxx:12
BmnSiliconHit::~BmnSiliconHit
virtual ~BmnSiliconHit()
Definition
BmnSiliconHit.cxx:19
BmnSiliconHit::GetStripTotalSignalInLowerLayer
Double_t GetStripTotalSignalInLowerLayer()
Strip layer characteristics of the hit (total signal, cluster size, strip position as the cluster mea...
Definition
BmnSiliconHit.cxx:22
BmnSiliconHit::GetStripTotalSignalInUpperLayer
Double_t GetStripTotalSignalInUpperLayer()
Definition
BmnSiliconHit.cxx:28
BmnSiliconHit::GetClusterSizeInLowerLayer
Int_t GetClusterSizeInLowerLayer()
Definition
BmnSiliconHit.cxx:34
BmnSiliconHit::GetStripPositionInLowerLayer
Double_t GetStripPositionInLowerLayer()
Definition
BmnSiliconHit.cxx:46
BmnSiliconHit::GetClusterSizeInUpperLayer
Int_t GetClusterSizeInUpperLayer()
Definition
BmnSiliconHit.cxx:40
BmnSiliconHit::SetEnergyLoss
void SetEnergyLoss(Double_t de)
Definition
BmnSiliconHit.h:20
BmnSiliconHit::SetPdg
void SetPdg(Int_t cPdg)
Definition
BmnSiliconHit.h:22
BmnSiliconHit::fELoss
Double_t fELoss
Definition
BmnSiliconHit.h:58
BmnSiliconHit::GetStripPositionInUpperLayer
Double_t GetStripPositionInUpperLayer()
Definition
BmnSiliconHit.cxx:52
BmnSiliconHit::fPdg
Int_t fPdg
Definition
BmnSiliconHit.h:59
BmnSiliconHit::GetEnergyLoss
Double_t GetEnergyLoss()
Definition
BmnSiliconHit.h:36
BmnSiliconHit::GetPdg
Int_t GetPdg()
Definition
BmnSiliconHit.h:50
BmnSiliconHit::BmnSiliconHit
BmnSiliconHit()
Definition
BmnSiliconHit.cxx:3
TVector3
de
detectors
silicon
BmnSiliconHit.h
Generated on
for BmnRoot by
1.17.0