@@ -438,8 +438,8 @@ struct HfEventSelectionMc {
438438 std::shared_ptr<TH1> hRecCollisionsCentMc;
439439 static constexpr char NameHistNSplitVertices[] = " hNSplitVertices" ;
440440 std::shared_ptr<TH1> hNSplitVertices;
441- static constexpr char NameHistParticles [] = " hParticles " ;
442- std::shared_ptr<TH1> hParticles ;
441+ static constexpr char NameHistGenCollisions [] = " hGenCollisions " ;
442+ std::shared_ptr<TH1> hGenCollisions ;
443443
444444 // / \brief Adds collision monitoring histograms in the histogram registry.
445445 // / \param registry reference to the histogram registry
@@ -448,9 +448,9 @@ struct HfEventSelectionMc {
448448 hGenCollisionsCent = registry.add <TH1>(NameHistGenCollisionsCent, " HF event counter;T0M;# of generated collisions" , {o2::framework::HistType::kTH1D , {{100 , 0 ., 100 .}}});
449449 hRecCollisionsCentMc = registry.add <TH1>(NameHistRecCollisionsCentMc, " HF event counter;T0M;# of reconstructed collisions" , {o2::framework::HistType::kTH1D , {{100 , 0 ., 100 .}}});
450450 hNSplitVertices = registry.add <TH1>(NameHistNSplitVertices, " HF split vertices counter;;# of reconstructed collisions per mc collision" , {o2::framework::HistType::kTH1D , {{4 , 1 ., 5 .}}});
451- hParticles = registry.add <TH1>(NameHistParticles , " HF particle counter;;# of accepted particles " , {o2::framework::HistType::kTH1D , {axisEvents}});
451+ hGenCollisions = registry.add <TH1>(NameHistGenCollisions , " HF event counter;;# of accepted collisions " , {o2::framework::HistType::kTH1D , {axisEvents}});
452452 // Puts labels on the collision monitoring histogram.
453- setEventRejectionLabels (hParticles );
453+ setEventRejectionLabels (hGenCollisions );
454454 }
455455
456456 // / \brief Configures the object from the reco workflow
@@ -563,7 +563,7 @@ struct HfEventSelectionMc {
563563 template <o2::hf_centrality::CentralityEstimator centEstimator, typename Coll>
564564 void fillHistograms (Coll const & mcCollision, const uint32_t rejectionMask, int nSplitColl = 0 )
565565 {
566- hParticles ->Fill (EventRejection::None);
566+ hGenCollisions ->Fill (EventRejection::None);
567567
568568 if constexpr (centEstimator == o2::hf_centrality::CentralityEstimator::FT0M) {
569569 if (!TESTBIT (rejectionMask, EventRejection::TimeFrameBorderCut) && !TESTBIT (rejectionMask, EventRejection::ItsRofBorderCut) && !TESTBIT (rejectionMask, EventRejection::PositionZ)) {
@@ -575,7 +575,7 @@ struct HfEventSelectionMc {
575575 if (TESTBIT (rejectionMask, reason)) {
576576 return ;
577577 }
578- hParticles ->Fill (reason);
578+ hGenCollisions ->Fill (reason);
579579 }
580580
581581 if constexpr (centEstimator == o2::hf_centrality::CentralityEstimator::FT0M) {
0 commit comments