Last change
on this file since 114 was
114,
checked in by moretto, 11 years ago
|
actual version of ESAF at CCin2p3
|
File size:
1.5 KB
|
Line | |
---|
1 | // ESAF : Euso Simulation and Analysis Framework |
---|
2 | // $Id: EPmtData.cc 2804 2008-10-09 12:10:06Z biktem $ |
---|
3 | // created May, 24 2004 |
---|
4 | |
---|
5 | #include "EPmtData.hh" |
---|
6 | |
---|
7 | ClassImp(EPmtData) |
---|
8 | |
---|
9 | //_____________________________________________________________________________ |
---|
10 | EPmtData::EPmtData() { |
---|
11 | // ctor |
---|
12 | |
---|
13 | Clear(); |
---|
14 | } |
---|
15 | |
---|
16 | //_____________________________________________________________________________ |
---|
17 | EPmtData::~EPmtData() { |
---|
18 | // dtor |
---|
19 | } |
---|
20 | |
---|
21 | //______________________________________________________________________________ |
---|
22 | void EPmtData::Copy( TObject& other ) const { |
---|
23 | // |
---|
24 | // Copy this to other |
---|
25 | // |
---|
26 | |
---|
27 | EPmtData& data = (EPmtData&)other; |
---|
28 | |
---|
29 | data.fPmtSide = fPmtSide; |
---|
30 | data.fPmtHeight = fPmtHeight; |
---|
31 | data.fPadSide = fPadSide; |
---|
32 | data.fPadGap = fPadGap; |
---|
33 | data.fBorderWidth = fBorderWidth; |
---|
34 | data.fNumPads = fNumPads; |
---|
35 | data.fNumRows = fNumRows; |
---|
36 | data.fNumCols = fNumCols; |
---|
37 | |
---|
38 | data.fQuantum = fQuantum; |
---|
39 | data.fGain = fGain; |
---|
40 | data.fGainSigma = fGainSigma; |
---|
41 | data.fWidth = fWidth; |
---|
42 | data.fGtuLength = fGtuLength; |
---|
43 | } |
---|
44 | |
---|
45 | //_____________________________________________________________________________ |
---|
46 | void EPmtData::Clear(Option_t* opt ) { |
---|
47 | |
---|
48 | fPmtSide = 0; |
---|
49 | fPmtHeight = 0; |
---|
50 | fPadSide = 0; |
---|
51 | fPadGap = 0; |
---|
52 | fBorderWidth = 0; |
---|
53 | fNumPads = 0; |
---|
54 | fNumRows = 0; |
---|
55 | fNumCols = 0; |
---|
56 | |
---|
57 | fQuantum = 0; |
---|
58 | fGain = 0; |
---|
59 | fGainSigma = 0; |
---|
60 | fWidth = 0; |
---|
61 | fGtuLength = 0; |
---|
62 | |
---|
63 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.