Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

ChipTrackSegment - source file

// ESAF : Euso Simulation and Analysis Framework
// $Id: ChipTrackSegment.cc,v 1.2 2005/02/16 13:02:48 pesce Exp $
// M. Pallavicini created Jun, 10 2004

#include "ChipTrackSegment.hh"

ClassImp(ChipTrackSegment)

//______________________________________________________________________________
 ChipTrackSegment::ChipTrackSegment() {

    // empty ctor
    
    fChipUid = -1;        
    fGtuStart = -1;
    fGtuEnd = -1;
    fCrossBorder = kFALSE;
    fTrackLength = 0;
    fHasHole = kFALSE;
    fTriggered = kFALSE;
}

//______________________________________________________________________________
 ChipTrackSegment::~ChipTrackSegment() {
    // dtor
}

//______________________________________________________________________________
ostream& operator << (ostream& os, const ChipTrackSegment& seg) {
  os << "   Segment in Chip " << seg.GetChipUid() << endl;
  os << "      Start="<<seg.GetGtuStart()<<"   End="<<seg.GetGtuEnd()<<endl;
  os << "      Length="<<seg.GetTrackLength()<<"   Hole="
     <<(Int_t)seg.GetHasHole()<<endl;
  return os;
}


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