/** CbmMuchPoint class * * @author A.Kiseleva * @version 0.0 * @since 13.04.06 * * Class for Monte Carlo points in MUon CHambers detector * */ #include "iostream.h" #include "CbmMuchPoint.h" ClassImp(CbmMuchPoint) // ----- Default constructor ------------------------------------------- CbmMuchPoint::CbmMuchPoint() : CbmMCPoint() { } // ------------------------------------------------------------------------- // ----- Standard constructor ------------------------------------------ CbmMuchPoint::CbmMuchPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss) : CbmMCPoint(trackID, detID, pos, mom, tof, length, eLoss) { } // ------------------------------------------------------------------------- // ----- Destructor ---------------------------------------------------- CbmMuchPoint::~CbmMuchPoint() { } // ------------------------------------------------------------------------- // ----- Public method Print ------------------------------------------- void CbmMuchPoint::Print(const Option_t* opt) const { cout << "-I- CbmMuchPoint: Much point for track " << fTrackID << " in detector " << fDetectorID << endl; cout << " Position (" << fX << ", " << fY << ", " << fZ << ") cm" << endl; cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz << ") GeV" << endl; cout << " Time " << fTime << " ns, Length " << fLength << " cm, Energy loss " << fELoss*1.0e06 << " keV" << endl; } // -------------------------------------------------------------------------