// ------------------------------------------------------------------------- // ----- PndRichHit source file ----- // ----- Created 12/11/07 by Annalisa Cecchi ----- // ----- ----- // ----- ----- // ------------------------------------------------------------------------- #include using std::cout; using std::endl; #include "PndRichHit.h" // ----- Default constructor ------------------------------------------- PndRichHit::PndRichHit() :FairHit(), fSensorId(-999), fThetaC(-999.), fErrThetaC(-999.) { } // ------------------------------------------------------------------------- // ----- Standard constructor ------------------------------------------ PndRichHit::PndRichHit(Int_t detID, Int_t sensorId, TVector3& pos, TVector3& dpos, Double_t thetaC, Double_t errThetaC, Int_t index) :FairHit(detID, pos, dpos, index), fSensorId (sensorId), fThetaC (thetaC), fErrThetaC (errThetaC) { } // ----- Destructor ---------------------------------------------------- PndRichHit::~PndRichHit(){} // ------------------------------------------------------------------------- // ----- Public method Print ------------------------------------------- void PndRichHit::Print(const Option_t* opt) const { (void)opt; // to remove "unused" warnings cout << "DIRC hit: ThetaC = " << fThetaC << endl; } // ------------------------------------------------------------------------- ClassImp(PndRichHit)