Skip to content

Commit 7c2ad48

Browse files
authored
Merge pull request #44 from alibuild/alibot-cleanup-15991
[PWGJE] Please consider the following formatting changes to #15991
2 parents 69c306f + fd6842d commit 7c2ad48

1 file changed

Lines changed: 20 additions & 22 deletions

File tree

PWGJE/Tasks/statPromptPhoton.cxx

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ struct statPromptPhoton {
108108

109109
const AxisSpec MCptAxis = {cfgMCptNbins, cfgMCptbinLow, cfgMCptbinHigh};
110110

111-
112111
triggerMaskBits = jetderiveddatautilities::initialiseTriggerMaskBits(cfgTriggerMasks);
113112
if (cfgJETracks) {
114113
trackFilter = jetderiveddatautilities::initialiseTrackSelection(static_cast<std::string>(cfgTrackFilter));
@@ -1521,16 +1520,15 @@ struct statPromptPhoton {
15211520
continue;
15221521
if (std::fabs(mcParticle.getGenStatusCode()) >= 81 || !mcParticle.isPhysicalPrimary())
15231522
continue;
1524-
if(cfgReqRecPS_GEN){
1525-
if(std::fabs(mcParticle.eta())>0.62)
1526-
continue;
1527-
bool insideCalPhi = false;
1528-
if((mcParticle.phi()> 1.42 && mcParticle.phi()<3.26) || (mcParticle.phi()> 4.56 && mcParticle.phi()<5.70))
1529-
insideCalPhi=true;
1530-
if(!insideCalPhi)
1531-
continue;
1532-
}
1533-
1523+
if (cfgReqRecPS_GEN) {
1524+
if (std::fabs(mcParticle.eta()) > 0.62)
1525+
continue;
1526+
bool insideCalPhi = false;
1527+
if ((mcParticle.phi() > 1.42 && mcParticle.phi() < 3.26) || (mcParticle.phi() > 4.56 && mcParticle.phi() < 5.70))
1528+
insideCalPhi = true;
1529+
if (!insideCalPhi)
1530+
continue;
1531+
}
15341532

15351533
// Chase this final-state photon upward
15361534
int chaseindex = -1;
@@ -1646,17 +1644,17 @@ struct statPromptPhoton {
16461644
if (clusterparticle.getGenStatusCode() < 0)
16471645
continue;
16481646
if (std::fabs(clusterparticle.getGenStatusCode()) >= 81)
1649-
continue;
1650-
if(cfgReqRecPS_REC){
1651-
if(std::fabs(clusterparticle.eta())>0.62)
1652-
continue;
1653-
bool insideCalPhi = false;
1654-
if((clusterparticle.phi()> 1.42 && clusterparticle.phi()<3.26) || (clusterparticle.phi()> 4.56 && clusterparticle.phi()<5.70))
1655-
insideCalPhi=true;
1656-
if(!insideCalPhi)
1657-
continue;
1658-
}
1659-
1647+
continue;
1648+
if (cfgReqRecPS_REC) {
1649+
if (std::fabs(clusterparticle.eta()) > 0.62)
1650+
continue;
1651+
bool insideCalPhi = false;
1652+
if ((clusterparticle.phi() > 1.42 && clusterparticle.phi() < 3.26) || (clusterparticle.phi() > 4.56 && clusterparticle.phi() < 5.70))
1653+
insideCalPhi = true;
1654+
if (!insideCalPhi)
1655+
continue;
1656+
}
1657+
16601658
int chaseindex = -1;
16611659
for (auto& mom : clusterparticle.mothers_as<aod::JMcParticles>()) {
16621660
chaseindex = mom.globalIndex();

0 commit comments

Comments
 (0)