@@ -71,7 +71,7 @@ struct HfElectronSelectionWithTpcEmcal {
7171 KFParticle kfNonHfe;
7272 Configurable<bool > fillEmcClusterInfo{" fillEmcClusterInfo" , true , " Fill histograms with EMCal cluster info before and after track match" };
7373 Configurable<bool > fillTrackInfo{" fillTrackInfo" , true , " Fill histograms with Track Information info before track match" };
74- Configurable<int > emcalRegion{" emcalAcceptance " , 0 , " Select EMCal region for filling histograms" };
74+ Configurable<int > emcalRegion{" emcalRegion " , 0 , " Select EMCal region for filling histograms" };
7575 // Event Selection
7676 Configurable<float > zPvPosMax{" zPvPosMax" , 10 ., " Maximum z of the primary vertex (cm)" };
7777 Configurable<bool > isRun3{" isRun3" , true , " Data is from Run3 or Run2" };
@@ -380,11 +380,8 @@ struct HfElectronSelectionWithTpcEmcal {
380380 if (!(isRun3 ? collision.sel8 () : (collision.sel7 () && collision.alias_bit (kINT7 )))) {
381381 return ;
382382 }
383-
384383 int region = emcalRegion;
385- registry.fill (HIST (" hNevents" ), region)
386-
387- registry.fill (HIST (" hNevents" ), 1 );
384+ registry.fill (HIST (" hNevents" ), region);
388385
389386 // skip events with no clusters
390387 if (emcClusters.size () == 0 && skipNoEmcClusters) {
@@ -580,11 +577,9 @@ struct HfElectronSelectionWithTpcEmcal {
580577 if (std::abs (mother.pdgCode ()) == kEtaLocal || std::abs (mother.pdgCode ()) == kPi0 || std::abs (mother.pdgCode ()) == kGamma ) {
581578 registry.fill (HIST (" hMcgenAllNonHfeElectron" ), particleMc.pt ());
582579
583-
584580 auto const & gmother = mother.mothers_first_as <aod::McParticles>();
585581 // cases to consider: eta->e, eta->pi0->e, eta->gamma->e, eta->pi0->gamma->e, pi0->e, pi0->gamma->e
586582
587-
588583 // ================= eta->e ======================================
589584 if (std::abs (mother.pdgCode ()) == kEtaLocal ) {
590585
0 commit comments