|
20 | 20 | #ifndef PWGCF_FEMTOUNIVERSE_CORE_FEMTOUNIVERSEPARTICLEHISTO_H_ |
21 | 21 | #define PWGCF_FEMTOUNIVERSE_CORE_FEMTOUNIVERSEPARTICLEHISTO_H_ |
22 | 22 |
|
23 | | -#include <string> |
24 | | -#include <optional> |
25 | 23 | #include "PWGCF/FemtoUniverse/DataModel/FemtoDerived.h" |
26 | | -#include "Framework/HistogramRegistry.h" |
| 24 | + |
27 | 25 | #include "CommonConstants/MathConstants.h" |
| 26 | +#include "Framework/HistogramRegistry.h" |
| 27 | + |
| 28 | +#include <optional> |
| 29 | +#include <string> |
28 | 30 |
|
29 | 31 | using namespace o2::framework; // o2-linter: disable=using-directive |
30 | 32 |
|
@@ -266,6 +268,10 @@ class FemtoUniverseParticleHisto |
266 | 268 | if constexpr (mc == o2::aod::femtouniverse_mc_particle::MCType::kRecon) { |
267 | 269 | mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST(o2::aod::femtouniverseparticle::TempFitVarName[mParticleType]), part.pt(), part.tempFitVar()); |
268 | 270 | } |
| 271 | + if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kCascade) { |
| 272 | + mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST("/hInvMassXi"), part.mLambda()); |
| 273 | + mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST("/hInvMassOmega"), part.mAntiLambda()); |
| 274 | + } |
269 | 275 | } |
270 | 276 |
|
271 | 277 | template <o2::aod::femtouniverse_mc_particle::MCType mc, typename T, typename H> |
@@ -318,8 +324,6 @@ class FemtoUniverseParticleHisto |
318 | 324 | mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST("/hDecayVtxX"), part.decayVtxX()); |
319 | 325 | mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST("/hDecayVtxY"), part.decayVtxY()); |
320 | 326 | mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST("/hDecayVtxZ"), part.decayVtxZ()); |
321 | | - mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST("/hInvMassXi"), part.mLambda()); |
322 | | - mHistogramRegistry->fill(histFolder + HIST(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST("/hInvMassOmega"), part.mAntiLambda()); |
323 | 327 | } |
324 | 328 | } |
325 | 329 |
|
|
0 commit comments