Skip to content

Commit 72eb4c6

Browse files
committed
Please consider the following formatting changes
1 parent 576f4de commit 72eb4c6

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;
@@ -2308,8 +2308,8 @@ struct StrangenessInJets {
23082308
if (static_cast<int>(pions.size()) < minimumSize)
23092309
continue;
23102310

2311-
for (int i=0 ; i < pions.size() ; i++) {
2312-
for (int j=i+1 ; j < pions.size() ; j++) {
2311+
for (int i = 0; i < pions.size(); i++) {
2312+
for (int j = i + 1; j < pions.size(); j++) {
23132313

23142314
if (pions[i].idParent != pions[j].idParent)
23152315
continue;
@@ -2320,7 +2320,7 @@ struct StrangenessInJets {
23202320
registryMC.fill(HIST("ptSpectrumK0DaughtersInJet"), pions[i].ptGen + pions[j].ptGen);
23212321
}
23222322
}
2323-
}// end loop over jets
2323+
} // end loop over jets
23242324

23252325
for (int i = 0; i < static_cast<int>(selectedJet.size()); i++) {
23262326
for (const auto& v0 : v0sPerColl) {
@@ -2350,9 +2350,9 @@ struct StrangenessInJets {
23502350

23512351
if (deltaRjet < rJet && passedK0ShortSelection(v0, pos, neg))
23522352
registryMC.fill(HIST("ptSpectrumK0DaughtersAll"), mother.pt());
2353-
}// end loop on V0s
2354-
}// end loop on selected jets
2355-
}// end loop on collisions
2353+
} // end loop on V0s
2354+
} // end loop on selected jets
2355+
} // end loop on collisions
23562356
}
23572357
PROCESS_SWITCH(StrangenessInJets, processMCK0shortInJets, "process reconstructed events", false);
23582358
};

0 commit comments

Comments
 (0)