File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1818#include " ALICE3/Core/Decayer.h"
1919#include " ALICE3/Core/TrackUtilities.h"
2020#include " ALICE3/DataModel/OTFMCParticle.h"
21- # include < Framework/runDataProcessing.h >
21+
2222#include < CommonConstants/MathConstants.h>
2323#include < CommonConstants/PhysicsConstants.h>
2424#include < Framework/AnalysisDataModel.h>
2525#include < Framework/AnalysisTask.h>
2626#include < Framework/HistogramRegistry.h>
2727#include < Framework/O2DatabasePDGPlugin.h>
28+ #include < Framework/runDataProcessing.h>
2829
2930#include < TPDGCode.h>
3031
@@ -116,9 +117,9 @@ struct OnTheFlyDecayer {
116117 bool hasNaN () const
117118 {
118119 return std::isnan (px) || std::isnan (py) || std::isnan (pz) || std::isnan (e) ||
119- std::isnan (vx) || std::isnan (vy) || std::isnan (vz) || std::isnan (vt) ||
120- std::isnan (phi) || std::isnan (eta) || std::isnan (pt) || std::isnan (p) ||
121- std::isnan (y) || std::isnan (weight);
120+ std::isnan (vx) || std::isnan (vy) || std::isnan (vz) || std::isnan (vt) ||
121+ std::isnan (phi) || std::isnan (eta) || std::isnan (pt) || std::isnan (p) ||
122+ std::isnan (y) || std::isnan (weight);
122123 }
123124
124125 int collisionId;
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ struct Alice3DecayerQA {
155155 histos.fill (HIST (" MCWithDau/hEta" ), particle.eta ());
156156 histos.fill (HIST (" MCWithDau/hRapidity" ), particle.y ());
157157 histos.fill (HIST (" MCWithDau/hIsAlive" ), particle.isAlive ());
158- histos.fill (HIST (" MCWithDau/hIsPrimary" ), particle.isPhysicalPrimary ());
158+ histos.fill (HIST (" MCWithDau/hIsPrimary" ), particle.isPrimary ());
159159 histos.fill (HIST (" MCWithDau/hPx" ), particle.px ());
160160 histos.fill (HIST (" MCWithDau/hPy" ), particle.py ());
161161 histos.fill (HIST (" MCWithDau/hPz" ), particle.pz ());
You can’t perform that action at this time.
0 commit comments