There was an error while loading. Please reload this page.
1 parent da883cd commit fb1402eCopy full SHA for fb1402e
1 file changed
PWGMM/UE/Tasks/flattenicityTask.cxx
@@ -21,6 +21,7 @@
21
#include <Framework/AnalysisTask.h>
22
#include <Framework/Configurable.h>
23
#include <Framework/HistogramRegistry.h>
24
+#include <Framework/HistogramSpec.h>
25
#include <Framework/runDataProcessing.h>
26
27
#include <TPDGCode.h>
@@ -263,7 +264,7 @@ struct FlattenicityTask {
263
264
// Loop over MC particles
265
for (const auto& particle : mcParticles) {
266
// Check if primary
- if (!(particle.flags() & NPhysicalPrimaryBit)) {
267
+ if ((particle.flags() & NPhysicalPrimaryBit) == 0) {
268
continue;
269
}
270
0 commit comments