@@ -232,7 +232,7 @@ struct Phianalysisrun3pbpb {
232232 histos.add (" h3PhifinalRec" , " Phi meson Rec" , kTH3F , {ptAxisphi, centAxisphi, massAxisphi});
233233 histos.add (" h1PhifinalGen" , " Phi meson Gen" , kTH1F , {ptAxisphi});
234234 histos.add (" h2PhifinalGen" , " Phi meson Gen" , kTH2F , {ptAxisphi, centAxisphi});
235- histos.add (" hMC1" , " MC Event statistics" , kTH1F , {{15 , 0 .0f , 15 .0f }});
235+ histos.add (" hMC1" , " MC Event statistics" , kTH1F , {{20 , 0 .0f , 20 .0f }});
236236 histos.add (" Centrec1" , " MC Centrality" , kTH1F , {centAxisphi});
237237 histos.add (" Centsame" , " MC Centrality" , kTH1F , {centAxisphi});
238238 histos.add (" Centmc" , " MC Centrality" , kTH1F , {centAxisphi});
@@ -1719,7 +1719,7 @@ struct Phianalysisrun3pbpb {
17191719 }
17201720 histos.fill (HIST (" hMC1" ), 5.5 );
17211721 if (selectionConfig.cutvz &&
1722- std::abs (collision.mcCollision (). posZ ()) > selectionConfig.cfgCutVertex ) {
1722+ std::abs (collision.posZ ()) > selectionConfig.cfgCutVertex ) {
17231723 continue ;
17241724 }
17251725
@@ -1817,7 +1817,7 @@ struct Phianalysisrun3pbpb {
18171817 }
18181818
18191819 PROCESS_SWITCH (Phianalysisrun3pbpb, processGen1, " Process Generated" , false );
1820- void processRec1 (EventCandidatesMC::iterator const & collision, TrackCandidatesMC const & tracks, aod::McParticles const & /* mcParticles*/ , aod::McCollisions const & /* mcCollisions*/ )
1820+ void processRec1 (EventCandidatesMC::iterator const & collision, TrackCandidatesMC const & tracks, aod::McParticles const & /* mcParticles*/ , McCollisionMults const & /* mcCollisions*/ )
18211821 {
18221822 if (!collision.has_mcCollision ()) {
18231823 return ;
@@ -1826,7 +1826,7 @@ struct Phianalysisrun3pbpb {
18261826 return ;
18271827 }
18281828 if (selectionConfig.cutvz &&
1829- std::abs (collision.mcCollision (). posZ ()) > selectionConfig.cfgCutVertex ) {
1829+ std::abs (collision.posZ ()) > selectionConfig.cfgCutVertex ) {
18301830 return ;
18311831 }
18321832 if (selectionConfig.additionalEvSel1 && !collision.selection_bit (aod::evsel::kNoTimeFrameBorder )) {
0 commit comments