///////////////////////////////////////////////////////////// // // CbmHypHit // // Hyp digitised hit // // Created 14/08/06 // /////////////////////////////////////////////////////////////// #include "CbmHypHit.h" #include using namespace std; // ----- Default constructor ------------------------------------------- CbmHypHit::CbmHypHit() {} // ------------------------------------------------------------------------- // ----- Destructor ---------------------------------------------------- CbmHypHit::~CbmHypHit() {} // ------------------------------------------------------------------------- // ----- Public method Print ------------------------------------------- void CbmHypHit::Print(const Option_t* opt) const { cout << "EMC hit: cellid=" << GetDetectorId() << ", Energy=" << fEnergy; if (fTrackId>0) cout << ", TrackID= " << fTrackId; // cout << ", x=" << GetX() << ", y=" << GetY() << endl << flush; } // ------------------------------------------------------------------------- ClassImp(CbmHypHit)