Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

EFee - source file

// ESAF : Euso Simulation and Analysis Framework
// $Id: EFee.cc,v 1.5 2005/02/10 13:02:01 pesce Exp $
//  created May, 23 2004

#include "EFee.hh"

ClassImp(EFee)

//_____________________________________________________________________________
EFee::EFee() {
    // ctor
    
    fGtu          = -1;         // gtu identifier
    fFEId         = -1;         // front end chip identifier
    fChUId        = -1;         // channel number 
    fNumSignals   = -1;         // number of signal hits
    fNumHits      = -1;         // number of detected hits
    fHasTriggered = kFALSE;     // true if it was above digital counter threshold
    fChCharge     = 0;          // channel charge
}

//_____________________________________________________________________________
EFee::EFee(const EFee& other) : TObject() {
    // copy ctor

    other.Copy( *this );
}
//_____________________________________________________________________________
EFee::~EFee() {
    // dtor
}

//_____________________________________________________________________________
 void EFee::Copy( TObject& other) const {
    // copy 
    
    TObject::Copy( other);

    ((EFee&)other).fGtu          = fGtu;
    ((EFee&)other).fFEId         = fFEId;
    ((EFee&)other).fChUId        = fChUId; 
    ((EFee&)other).fNumSignals   = fNumSignals; 
    ((EFee&)other).fNumHits      = fNumHits; 
    ((EFee&)other).fHasTriggered = fHasTriggered;
    ((EFee&)other).fChCharge     = fChCharge;
}
About Us | EUSO Official Website | Web pages created by Roberto Pesce and Alessandro Thea - Last Update 14-May-2005 21:31