diff --git a/reco/detectors/rich/mcbm/CbmRichMCbmQaRichOnly.cxx b/reco/detectors/rich/mcbm/CbmRichMCbmQaRichOnly.cxx index ae45f46e953c2b2416dc1c9b4b36642bd0f5c081..b00c097c49ef6a96f647d9156d8041240bbd5d22 100644 --- a/reco/detectors/rich/mcbm/CbmRichMCbmQaRichOnly.cxx +++ b/reco/detectors/rich/mcbm/CbmRichMCbmQaRichOnly.cxx @@ -549,7 +549,6 @@ void CbmRichMCbmQaRichOnly::DrawRing(CbmRichRing* ring, bool full) center->Draw(); - double hitZ = 0; uint nofDrawHits = 0; // Draw hits @@ -565,11 +564,9 @@ void CbmRichMCbmQaRichOnly::DrawRing(CbmRichRing* ring, bool full) else { hitDr->SetFillColor(kBlue); } - hitZ += hit->GetZ(); nofDrawHits++; hitDr->Draw(); } - hitZ /= nofDrawHits; //Draw information