SND@LHC Software
Loading...
Searching...
No Matches
SndlhcHit.cxx
Go to the documentation of this file.
1
#include "
SndlhcHit.h
"
2
3
4
// ----- Default constructor -------------------------------------------
5
SndlhcHit::SndlhcHit
()
6
: TObject(),
7
fDetectorID(-1)
8
{
9
}
10
// -------------------------------------------------------------------------
11
12
13
14
// ----- Standard constructor ------------------------------------------
15
SndlhcHit::SndlhcHit
(Int_t detID,Int_t nP,Int_t nS)
16
:TObject(),
17
fDetectorID(detID),
18
nSiPMs(nP),
19
nSides(nS)
20
{
21
for
(
unsigned
int
j=0; j<16; ++j){
22
signals
[j] = -1;
23
times
[j] =-1;
24
fDaqID
[j] =-1;
25
}
26
}
27
28
Float_t
SndlhcHit::GetSignal
(Int_t nChannel)
29
{
30
return
signals
[nChannel];
31
}
32
Float_t
SndlhcHit::GetTime
(Int_t nChannel)
33
{
34
return
times
[nChannel];
35
}
36
// -------------------------------------------------------------------------
37
38
39
// ----- Destructor ----------------------------------------------------
40
SndlhcHit::~SndlhcHit
() { }
41
// -------------------------------------------------------------------------
42
43
44
ClassImp
(
SndlhcHit
)
SndlhcHit.h
SndlhcHit
Definition
SndlhcHit.h:20
SndlhcHit::times
Float_t times[16]
SiPM signal.
Definition
SndlhcHit.h:76
SndlhcHit::SndlhcHit
SndlhcHit()
Definition
SndlhcHit.cxx:5
SndlhcHit::GetSignal
Float_t GetSignal(Int_t nChannel=0)
Definition
SndlhcHit.cxx:28
SndlhcHit::fDaqID
Int_t fDaqID[16]
SiPM time.
Definition
SndlhcHit.h:77
SndlhcHit::GetTime
Float_t GetTime(Int_t nChannel=0)
Definition
SndlhcHit.cxx:32
SndlhcHit::signals
Float_t signals[16]
number of sides
Definition
SndlhcHit.h:75
SndlhcHit::~SndlhcHit
virtual ~SndlhcHit()
Definition
SndlhcHit.cxx:40
ClassImp
ClassImp(ecalContFact) ecalContFact
Definition
ecalContFact.cxx:8
shipdata
SndlhcHit.cxx
Generated by
1.9.8