Skip to content

Commit 6ad63ec

Browse files
authored
Addition for debugging
1 parent 00b46de commit 6ad63ec

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,17 @@ struct StudyPnch {
441441
auto multrec = countNTracksMcCol(recTracksPart, RecCol);
442442
histos.fill(HIST("hMultiplicityMCrec"), multrec);
443443
float multgen = countGenTracks(GenParticles, RecCol);
444-
LOG(info) << "Generated Particles with standard pT:" << multgen;
444+
if (cPrint) {
445+
LOG(info) << "Generated Particles with standard pT:" << multgen;
446+
}
445447
histos.fill(HIST("hMultiplicityMCgen"), multgen);
446448
histos.fill(HIST("hResponseMatrix"), multrec, multgen);
447449
float nTrkPtCut = countTracksPtCut(GenParticles, RecCol);
448450
nTrkPtCut = multgen + nTrkPtCut;
449-
LOG(info) << "After Counting low pT: " << nTrkPtCut;
450-
LOG(info) << "########################";
451+
if (cPrint) {
452+
LOG(info) << "After Counting low pT: " << nTrkPtCut;
453+
LOG(info) << "########################";
454+
}
451455
histos.fill(HIST("hMultiplicityMCgenPtCut"), nTrkPtCut);
452456
histos.fill(HIST("hResponseMatrixPtCut"), multrec, nTrkPtCut);
453457
if (isApplyStrangenessSysUncert) {

0 commit comments

Comments
 (0)