// ------------------------------------------------------------------------- // ----- PndMvdHit source file ----- // ----- Created 07/04/05 by V. Friese ----- // ------------------------------------------------------------------------- #include #include "PndMvdHit.h" // ----- Default constructor ------------------------------------------- PndMvdHit::PndMvdHit() { } // ------------------------------------------------------------------------- // ----- Standard constructor ------------------------------------------ PndMvdHit::PndMvdHit(Int_t detID, TString detName, TVector3& pos, TVector3& dpos, Int_t index, Double_t charge, Int_t NPixelHits) : CbmHit(detID, pos, dpos, index) { fDetName = detName; fCharge = charge; fNPixelHits = NPixelHits; } /*PndMvdHit::PndMvdHit(PndMvdHit& c) : CbmHit() { fDetName = c.GetDetName(); fTrackID = c.GetTrackID(); fCharge = c.GetCharge(); fNPixelHits = c.GetNPixelHits(); SetPosition(c.GetPosition()); SetPositionError(c.GetPositionError()); SetDetectorID(c.GetDetectorID()); SetRefIndex(c.GetRefIndex()); }*/ // ------------------------------------------------------------------------- // ----- Destructor ---------------------------------------------------- PndMvdHit::~PndMvdHit() {} // ------------------------------------------------------------------------- // ----- Public method Print ------------------------------------------- void PndMvdHit::Print(const Option_t* opt) const { std::cout << *this; } // ------------------------------------------------------------------------- ClassImp(PndMvdHit)