We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b15c7 commit 6ccf06dCopy full SHA for 6ccf06d
1 file changed
PWGLF/TableProducer/Resonances/resonanceMergeDF.cxx
@@ -63,6 +63,7 @@ using namespace o2::soa;
63
struct ResonanceMergeDF {
64
// SliceCache cache;
65
Configurable<int> nDF{"nDF", 1, "no of combination of collision"};
66
+ Configurable<bool> isLoggingEnabled{"isLoggingEnabled", 0, "print log"};
67
Configurable<bool> cpidCut{"cpidCut", 0, "pid cut"};
68
Configurable<bool> crejtpc{"crejtpc", 0, "reject electron pion"};
69
Configurable<bool> crejtof{"crejtof", 0, "reject electron pion tof"};
@@ -175,7 +176,7 @@ struct ResonanceMergeDF {
175
176
vecOfVecOfTuples.push_back(innerVector);
177
innerVector.clear();
178
df++;
- LOGF(info, "collisions: df = %i", df);
179
+ if (isLoggingEnabled) LOGF(info, "collisions: df = %i", df);
180
if (df < nCollisions)
181
return;
182
df = 0;
0 commit comments