// ------------------------------------------------------------------------- // ----- R3BLandPoint source file ----- // ------------------------------------------------------------------------- #include "R3BLandHit.h" #include using std::cout; using std::endl; using std::flush; // ----- Default constructor ------------------------------------------- R3BLandHit::R3BLandHit() : FairHit(), fEnergy(0.), fTof(0.), fSaturnPaddleNb(-1) { } R3BLandHit::R3BLandHit(const R3BLandHit& right) : FairHit(right), fEnergy(right.fEnergy), fTof(right.fTof), fSaturnPaddleNb(right.fSaturnPaddleNb) { } // ----- Destructor ---------------------------------------------------- R3BLandHit::~R3BLandHit() { } // ----- Public method Print ------------------------------------------- void R3BLandHit::Print(const Option_t* opt) const { cout << "-I- R3BLandHit: LAND Hit in detector " << fDetectorID << endl; cout << " Tof: " << fTof << " cm, Energy loss " << fEnergy*1.0e06 << " keV" << endl; } // ------------------------------------------------------------------------- ClassImp(R3BLandHit)