BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnVSPHit.h
Go to the documentation of this file.
1
#ifndef BMNVSPHIT_H
2
#define BMNVSPHIT_H
3
4
#include "BmnHit.h"
5
#include "BmnMatch.h"
6
#include "
Rtypes.h
"
7
8
class
BmnVSPHit
:
public
BmnHit
9
{
10
public
:
11
BmnVSPHit
();
12
BmnVSPHit
(
Int_t
detID,
TVector3
pos,
TVector3
dpos,
Int_t
index);
13
14
virtual
~BmnVSPHit
();
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 BmnVSPLowerCluster (lower layer |||) and BmnVSPUpperCluster
30
** (upper layer \\\ or ///) branches of the current event via FairRootManager, so they are available in FairRoot
31
** 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
(
BmnVSPHit
, 2);
65
};
66
67
#endif
/* BMNVSPHIT_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
BmnVSPHit::BmnVSPHit
BmnVSPHit()
Definition
BmnVSPHit.cxx:3
BmnVSPHit::GetPdg
Int_t GetPdg()
Definition
BmnVSPHit.h:50
BmnVSPHit::GetStripPositionInUpperLayer
Double_t GetStripPositionInUpperLayer()
Definition
BmnVSPHit.cxx:52
BmnVSPHit::fPdg
Int_t fPdg
Definition
BmnVSPHit.h:59
BmnVSPHit::fELoss
Double_t fELoss
Definition
BmnVSPHit.h:58
BmnVSPHit::GetClusterSizeInLowerLayer
Int_t GetClusterSizeInLowerLayer()
Definition
BmnVSPHit.cxx:34
BmnVSPHit::~BmnVSPHit
virtual ~BmnVSPHit()
Definition
BmnVSPHit.cxx:19
BmnVSPHit::GetStripPositionInLowerLayer
Double_t GetStripPositionInLowerLayer()
Definition
BmnVSPHit.cxx:46
BmnVSPHit::SetEnergyLoss
void SetEnergyLoss(Double_t de)
Definition
BmnVSPHit.h:20
BmnVSPHit::GetStripTotalSignalInLowerLayer
Double_t GetStripTotalSignalInLowerLayer()
Strip layer characteristics of the hit (total signal, cluster size, strip position as the cluster mea...
Definition
BmnVSPHit.cxx:22
BmnVSPHit::GetClusterSizeInUpperLayer
Int_t GetClusterSizeInUpperLayer()
Definition
BmnVSPHit.cxx:40
BmnVSPHit::GetStripTotalSignalInUpperLayer
Double_t GetStripTotalSignalInUpperLayer()
Definition
BmnVSPHit.cxx:28
BmnVSPHit::GetEnergyLoss
Double_t GetEnergyLoss()
Definition
BmnVSPHit.h:36
BmnVSPHit::SetPdg
void SetPdg(Int_t cPdg)
Definition
BmnVSPHit.h:22
TVector3
de
detectors
vsp
BmnVSPHit.h
Generated on
for BmnRoot by
1.17.0