source: JEM-EUSO/esaf_cc_at_lal/packages/common/root/src/EFee.cc @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 2.3 KB
Line 
1// $Id: EFee.cc 1896 2005-05-30 08:31:12Z thea $
2// Author: M.Pallavicini May, 23 2004
3   
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: EFee                                                                 *
8 *  Package: SimuEvent                                                       *
9 *  Coordinator: Alessandro.Thea                                             *
10 *                                                                           *
11 *****************************************************************************/
12 
13#include "EFee.hh"
14
15ClassImp(EFee)
16
17
18//______________________________________________________________________________
19//
20//  Front End Electronics
21//  =====================
22//
23//  Digital Front End electronics infos
24//  For each GTU, the number of detected photons per each channel is written
25//  Data is available for both DFEE and full AFEE
26//
27
28//_____________________________________________________________________________
29EFee::EFee() {
30    // ctor
31   
32    fGtu          = -1;         // gtu identifier
33    fFEId         = -1;         // front end chip identifier
34    fChUId        = -1;         // channel number
35    fNumSignals   = -1;         // number of signal hits
36    fNumHits      = -1;         // number of detected hits
37    fHasTriggered = kFALSE;     // true if it was above digital counter threshold
38    fChCharge     = 0;          // channel charge
39}
40
41//_____________________________________________________________________________
42EFee::EFee(const EFee& other) : TObject() {
43    // copy ctor
44
45    other.Copy( *this );
46}
47//_____________________________________________________________________________
48EFee::~EFee() {
49    // dtor
50}
51
52//_____________________________________________________________________________
53void EFee::Copy( TObject& other) const {
54    // copy
55   
56    TObject::Copy( other);
57
58    ((EFee&)other).fGtu          = fGtu;
59    ((EFee&)other).fFEId         = fFEId;
60    ((EFee&)other).fChUId        = fChUId; 
61    ((EFee&)other).fNumSignals   = fNumSignals; 
62    ((EFee&)other).fNumHits      = fNumHits; 
63    ((EFee&)other).fHasTriggered = fHasTriggered;
64    ((EFee&)other).fChCharge     = fChCharge;
65}
Note: See TracBrowser for help on using the repository browser.