Skip to content

Commit d44ae08

Browse files
georgiosgmantzar
authored andcommitted
Fix runtime bugs for cascade-casdcade:
- Added OmegaMinus PDG code in the histogram class - Added naming scheme for Cascade-Cascade daughters - Some other small fixes
1 parent 7c245df commit d44ae08

File tree

3 files changed

+239
-227
lines changed

3 files changed

+239
-227
lines changed

PWGCF/FemtoDream/Core/femtoDreamParticleHisto.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,9 @@ class FemtoDreamParticleHisto
693693
HistogramRegistry* mHistogramRegistry; ///< For QA output
694694
static constexpr o2::aod::femtodreamparticle::ParticleType mParticleType = particleType; ///< Type of the particle under analysis
695695
static constexpr int mFolderSuffixType = suffixType; ///< Counter for the folder suffix specified below
696-
static constexpr std::string_view mFolderSuffix[9] = {"", "_one", "_two", "_pos", "_neg", "_allSelected", "_allSelected_pos", "_allSelected_neg", "_bach"}; ///< Suffix for the folder name in case of analyses of pairs of the same kind (T-T, V-V, C-C)
696+
static constexpr std::string_view mFolderSuffix[12] = {"", "_one", "_two", "_pos", "_neg",
697+
"_allSelected", "_allSelected_pos", "_allSelected_neg", "_bach",
698+
"_two_pos", "_two_neg", "_two_bach"}; ///< Suffix for the folder name in case of analyses of pairs of the same kind (T-T, V-V, C-C)
697699
int mPDG = 0; ///< PDG code of the selected particle
698700
};
699701
} // namespace o2::analysis::femtoDream

PWGCF/FemtoDream/Core/femtoDreamUtils.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,12 @@ inline float getMass(int pdgCode)
6767
case o2::constants::physics::Pdg::kHelium3:
6868
mass = o2::constants::physics::MassHelium3;
6969
break;
70+
//case o2::constants::physics::Pdg::kOmegaMinus:
71+
case kOmegaMinus:
72+
mass = o2::constants::physics::MassOmegaMinus;
73+
break;
7074
default:
71-
LOG(fatal) << "PDG code is not suppored";
75+
LOG(fatal) << "PDG code is not supported";
7276
}
7377
return mass;
7478
}

0 commit comments

Comments
 (0)