From fd6842d248a37f9a5edde4e37b86c7b3b725279d Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 28 Apr 2026 09:35:07 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGJE/Tasks/statPromptPhoton.cxx | 42 +++++++++++++++----------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/PWGJE/Tasks/statPromptPhoton.cxx b/PWGJE/Tasks/statPromptPhoton.cxx index 79173a79073..653e0ba09ca 100644 --- a/PWGJE/Tasks/statPromptPhoton.cxx +++ b/PWGJE/Tasks/statPromptPhoton.cxx @@ -108,7 +108,6 @@ struct statPromptPhoton { const AxisSpec MCptAxis = {cfgMCptNbins, cfgMCptbinLow, cfgMCptbinHigh}; - triggerMaskBits = jetderiveddatautilities::initialiseTriggerMaskBits(cfgTriggerMasks); if (cfgJETracks) { trackFilter = jetderiveddatautilities::initialiseTrackSelection(static_cast(cfgTrackFilter)); @@ -1521,16 +1520,15 @@ struct statPromptPhoton { continue; if (std::fabs(mcParticle.getGenStatusCode()) >= 81 || !mcParticle.isPhysicalPrimary()) continue; - if(cfgReqRecPS_GEN){ - if(std::fabs(mcParticle.eta())>0.62) - continue; - bool insideCalPhi = false; - if((mcParticle.phi()> 1.42 && mcParticle.phi()<3.26) || (mcParticle.phi()> 4.56 && mcParticle.phi()<5.70)) - insideCalPhi=true; - if(!insideCalPhi) - continue; - } - + if (cfgReqRecPS_GEN) { + if (std::fabs(mcParticle.eta()) > 0.62) + continue; + bool insideCalPhi = false; + if ((mcParticle.phi() > 1.42 && mcParticle.phi() < 3.26) || (mcParticle.phi() > 4.56 && mcParticle.phi() < 5.70)) + insideCalPhi = true; + if (!insideCalPhi) + continue; + } // Chase this final-state photon upward int chaseindex = -1; @@ -1646,17 +1644,17 @@ struct statPromptPhoton { if (clusterparticle.getGenStatusCode() < 0) continue; if (std::fabs(clusterparticle.getGenStatusCode()) >= 81) - continue; - if(cfgReqRecPS_REC){ - if(std::fabs(clusterparticle.eta())>0.62) - continue; - bool insideCalPhi = false; - if((clusterparticle.phi()> 1.42 && clusterparticle.phi()<3.26) || (clusterparticle.phi()> 4.56 && clusterparticle.phi()<5.70)) - insideCalPhi=true; - if(!insideCalPhi) - continue; - } - + continue; + if (cfgReqRecPS_REC) { + if (std::fabs(clusterparticle.eta()) > 0.62) + continue; + bool insideCalPhi = false; + if ((clusterparticle.phi() > 1.42 && clusterparticle.phi() < 3.26) || (clusterparticle.phi() > 4.56 && clusterparticle.phi() < 5.70)) + insideCalPhi = true; + if (!insideCalPhi) + continue; + } + int chaseindex = -1; for (auto& mom : clusterparticle.mothers_as()) { chaseindex = mom.globalIndex();