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.9 KB
|
Line | |
---|
1 | // $Id: EAFee.cc 1896 2005-05-30 08:31:12Z thea $ |
---|
2 | // Author: M.Pallavicini, A.Thea |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: EAFee * |
---|
8 | * Package: SimuEvent * |
---|
9 | * Coordinator: Alessandro.Thea * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #include "EAFee.hh" |
---|
14 | |
---|
15 | ClassImp(EAFee) |
---|
16 | |
---|
17 | //______________________________________________________________________________ |
---|
18 | // |
---|
19 | // EAFee |
---|
20 | // ===== |
---|
21 | // |
---|
22 | // Analog Front End electronics infos For each GTU, last dynode charge and |
---|
23 | // trigger infos are written (if any) Full AFEE is stored in EFee object |
---|
24 | // (because is channel based and not GTU based ) |
---|
25 | // |
---|
26 | |
---|
27 | //_____________________________________________________________________________ |
---|
28 | EAFee::EAFee() { |
---|
29 | // ctor |
---|
30 | |
---|
31 | fGtu = -1; |
---|
32 | fMCId = -1; |
---|
33 | fFEId = -1; |
---|
34 | fDyCharge = 0; |
---|
35 | fCherTrigg = 0; |
---|
36 | } |
---|
37 | |
---|
38 | //_____________________________________________________________________________ |
---|
39 | EAFee::EAFee(const EAFee& other) : TObject() { |
---|
40 | // copy ctor |
---|
41 | |
---|
42 | |
---|
43 | ((EAFee&)other).Copy(*this); |
---|
44 | |
---|
45 | } |
---|
46 | //_____________________________________________________________________________ |
---|
47 | EAFee::~EAFee() { |
---|
48 | // dtor |
---|
49 | } |
---|
50 | |
---|
51 | //_____________________________________________________________________________ |
---|
52 | void EAFee::Copy( TObject& obj) const { |
---|
53 | // copy this afee to obj |
---|
54 | |
---|
55 | TObject::Copy(obj); |
---|
56 | |
---|
57 | EAFee& afee = (EAFee&)obj; |
---|
58 | afee.fGtu = fGtu; |
---|
59 | afee.fMCId = fMCId; |
---|
60 | afee.fFEId = fFEId; |
---|
61 | afee.fDyCharge = fDyCharge; |
---|
62 | afee.fCherTrigg = fCherTrigg; |
---|
63 | } |
---|
64 | |
---|
Note: See
TracBrowser
for help on using the repository browser.