@@ -248,7 +248,6 @@ struct LambdaTableProducer {
248248 Configurable<double > cMinV0CosPA{" cMinV0CosPA" , 0.995 , " Minimum V0 CosPA to PV" };
249249 Configurable<double > cKshortRejMassWindow{" cKshortRejMassWindow" , 0.01 , " Reject K0Short Candidates" };
250250 Configurable<bool > cKshortRejFlag{" cKshortRejFlag" , true , " K0short Mass Rej Flag" };
251- // Configurable<double> cLambdaMassWindow{"cLambdaMassWindow", 0.005, "Lambda Mass Window"};
252251
253252 // V0s kinmatic acceptance
254253 Configurable<float > cMinV0Mass{" cMinV0Mass" , 1.10 , " V0 Mass Min" };
@@ -1294,12 +1293,17 @@ struct LambdaTracksExtProducer {
12941293 const AxisSpec axisMass (100 , 1.06 , 1.16 , " Inv Mass (GeV/#it{c}^{2})" );
12951294 const AxisSpec axisCPA (100 , 0.995 , 1.0 , " cos(#theta_{PA})" );
12961295 const AxisSpec axisDcaDau (75 , 0 ., 1.5 , " Daug DCA (#sigma)" );
1296+ const AxisSpec axisDEta (320 , -1.6 , 1.6 , " #Delta#eta" );
1297+ const AxisSpec axisDPhi (640 , -PIHalf, 3 . * PIHalf, " #Delta#varphi" );
12971298
12981299 // Histograms Booking
12991300 histos.add (" h1i_totlambda_mult" , " Multiplicity" , kTH1I , {axisMult});
13001301 histos.add (" h1i_totantilambda_mult" , " Multiplicity" , kTH1I , {axisMult});
13011302 histos.add (" h1i_lambda_mult" , " Multiplicity" , kTH1I , {axisMult});
13021303 histos.add (" h1i_antilambda_mult" , " Multiplicity" , kTH1I , {axisMult});
1304+ histos.add (" h2d_n2_etaphi_LaP_LaM" , " #rho_{2}^{SharePair}" , kTH2D , {axisDEta, axisDPhi});
1305+ histos.add (" h2d_n2_etaphi_LaP_LaP" , " #rho_{2}^{SharePair}" , kTH2D , {axisDEta, axisDPhi});
1306+ histos.add (" h2d_n2_etaphi_LaM_LaM" , " #rho_{2}^{SharePair}" , kTH2D , {axisDEta, axisDPhi});
13031307
13041308 // InvMass, DcaDau and CosPA
13051309 histos.add (" Reco/h1f_lambda_invmass" , " M_{p#pi}" , kTH1F , {axisMass});
@@ -1353,16 +1357,20 @@ struct LambdaTracksExtProducer {
13531357 continue ;
13541358 }
13551359
1356- // check only lambda-lambda || antilambda-antilambda
1357- if (lambda.v0Type () != track.v0Type ()) {
1358- continue ;
1359- }
1360-
13611360 // check if lambda shares daughters with any other track
13621361 if (lambda.posTrackId () == track.posTrackId () || lambda.negTrackId () == track.negTrackId ()) {
13631362 vSharedDauLambdaIndex.push_back (track.index ());
13641363 lambdaSharingDauFlag = true ;
13651364
1365+ // Fill DEta-DPhi Histogram
1366+ if ((lambda.v0Type () == kLambda && track.v0Type () == kAntiLambda ) || (lambda.v0Type () == kAntiLambda && track.v0Type () == kLambda )) {
1367+ histos.fill (HIST (" h2d_n2_etaphi_LaP_LaM" ), lambda.eta () - track.eta (), RecoDecay::constrainAngle ((lambda.phi () - track.phi ()), -PIHalf));
1368+ } else if (lambda.v0Type () == kLambda && track.v0Type () == kLambda ) {
1369+ histos.fill (HIST (" h2d_n2_etaphi_LaP_LaP" ), lambda.eta () - track.eta (), RecoDecay::constrainAngle ((lambda.phi () - track.phi ()), -PIHalf));
1370+ } else if (lambda.v0Type () == kAntiLambda && track.v0Type () == kAntiLambda ) {
1371+ histos.fill (HIST (" h2d_n2_etaphi_LaM_LaM" ), lambda.eta () - track.eta (), RecoDecay::constrainAngle ((lambda.phi () - track.phi ()), -PIHalf));
1372+ }
1373+
13661374 // decision based on mass closest to PdgMass of Lambda
13671375 if (std::abs (lambda.mass () - MassLambda0) > std::abs (track.mass () - MassLambda0)) {
13681376 lambdaMinDeltaMassFlag = false ;
@@ -1473,7 +1481,6 @@ struct LambdaR2Correlation {
14731481 const AxisSpec axisCent (105 , 0 , 105 , " FT0M (%)" );
14741482 const AxisSpec axisMult (10 , 0 , 10 , " N_{#Lambda}" );
14751483 const AxisSpec axisMass (100 , 1.06 , 1.16 , " M_{#Lambda} (GeV/#it{c}^{2})" );
1476- const AxisSpec axisMassCorr (60 , -0.03 , 0.03 , " M_{#Lambda} - #frac{M_{pair}}{2} (GeV/#it{c}^{2})" );
14771484 const AxisSpec axisPt (cNPtBins, cMinPt, cMaxPt, " p_{T} (GeV/#it{c})" );
14781485 const AxisSpec axisEta (cNRapBins, cMinRap, cMaxRap, " #eta" );
14791486 const AxisSpec axisRap (cNRapBins, cMinRap, cMaxRap, " y" );
@@ -1537,14 +1544,6 @@ struct LambdaR2Correlation {
15371544 histos.add (" Reco/h2d_n2_phiphi_LaP_LaP" , " #rho_{2}^{#Lambda#Lambda}" , kTH2D , {axisPhi, axisPhi});
15381545 histos.add (" Reco/h2d_n2_phiphi_LaM_LaM" , " #rho_{2}^{#bar{#Lambda}#bar{#Lambda}}" , kTH2D , {axisPhi, axisPhi});
15391546
1540- // rho2 for numerator of R2 as a function of M_{#Lambda} (To remove background from sidebands) {TESTING PHASE !!!!}
1541- histos.add (" Reco/h3d_n2_raprapmass_LaP_LaM" , " #rho_{2}^{#Lambda#bar{#Lambda}}" , kTH3D , {axisRap, axisRap, axisMassCorr});
1542- histos.add (" Reco/h3d_n2_raprapmass_LaP_LaP" , " #rho_{2}^{#Lambda#Lambda}" , kTH3D , {axisRap, axisRap, axisMassCorr});
1543- histos.add (" Reco/h3d_n2_raprapmass_LaM_LaM" , " #rho_{2}^{#bar{#Lambda}#bar{#Lambda}}" , kTH3D , {axisRap, axisRap, axisMassCorr});
1544- histos.add (" Reco/h3d_n2_phiphimass_LaP_LaM" , " #rho_{2}^{#Lambda#bar{#Lambda}}" , kTH3D , {axisPhi, axisPhi, axisMassCorr});
1545- histos.add (" Reco/h3d_n2_phiphimass_LaP_LaP" , " #rho_{2}^{#Lambda#Lambda}" , kTH3D , {axisPhi, axisPhi, axisMassCorr});
1546- histos.add (" Reco/h3d_n2_phiphimass_LaM_LaM" , " #rho_{2}^{#bar{#Lambda}#bar{#Lambda}}" , kTH3D , {axisPhi, axisPhi, axisMassCorr});
1547-
15481547 // rho2 for R2 Rap1Phi1Rap2Phi2
15491548 histos.add (" Reco/h2d_n2_rapphi_LaP_LaM" , " #rho_{2}^{#Lambda#bar{#Lambda}}" , kTH2D , {axisRapPhi, axisRapPhi});
15501549 histos.add (" Reco/h2d_n2_rapphi_LaP_LaP" , " #rho_{2}^{#Lambda#Lambda}" , kTH2D , {axisRapPhi, axisRapPhi});
@@ -1579,18 +1578,12 @@ struct LambdaR2Correlation {
15791578
15801579 float corfac = p1.corrFact () * p2.corrFact ();
15811580
1582- float massParam = MassLambda0 - 0.5 * (p1.mass () + p2.mass ());
1583-
15841581 // fill rho2 histograms
15851582 histos.fill (HIST (SubDirRecGen[rec_gen]) + HIST (" h2d_n2_ptpt_" ) + HIST (SubDirHist[part_pair]), p1.pt (), p2.pt (), corfac);
15861583 histos.fill (HIST (SubDirRecGen[rec_gen]) + HIST (" h2d_n2_etaeta_" ) + HIST (SubDirHist[part_pair]), p1.eta (), p2.eta (), corfac);
15871584 histos.fill (HIST (SubDirRecGen[rec_gen]) + HIST (" h2d_n2_raprap_" ) + HIST (SubDirHist[part_pair]), p1.rap (), p2.rap (), corfac);
15881585 histos.fill (HIST (SubDirRecGen[rec_gen]) + HIST (" h2d_n2_phiphi_" ) + HIST (SubDirHist[part_pair]), p1.phi (), p2.phi (), corfac);
15891586
1590- // fill rho2 3D-histograms with mass
1591- histos.fill (HIST (SubDirRecGen[rec_gen]) + HIST (" h3d_n2_raprapmass_" ) + HIST (SubDirHist[part_pair]), p1.rap (), p2.rap (), massParam, corfac);
1592- histos.fill (HIST (SubDirRecGen[rec_gen]) + HIST (" h3d_n2_phiphimass_" ) + HIST (SubDirHist[part_pair]), p1.phi (), p2.phi (), massParam, corfac);
1593-
15941587 if (rapbin1 >= 0 && rapbin2 >= 0 && phibin1 >= 0 && phibin2 >= 0 && rapbin1 < nrapbins && rapbin2 < nrapbins && phibin1 < nphibins && phibin2 < nphibins) {
15951588
15961589 int rapphix = rapbin1 * nphibins + phibin1;
0 commit comments