Skip to content

Commit abfc82b

Browse files
committed
Fix readability/multiline_comment
1 parent 881be7a commit abfc82b

3 files changed

Lines changed: 26 additions & 26 deletions

File tree

‎PWGDQ/Core/MCSignal.h‎

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -331,25 +331,26 @@ bool MCSignal::CheckProng(int i, bool checkSources, const T& track)
331331
break;
332332
}
333333
}
334-
} /*else { // check generation in time
335-
if (!currentMCParticle.has_daughters()) {
336-
return false;
337-
}
338-
const auto& daughtersSlice = currentMCParticle.template daughters_as<P>();
339-
for (auto& d : daughtersSlice) {
340-
if (!fProngs[i].fExcludePDGInHistory[k] && fProngs[i].ComparePDG(d.pdgCode(), fProngs[i].fPDGInHistory[k], true, fProngs[i].fExcludePDGInHistory[k])) {
341-
pdgInHistory.emplace_back(d.pdgCode());
342-
break;
343-
}
344-
if (fProngs[i].fExcludePDGInHistory[k] && !fProngs[i].ComparePDG(d.pdgCode(), fProngs[i].fPDGInHistory[k], true, fProngs[i].fExcludePDGInHistory[k])) {
345-
return false;
346-
}
347-
ith++;
348-
if (ith > 10) { // need error message. Given pdg code was not found within 10 generations of the particles decay chain.
349-
break;
350-
}
351-
}
352-
}*/
334+
}
335+
// else { // check generation in time
336+
// if (!currentMCParticle.has_daughters()) {
337+
// return false;
338+
// }
339+
// const auto& daughtersSlice = currentMCParticle.template daughters_as<P>();
340+
// for (auto& d : daughtersSlice) {
341+
// if (!fProngs[i].fExcludePDGInHistory[k] && fProngs[i].ComparePDG(d.pdgCode(), fProngs[i].fPDGInHistory[k], true, fProngs[i].fExcludePDGInHistory[k])) {
342+
// pdgInHistory.emplace_back(d.pdgCode());
343+
// break;
344+
// }
345+
// if (fProngs[i].fExcludePDGInHistory[k] && !fProngs[i].ComparePDG(d.pdgCode(), fProngs[i].fPDGInHistory[k], true, fProngs[i].fExcludePDGInHistory[k])) {
346+
// return false;
347+
// }
348+
// ith++;
349+
// if (ith > 10) { // need error message. Given pdg code was not found within 10 generations of the particles decay chain.
350+
// break;
351+
// }
352+
// }
353+
// }
353354
}
354355
if (pdgInHistory.size() != nIncludedPDG) { // vector has as many entries as mothers (daughters) defined for prong
355356
return false;

‎PWGLF/TableProducer/Resonances/cksspinalignment.cxx‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,10 @@ struct cksspinalignment {
139139
}
140140

141141
bool keepEvent(uint64_t eventIndex) const
142-
{ /*
143-
if (cfgKeepFraction >= 1.0f) {
144-
return true;
145-
}
146-
*/
142+
{
143+
// if (cfgKeepFraction >= 1.0f) {
144+
// return true;
145+
// }
147146
// SplitMix64 pseudo-random hash
148147
uint64_t x = eventIndex + 0x9e3779b97f4a7c15ULL;
149148
x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9ULL;

‎PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,8 +579,8 @@ struct strangederivedbuilder {
579579
// auto TraCascTable_thisColl = TraCascades.sliceBy(TraCascperCollision, collIdx);
580580
bool strange = V0Table_thisColl.size() > 0 ||
581581
CascTable_thisColl.size() > 0 ||
582-
KFCascTable_thisColl.size() > 0 /* ||
583-
TraCascTable_thisColl.size() > 0*/
582+
KFCascTable_thisColl.size() > 0
583+
// ||TraCascTable_thisColl.size() > 0
584584
;
585585

586586
auto bc = collision.template bc_as<bcType>();

0 commit comments

Comments
 (0)