From 6ed643e2464d27fbf7c539589cd0bb88baa444ab Mon Sep 17 00:00:00 2001 From: Michael Deveaux <deveaux@physik.uni-frankfurt.de> Date: Wed, 30 Aug 2023 16:09:40 +0200 Subject: [PATCH] Move CCE calculation to CbmMvdDataSheet - obsolete code removed --- .../mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx b/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx index e3fa340f6d..7505e01fa5 100644 --- a/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx +++ b/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx @@ -1047,12 +1047,12 @@ void CbmMvdSensorDigitizerTask::ProducePixelCharge(CbmMvdPoint* point) fCurrentTotalCharge += sPoint->charge; //compute the charge distributed to this pixel by this segment - Float_t totCharge = (sPoint->charge * fLorentzNorm * (0.5 * fPar0 * fPar1 / TMath::Pi()) - / TMath::Max(1.e-10, (((Current[0] - xCentre) * (Current[0] - xCentre)) - + ((Current[1] - yCentre) * (Current[1] - yCentre))) - / fPixelSize / fPixelSize - + 0.25 * fPar1 * fPar1) - + fPar2); +// Float_t totCharge = (sPoint->charge * fLorentzNorm * (0.5 * fPar0 * fPar1 / TMath::Pi()) +// / TMath::Max(1.e-10, (((Current[0] - xCentre) * (Current[0] - xCentre)) +// + ((Current[1] - yCentre) * (Current[1] - yCentre))) +// / fPixelSize / fPixelSize +// + 0.25 * fPar1 * fPar1) +// + fPar2); totCharge= sPoint->charge * fLorentzNorm * fSensorDataSheet-> ComputeCCE(xCentre, yCentre, 0, Current[0], Current[1],0); -- GitLab