File tree Expand file tree Collapse file tree
PWGLF/Tasks/GlobalEventProperties Expand file tree Collapse file tree Original file line number Diff line number Diff 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) {
You can’t perform that action at this time.
0 commit comments