From e3a62f3c89ba115eaaecab8beb4cfdb8fa55f7f5 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Thu, 15 Sep 2022 08:17:04 -0500 Subject: [PATCH] Update UtilityApps/src/materialBudget.cpp Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch> --- UtilityApps/src/materialBudget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UtilityApps/src/materialBudget.cpp b/UtilityApps/src/materialBudget.cpp index 4ba6708d1..99064d807 100644 --- a/UtilityApps/src/materialBudget.cpp +++ b/UtilityApps/src/materialBudget.cpp @@ -247,7 +247,7 @@ int main_wrapper(int argc, char** argv) { } - double binX = ( etaMax > 0. ? (etaMin + (0.5+i)*dEta) : -(thetaMin + theta)/M_PI*180. ) ; + double binX = ( etaMax > 0. ? (etaMin + (0.5+i)*dEta) : -theta/M_PI*180. ) ; det.hx->Fill( binX , sum_x0 ) ; det.hl->Fill( binX , sum_lambda ) ; -- GitLab