Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

EChipTrackSegment - source file

// $Id: EChipTrackSegment.cc,v 1.1 2005/02/15 13:51:18 pesce Exp $
// Author: R.Pesce   2005/02/15

/*****************************************************************************
 * ESAF: Euso Simulation and Analysis Framework                              *
 *                                                                           *
 *  Id: EChipTrackSegment                                                           *
 *  Package: <packagename>                                                   *
 *  Coordinator: <coordinator>                                               *
 *                                                                           *
 *****************************************************************************/

//_____________________________________________________________________________
//
// EChipTrackSegment
//
// <extensive class description>
//
//   Config file parameters
//   ======================
//
//   <parameter name>: <parameter description>
//   -Valid options: <available options>
//

#include "EChipTrackSegment.hh"

ClassImp(EChipTrackSegment)

//_____________________________________________________________________________
 EChipTrackSegment::EChipTrackSegment() {
    //
    // Constructor
    //
}

//_____________________________________________________________________________
 EChipTrackSegment::~EChipTrackSegment() {
    //
    // Destructor
    //
}

//_____________________________________________________________________________
 EChipTrackSegment::EChipTrackSegment( const EChipTrackSegment& other ) : TObject() {
    //
    // Copy Constructor
    //
    other.Copy(*this);
}

//_____________________________________________________________________________
 void EChipTrackSegment::Copy( TObject& other ) const {
    //
    // Copy method
    //
    TObject::Copy(other);

    ((EChipTrackSegment&)other).fCellId = fCellId;
    ((EChipTrackSegment&)other).fChipUid = fChipUid;
    ((EChipTrackSegment&)other).fGtuStart = fGtuStart;
    ((EChipTrackSegment&)other).fGtuEnd = fGtuEnd;
    ((EChipTrackSegment&)other).fCrossBorder = fCrossBorder;
    ((EChipTrackSegment&)other).fTrackLength = fTrackLength;
    ((EChipTrackSegment&)other).fHasHole = fHasHole;
    ((EChipTrackSegment&)other).fTriggered = fTriggered;
}

//_____________________________________________________________________________
 void EChipTrackSegment::Clear( Option_t* opt ) {
    //
    // Clear method
    //
    fCellId = -1;
    fChipUid = -1;
    fGtuStart = -1;
    fGtuEnd = -1;
    fCrossBorder = kFALSE;
    fTrackLength = 0;
    fHasHole = kFALSE;
    fTriggered = kFALSE;
}
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