// ------------------------------------------------------------------------- // ----- PndDrcPDHit source file ----- // ----- Created 12/11/07 by Annalisa Cecchi ----- // ----- ----- // ----- ----- // ------------------------------------------------------------------------- #include using std::cout; using std::endl; #include "PndDrcPDHit.h" // ----- Default constructor ------------------------------------------- PndDrcPDHit::PndDrcPDHit() :FairHit(), fTime(-999.), fTimeThreshold(-999.) { } // ------------------------------------------------------------------------- // ----- Standard constructor ------------------------------------------ PndDrcPDHit::PndDrcPDHit(Int_t detID, TVector3& pos, TVector3& dpos, Double_t time, Double_t timeThreshold, Int_t index) :FairHit(detID, pos, dpos, index), fTime (time), fTimeThreshold (timeThreshold) { } // ----- Destructor ---------------------------------------------------- PndDrcPDHit::~PndDrcPDHit(){} // ------------------------------------------------------------------------- // ----- Public method Print ------------------------------------------- void PndDrcPDHit::Print(const Option_t* opt) const { cout << "DIRC Photon hit: Time = " << fTime << endl; } // ------------------------------------------------------------------------- ClassImp(PndDrcPDHit)