@@ -384,10 +384,17 @@ struct Kstarqa {
384384
385385 hInvMass.add (" CorrFactors/h2dGenKstar" , " Centrality vs p_{T}" , kTH2D , {{101 , 0 .0f , 101 .0f }, ptAxis});
386386 hInvMass.add (" CorrFactors/h3dGenKstarVsMultMCVsMultiplicity" , " MC centrality vs centrality vs p_{T}" , kTH3D , {axisNch, {101 , 0 .0f , 101 .0f }, ptAxis});
387+ <<<<<<< HEAD
387388 hInvMass.add (" CorrFactors/hSignalLossDenominator" , " Kstar generated before event selection" , kTH2F , {{ptAxis}, {axisNch}});
388389 hInvMass.add (" CorrFactors/hSignalLossNumerator" , " Kstar generated after event selection" , kTH2F , {{ptAxis}, {axisNch}});
389390 hInvMass.add (" CorrFactors/MultiplicityRec" , " Multiplicity in generated MC with at least 1 reconstruction" , kTH1F , {axisNch});
390391 hInvMass.add (" CorrFactors/MultiplicityGen" , " Multiplicity in generated MC" , kTH1F , {axisNch});
392+ =======
393+ hInvMass.add (" CorrFactors/hSignalLossDenominator" , " Kstar generated before event selection" , kTH2F , {{ptAxis}, {multiplicityAxis}});
394+ hInvMass.add (" CorrFactors/hSignalLossNumerator" , " Kstar generated after event selection" , kTH2F , {{ptAxis}, {multiplicityAxis}});
395+ hInvMass.add (" CorrFactors/MultiplicityRec" , " Multiplicity in generated MC with at least 1 reconstruction" , kTH1F , {multiplicityAxis});
396+ hInvMass.add (" CorrFactors/MultiplicityGen" , " Multiplicity in generated MC" , kTH1F , {multiplicityAxis});
397+ >>>>>>> 087e3b03d (different event/signal loss method)
391398 }
392399
393400 rEventSelection.add (" tracksCheckData" , " No. of events in the data" , kTH1I , {{10 , 0 , 10 }});
@@ -1701,8 +1708,13 @@ struct Kstarqa {
17011708 if (!selectionEvent (RecCollision, false )) // don't fill event cut histogram
17021709 continue ;
17031710
1711+ <<<<<<< HEAD
17041712 // const auto& mcCollisionRec = RecCollision.mcCollision_as<EventMCGenerated>();
17051713 // multiplicityRec = mcCollisionRec.centFT0M();
1714+ =======
1715+ const auto & mcCollisionRec = RecCollision.mcCollision_as <EventMCGenerated>();
1716+ multiplicityRec = mcCollisionRec.centFT0M ();
1717+ >>>>>>> 087e3b03d (different event/signal loss method)
17061718
17071719 if (cSelectMultEstimator == kFT0M ) {
17081720 multiplicity1 = RecCollision.centFT0M ();
@@ -1777,6 +1789,12 @@ struct Kstarqa {
17771789 float multiplicity = -1.0 ;
17781790 bool isSelectedEvent = false ;
17791791
1792+ <<<<<<< HEAD
1793+ =======
1794+ float multiplicity = 100 .5f ;
1795+ bool isSelectedEvent = false ;
1796+
1797+ >>>>>>> 087e3b03d (different event/signal loss method)
17801798 for (auto const & collision : collisions) {
17811799 if (!collision.has_mcCollision ())
17821800 continue ;
@@ -1802,9 +1820,15 @@ struct Kstarqa {
18021820
18031821 hInvMass.fill (HIST (" CorrFactors/hMultiplicityVsMultMC" ), multiplicity, multiplicityNch);
18041822 hInvMass.fill (HIST (" CorrFactors/hNrecInGen" ), collisions.size ());
1823+ <<<<<<< HEAD
18051824 hInvMass.fill (HIST (" CorrFactors/MultiplicityGen" ), multiplicityNch);
18061825 if (isSelectedEvent) {
18071826 hInvMass.fill (HIST (" CorrFactors/MultiplicityRec" ), multiplicityNch);
1827+ =======
1828+ hInvMass.fill (HIST (" CorrFactors/MultiplicityGen" ), multiplicity);
1829+ if (isSelectedEvent) {
1830+ hInvMass.fill (HIST (" CorrFactors/MultiplicityRec" ), multiplicity);
1831+ >>>>>>> 087e3b03d (different event/signal loss method)
18081832 }
18091833
18101834 for (const auto & mcParticle : mcParticles) {
@@ -1850,10 +1874,17 @@ struct Kstarqa {
18501874 mother = daughter1 + daughter2; // Kstar meson
18511875
18521876 hInvMass.fill (HIST (" CorrFactors/h2dGenKstar" ), multiplicity, mother.Pt ());
1877+ <<<<<<< HEAD
18531878 hInvMass.fill (HIST (" CorrFactors/h3dGenKstarVsMultMCVsMultiplicity" ), multiplicityNch, multiplicity, mother.Pt ());
18541879 hInvMass.fill (HIST (" CorrFactors/hSignalLossDenominator" ), mother.pt (), multiplicityNch);
18551880 if (isSelectedEvent) {
18561881 hInvMass.fill (HIST (" CorrFactors/hSignalLossNumerator" ), mother.pt (), multiplicityNch);
1882+ =======
1883+ hInvMass.fill (HIST (" CorrFactors/h3dGenKstarVsMultMCVsMultiplicity" ), mcCollision.multMCNParticlesEta08 (), multiplicity, mother.Pt ());
1884+ hInvMass.fill (HIST (" CorrFactors/hSignalLossDenominator" ), mother.pt (), multiplicity);
1885+ if (isSelectedEvent) {
1886+ hInvMass.fill (HIST (" CorrFactors/hSignalLossNumerator" ), mother.pt (), multiplicity);
1887+ >>>>>>> 087e3b03d (different event/signal loss method)
18571888 }
18581889 }
18591890 }
0 commit comments