@@ -54,6 +54,7 @@ struct HfCorrelatorHfeHadrons {
5454 Configurable<float > zPvPosMax{" zPvPosMax" , 10 ., " Maximum z of the primary vertex (cm)" };
5555 Configurable<bool > isRun3{" isRun3" , true , " Data is from Run3 or Run2" };
5656
57+ Configurable<int > numberEventsMixed{" numberEventsMixed" , 5 , " number of events mixed in ME process" };
5758 // Associated Hadron selection
5859 Configurable<float > ptTrackMin{" ptTrackMin" , 0 .1f , " Transverse momentum range for associated hadron tracks" };
5960 Configurable<float > etaTrackMax{" etaTrackMax" , 0 .8f , " Eta range for associated hadron tracks" };
@@ -377,7 +378,7 @@ struct HfCorrelatorHfeHadrons {
377378 void processDataMixedEvent (TableCollisions const & collision, aod::HfCorrSelEl const & electron, TableTracks const & tracks)
378379 {
379380 auto tracksTuple = std::make_tuple (electron, tracks);
380- Pair<TableCollisions, aod::HfCorrSelEl, TableTracks, BinningType> pair{corrBinning, 5 , -1 , collision, tracksTuple, &cache};
381+ Pair<TableCollisions, aod::HfCorrSelEl, TableTracks, BinningType> pair{corrBinning, numberEventsMixed , -1 , collision, tracksTuple, &cache};
381382
382383 // loop over the rows of the new table
383384 for (const auto & [c1, tracks1, c2, tracks2] : pair) {
@@ -392,7 +393,7 @@ struct HfCorrelatorHfeHadrons {
392393 void processMcRecMixedEvent (McTableCollisions const & mccollision, aod::HfCorrSelEl const & electron, McTableTracks const & mcTracks)
393394 {
394395 auto tracksTuple = std::make_tuple (electron, mcTracks);
395- Pair<McTableCollisions, aod::HfCorrSelEl, McTableTracks, BinningType> pairMcRec{corrBinning, 5 , -1 , mccollision, tracksTuple, &cache};
396+ Pair<McTableCollisions, aod::HfCorrSelEl, McTableTracks, BinningType> pairMcRec{corrBinning, numberEventsMixed , -1 , mccollision, tracksTuple, &cache};
396397
397398 // loop over the rows of the new table
398399 for (const auto & [c1, tracks1, c2, tracks2] : pairMcRec) {
0 commit comments