forked from JeffersonLab/SBS-offline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SBSScintPMT.cxx
34 lines (28 loc) · 1.54 KB
/
SBSScintPMT.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
///////////////////////////////////////////////////////////////////////////////
// //
// SBSScintPMT //
// //
// Class to represent a PMT on the neutron bars //
// //
///////////////////////////////////////////////////////////////////////////////
#include "SBSScintPMT.h"
#include "SBSScintBar.h"
//_____________________________________________________________________________
SBSScintPMT::SBSScintPMT( Double_t gain, Int_t ped, Double_t res, Double_t off,
Double_t walk, SBSScintBar* bar, Int_t barnum,
Int_t side,
Int_t lowlim, Int_t uplim, Double_t wraparound,
Double_t wexp ) :
fGain(gain), fPed(ped), fTDCRes(res), fTOffset(off), fTimeWalkPar(walk),
fTimeWalkExp(wexp), fScBar(bar), fBarNum(barnum), fSide(side),
fRawLowLim(lowlim), fRawUpLim(uplim), fRawWrapAround(wraparound) { ; }
//_____________________________________________________________________________
SBSScintPMT::~SBSScintPMT(void) { ; }
//_____________________________________________________________________________
void SBSScintPMT::SetScintBar(SBSScintBar* bar)
{
fScBar=bar;
}
//_____________________________________________________________________________
ClassImp(SBSScintPMT)
///////////////////////////////////////////////////////////////////////////////