Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

EPmtData - source file

// ESAF : Euso Simulation and Analysis Framework
// $Id: EPmtData.cc,v 1.4 2005/03/21 17:13:45 thea Exp $
//  created May, 24 2004

#include "EPmtData.hh"

ClassImp(EPmtData)

//_____________________________________________________________________________
 EPmtData::EPmtData() {
    // ctor
    
    Clear();
}

//_____________________________________________________________________________
 EPmtData::~EPmtData() {
    // dtor
}

//______________________________________________________________________________
 void EPmtData::Copy( TObject& other ) const {
    //
    // Copy this to other
    //

    EPmtData& data = (EPmtData&)other;

    data.fPmtSide     = fPmtSide;
    data.fPmtHeight   = fPmtHeight;
    data.fPadSide     = fPadSide;
    data.fPadGap      = fPadGap;
    data.fBorderWidth = fBorderWidth;
    data.fNumPads     = fNumPads;
    data.fNumRows     = fNumRows;
    data.fNumCols     = fNumCols;

    data.fQuantum     = fQuantum;
    data.fGain        = fGain;
    data.fGainSigma   = fGainSigma;
    data.fWidth       = fWidth;
    data.fGtuLength   = fGtuLength;
}

//_____________________________________________________________________________
 void EPmtData::Clear(Option_t* opt ) {

    fPmtSide     = 0;
    fPmtHeight   = 0;
    fPadSide     = 0;
    fPadGap      = 0;
    fBorderWidth = 0;
    fNumPads     = 0;
    fNumRows     = 0;
    fNumCols     = 0;

    fQuantum     = 0;
    fGain        = 0;
    fGainSigma   = 0;
    fWidth       = 0;
    fGtuLength   = 0;

}
About Us | EUSO Official Website | Web pages created by Roberto Pesce and Alessandro Thea - Last Update Wed Nov 16 16:57:39 2005 Wed Nov 16 16:29:22 2005