Skip to content

Commit 74c24cf

Browse files
authored
Removing unused parentclass
Updated comments for clarity regarding parent tags and decoder definitions.
1 parent 86b2a4c commit 74c24cf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎PWGLF/Tasks/Resonances/lambdastarproxy.cxx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,9 +1064,9 @@ struct Lambdastarproxy {
10641064
static constexpr double MultMax = 100.;
10651065
static constexpr std::array<const char*, 2> PairSigns{"Unlike", "Like"};
10661066
static constexpr std::array<const char*, 2> ProbeRoles{"De", "Ka"};
1067-
static constexpr std::array<const char*, ParentClasses> ParentNames{
1068-
"no retained common mother", "K0S", "Lambda1115", "Kstar", "phi", "Lambda1520",
1069-
"other retained common mother", "multiple retained common mothers", "same MC particle", "invalid truth labels"};
1067+
// Parent tags: 0=no common mother, 1=K0S, 2=Lambda1115, 3=Kstar, 4=phi,
1068+
// 5=Lambda1520, 6=other common mother, 7=multiple common mothers,
1069+
// 8=same MC particle, 9=invalid truth labels.
10701070

10711071
std::array<std::shared_ptr<TH3>, 2> mcProxySpecies{};
10721072
std::array<std::shared_ptr<TH3>, 2> mcProxyOtherParents{};
@@ -1224,7 +1224,7 @@ struct Lambdastarproxy {
12241224
uint64_t payload = 0;
12251225
// Keep these numerically filled TH3 axes unlabelled. ROOT label-mode merges
12261226
// can collapse distinct Z tags, especially through empty/staged merges.
1227-
// SpeciesNames/ParentNames and the packed-axis formulas define the decoder.
1227+
// SpeciesNames, the parent-tag comments and packed-axis formulas define the decoder.
12281228
auto add3 = [&](std::string const& name, std::string const& title, std::vector<AxisSpec> const& axes) {
12291229
auto h = histos.add<TH3>(name.c_str(), title.c_str(), HistType::kTH3D, axes, true);
12301230
payload += static_cast<uint64_t>(h->GetNcells()) * 2 * sizeof(double);

0 commit comments

Comments
 (0)