Skip to content

Commit 454060b

Browse files
committed
Please consider the following formatting changes
1 parent 4a91aff commit 454060b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

PWGLF/Tasks/Strangeness/strangenessInJets.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ struct StrangenessInJets {
376376

377377
// Histograms for MC K0 short in jets
378378
if (doprocessMCK0shortInJets) {
379-
registryMC.add("ptSpectrumK0DaughtersAll", "ptSpectrumK0DaughtersAll", HistType::kTH1D, {{1000, 0, 100, "p_{T}"}});
380-
registryMC.add("fractionJetPtCarriedByK0", "fractionJetPtCarriedByK0", HistType::kTH1D, {{1000, 0, 1, "fraction"}});
381-
registryMC.add("ptSpectrumK0DaughtersInJet", "ptSpectrumK0DaughtersInJet", HistType::kTH1D, {{1000, 0, 100, "p_{T}"}});
379+
registryMC.add("ptSpectrumK0DaughtersAll", "ptSpectrumK0DaughtersAll", HistType::kTH1D, {{1000, 0, 100, "p_{T}"}});
380+
registryMC.add("fractionJetPtCarriedByK0", "fractionJetPtCarriedByK0", HistType::kTH1D, {{1000, 0, 1, "fraction"}});
381+
registryMC.add("ptSpectrumK0DaughtersInJet", "ptSpectrumK0DaughtersInJet", HistType::kTH1D, {{1000, 0, 100, "p_{T}"}});
382382
}
383383

384384
// Histograms for mc reconstructed
@@ -2195,7 +2195,7 @@ struct StrangenessInJets {
21952195

21962196
// Process MC K0 short in jets
21972197
void processMCK0shortInJets(SimCollisions const& collisions, soa::Join<aod::McCollisions, aod::McCentFT0Ms> const&,
2198-
DaughterTracksMC const& mcTracks, aod::V0Datas const& fullV0s, aod::McParticles const& mcParticles)
2198+
DaughterTracksMC const& mcTracks, aod::V0Datas const& fullV0s, aod::McParticles const& mcParticles)
21992199
{
22002200
// Define particle container for FastJet and array of vectors for selected jets
22012201
std::vector<fastjet::PseudoJet> fjParticles;
@@ -2311,8 +2311,8 @@ struct StrangenessInJets {
23112311
if (static_cast<int>(pions.size()) < minimumSize)
23122312
continue;
23132313

2314-
for (int i=0 ; i < static_cast<int>(pions.size()) ; i++) {
2315-
for (int j=i+1 ; j < static_cast<int>(pions.size()) ; j++) {
2314+
for (int i = 0; i < static_cast<int>(pions.size()); i++) {
2315+
for (int j = i + 1; j < static_cast<int>(pions.size()); j++) {
23162316

23172317
if (pions[i].idParent != pions[j].idParent)
23182318
continue;
@@ -2323,7 +2323,7 @@ struct StrangenessInJets {
23232323
registryMC.fill(HIST("ptSpectrumK0DaughtersInJet"), pions[i].ptGen + pions[j].ptGen);
23242324
}
23252325
}
2326-
}// end loop over jets
2326+
} // end loop over jets
23272327

23282328
for (int i = 0; i < static_cast<int>(selectedJet.size()); i++) {
23292329
for (const auto& v0 : v0sPerColl) {
@@ -2353,9 +2353,9 @@ struct StrangenessInJets {
23532353

23542354
if (deltaRjet < rJet && passedK0ShortSelection(v0, pos, neg))
23552355
registryMC.fill(HIST("ptSpectrumK0DaughtersAll"), mother.pt());
2356-
}// end loop on V0s
2357-
}// end loop on selected jets
2358-
}// end loop on collisions
2356+
} // end loop on V0s
2357+
} // end loop on selected jets
2358+
} // end loop on collisions
23592359
}
23602360
PROCESS_SWITCH(StrangenessInJets, processMCK0shortInJets, "process reconstructed events", false);
23612361
};

0 commit comments

Comments
 (0)