Skip to content

Commit 916b1f5

Browse files
committed
Remove commented code
1 parent 5691e46 commit 916b1f5

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

PWGCF/Flow/Tasks/flowSP.cxx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,7 @@ struct FlowSP {
311311
registry.add("QA/after/hCentFV0A", "; Cent FV0A (%); ", {HistType::kTH1D, {axisCent}});
312312
registry.add("QA/after/hCentNGlobal", "; Cent NGlobal (%); ", {HistType::kTH1D, {axisCent}});
313313
registry.add("QA/after/globalTracks_centT0C", "", {HistType::kTH2D, {axisCent, axisNch}});
314-
// registry.add("QA/after/globalTracks_centNGlobal", "", {HistType::kTH2D, {axisCent, axisNch}});
315314
registry.add("QA/after/PVTracks_centT0C", "", {HistType::kTH2D, {axisCent, axisMultpv}});
316-
// registry.add("QA/after/PVTracks_centNGlobal", "", {HistType::kTH2D, {axisCent, axisMultpv}});
317315
registry.add("QA/after/globalTracks_PVTracks", "", {HistType::kTH2D, {axisMultpv, axisNch}});
318316
registry.add("QA/after/globalTracks_multT0A", "", {HistType::kTH2D, {axisT0a, axisNch}});
319317
registry.add("QA/after/globalTracks_multV0A", "", {HistType::kTH2D, {axisV0a, axisNch}});
@@ -607,12 +605,10 @@ struct FlowSP {
607605
}
608606

609607
if (nIdentified == 0) {
610-
// LOGF(warning, "No PID match found for |nSigma| < %.2f", cfgTrackSelsPIDNsigma);
611608
return kUnidentified; // No PID match found
612609
} else if (nIdentified == 1) {
613610
return valPID;
614611
} else {
615-
// LOGF(warning, "Track identified as %i particles for |nSigma| < %.2f", nIdentified, cfgTrackSelsPIDNsigma);
616612
return kUnidentified; // Multiple PID matches found
617613
}
618614

@@ -622,10 +618,8 @@ struct FlowSP {
622618
int getMagneticField(uint64_t timestamp)
623619
{
624620
// TODO done only once (and not per run). Will be replaced by CCDBConfigurable
625-
// static o2::parameters::GRPObject* grpo = nullptr;
626621
static o2::parameters::GRPMagField* grpo = nullptr;
627622
if (grpo == nullptr) {
628-
// grpo = ccdb->getForTimeStamp<o2::parameters::GRPObject>("GLO/GRP/GRP", timestamp);
629623
grpo = ccdb->getForTimeStamp<o2::parameters::GRPMagField>("GLO/Config/GRPMagField", timestamp);
630624
if (grpo == nullptr) {
631625
LOGF(fatal, "GRP object not found for timestamp %llu", timestamp);
@@ -816,8 +810,6 @@ struct FlowSP {
816810

817811
registry.fill(HIST("hTrackCount"), trackSel_DCAz);
818812

819-
// registry.fill(HIST("hTrackCount"), trackSel_GlobalTracks);
820-
821813
if (track.tpcNClsFound() < cfgTrackSelsNcls)
822814
return false;
823815
registry.fill(HIST("hTrackCount"), trackSel_NCls);
@@ -1363,7 +1355,6 @@ struct FlowSP {
13631355

13641356
fillEventQA<kAfter>(collision, tracks);
13651357

1366-
// LOGF(info, "Size of tracks: %i", tracks.size());
13671358
registry.fill(HIST("trackMCReco/hTrackSize_unFiltered"), tracks.size());
13681359
registry.fill(HIST("trackMCReco/hTrackSize_Filtered"), filteredTracks.size());
13691360

@@ -1388,10 +1379,9 @@ struct FlowSP {
13881379
}
13891380
PROCESS_SWITCH(FlowSP, processMCReco, "Process analysis for MC reconstructed events", false);
13901381

1391-
// Filter mcCollFilter = nabs(aod::mccollision::posZ) < cfgEvSelsVtxZ;
1382+
13921383
void processMCGen(aod::McCollisions const& mcCollisions, CCs const& collisions, TCs const& tracks, FilteredTCs const& filteredTracks, MCs const& McParts)
13931384
{
1394-
// LOGF(info, "Size of mccollisions: %i", mcCollisions.size());
13951385

13961386
for (const auto& mcCollision : mcCollisions) {
13971387
float centrality = -1;

0 commit comments

Comments
 (0)