Skip to content

Commit 6a4cb4a

Browse files
committed
PWGHF: Simplify charm femto histogram setup
1 parent 634bfab commit 6a4cb4a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎PWGHF/HFC/TableProducer/producerCharmHadronsCharmFemtoDream.cxx‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,11 @@ struct HfProducerCharmHadronsCharmFemtoDream {
208208
initMl(mlDstar, hfMlResponseDstar, withMl);
209209
}
210210
hfEvSel.init(registry, &zorroSummary);
211-
registry.add("events", ";stage (0=all,1=accepted);events", kTH1F,
212-
{{2, -0.5, 1.5}});
213-
registry.add("candidates", ";species (0=D0,1=D0bar,2=Dstar+,3=Dstar-);rows",
214-
kTH1F, {{4, -0.5, 3.5}});
211+
const AxisSpec eventStage{2, -0.5, 1.5, "stage (0=all,1=accepted)"};
212+
const AxisSpec candidateSpecies{
213+
4, -0.5, 3.5, "species (0=D0,1=D0bar,2=Dstar+,3=Dstar-)"};
214+
registry.add("events", "Events", kTH1F, {eventStage});
215+
registry.add("candidates", "Candidates", kTH1F, {candidateSpecies});
215216
}
216217

217218
template <o2::hf_centrality::CentralityEstimator CentEstimator,

0 commit comments

Comments
 (0)