@@ -139,6 +139,11 @@ struct lambdaspincorrderived {
139139 ConfigurableAxis configThnAxisRapidity{" configThnAxisRapidity" , {VARIABLE_WIDTH, 0.0 , 1.0 }, " Rapidity" };
140140 ConfigurableAxis configThnAxisPairMass{" configThnAxisPairMass" , {VARIABLE_WIDTH, 2.0 , 3.0 }, " PairMass" };
141141 ConfigurableAxis configThnAxisPhi{" configThnAxisPhi" , {VARIABLE_WIDTH, 0.0 , 2.0 * TMath::Pi ()}, " Phi" };
142+
143+ ConfigurableAxis configThnAxisDeltaPhi{" configThnAxisDeltaPhi" , {VARIABLE_WIDTH, 0.0 , TMath::Pi () / 6 , 2.0 * TMath::Pi () / 6 , 3.0 * TMath::Pi () / 6 , 4.0 * TMath::Pi () / 6 , 5.0 * TMath::Pi () / 6 , TMath::Pi ()}, " Delta Phi" };
144+ ConfigurableAxis configThnAxisDeltaR{" configThnAxisDeltaR" , {VARIABLE_WIDTH, 0.0 , 0.5 , 1.2 , 2.0 , 3.1 , 4.0 }, " Delta R" };
145+ ConfigurableAxis configThnAxisDeltaRap{" configThnAxisDeltaRap" , {VARIABLE_WIDTH, 0.0 , 0.2 , 0.5 , 1.0 , 1.6 }, " Delta Rap" };
146+
142147 HistogramRegistry histos{" histos" , {}, OutputObjHandlingPolicy::AnalysisObject};
143148
144149 void init (o2::framework::InitContext&)
@@ -181,6 +186,17 @@ struct lambdaspincorrderived {
181186 histos.add (" hSparseLambdaAntiLambdaMixed" , " hSparseLambdaAntiLambdaMixed" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisR}, true );
182187 histos.add (" hSparseAntiLambdaLambdaMixed" , " hSparseAntiLambdaLambdaMixed" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisR}, true );
183188 histos.add (" hSparseAntiLambdaAntiLambdaMixed" , " hSparseAntiLambdaAntiLambdaMixed" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisR}, true );
189+
190+ histos.add (" hSparseLambdaLambdaAnalysis" , " hSparseLambdaLambdaAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
191+ histos.add (" hSparseLambdaAntiLambdaAnalysis" , " hSparseLambdaAntiLambdaAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
192+ histos.add (" hSparseAntiLambdaLambdaAnalysis" , " hSparseAntiLambdLambdaAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
193+ histos.add (" hSparseAntiLambdaAntiLambdaAnalysis" , " hSparseAntiLambdaAntiLambdaAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
194+
195+ histos.add (" hSparseLambdaLambdaMixedAnalysis" , " hSparseLambdaLambdaMixedAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
196+ histos.add (" hSparseLambdaAntiLambdaMixedAnalysis" , " hSparseLambdaAntiLambdaMixedAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
197+ histos.add (" hSparseAntiLambdaLambdaMixedAnalysis" , " hSparseAntiLambdaLambdaMixedAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
198+ histos.add (" hSparseAntiLambdaAntiLambdaMixedAnalysis" , " hSparseAntiLambdaAntiLambdaMixedAnalysis" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisDeltaR, configThnAxisDeltaRap, configThnAxisDeltaPhi}, true );
199+
184200 if (useAdditionalHisto) {
185201 histos.add (" hSparseRapLambdaLambda" , " hSparseRapLambdaLambda" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisRapidity}, true );
186202 histos.add (" hSparseRapLambdaAntiLambda" , " hSparseRapLambdaAntiLambda" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisRapidity}, true );
@@ -381,7 +397,6 @@ struct lambdaspincorrderived {
381397
382398 // double deta_pair = std::abs(deta1 - deta2);
383399 double dphi_pair = RecoDecay::constrainAngle (dphi1 - dphi2, -TMath::Pi (), harmonicDphi);
384-
385400 // double deltaR = TMath::Sqrt(deta_pair * deta_pair + dphi_pair * dphi_pair);
386401 double deltaRap = std::abs (particle1.Rapidity () - particle2.Rapidity ());
387402 double deltaR = TMath::Sqrt (deltaRap * deltaRap + dphi_pair * dphi_pair);
@@ -412,6 +427,7 @@ struct lambdaspincorrderived {
412427 histos.fill (HIST (" SE_LL" ), dphi1, deta1, pt1, mixpairweight);
413428 histos.fill (HIST (" SE_LL2" ), dphi2, deta2, pt2, mixpairweight);
414429 histos.fill (HIST (" hSparseLambdaLambda" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, mixpairweight);
430+ histos.fill (HIST (" hSparseLambdaLambdaAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), mixpairweight);
415431 if (useAdditionalHisto) {
416432 histos.fill (HIST (" hSparseRapLambdaLambda" ), particle1.M (), particle2.M (), cosThetaDiff, deltaRap, mixpairweight);
417433 histos.fill (HIST (" hSparsePhiLambdaLambda" ), particle1.M (), particle2.M (), cosThetaDiff, dphi_pair, mixpairweight);
@@ -421,13 +437,15 @@ struct lambdaspincorrderived {
421437 histos.fill (HIST (" SE_LAL" ), dphi1, deta1, pt1, mixpairweight);
422438 histos.fill (HIST (" SE_LAL2" ), dphi2, deta2, pt2, mixpairweight);
423439 histos.fill (HIST (" hSparseLambdaAntiLambda" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, mixpairweight);
440+ histos.fill (HIST (" hSparseLambdaAntiLambdaAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), mixpairweight);
424441 if (useAdditionalHisto) {
425442 histos.fill (HIST (" hSparseRapLambdaAntiLambda" ), particle1.M (), particle2.M (), cosThetaDiff, deltaRap, mixpairweight);
426443 histos.fill (HIST (" hSparsePhiLambdaAntiLambda" ), particle1.M (), particle2.M (), cosThetaDiff, dphi_pair, mixpairweight);
427444 histos.fill (HIST (" hSparsePairMassLambdaAntiLambda" ), particle1.M (), particle2.M (), cosThetaDiff, pairDummy.M (), mixpairweight);
428445 }
429446 } else if (tag1 == 1 && tag2 == 0 ) {
430447 histos.fill (HIST (" hSparseAntiLambdaLambda" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, mixpairweight);
448+ histos.fill (HIST (" hSparseAntiLambdaLambdaAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), mixpairweight);
431449 histos.fill (HIST (" SE_ALL" ), dphi1, deta1, pt1, mixpairweight);
432450 histos.fill (HIST (" SE_ALL2" ), dphi2, deta2, pt2, mixpairweight);
433451 if (useAdditionalHisto) {
@@ -437,6 +455,7 @@ struct lambdaspincorrderived {
437455 }
438456 } else if (tag1 == 1 && tag2 == 1 ) {
439457 histos.fill (HIST (" hSparseAntiLambdaAntiLambda" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, mixpairweight);
458+ histos.fill (HIST (" hSparseAntiLambdaAntiLambdaAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), mixpairweight);
440459 histos.fill (HIST (" SE_ALAL" ), dphi1, deta1, pt1, mixpairweight);
441460 histos.fill (HIST (" SE_ALAL2" ), dphi2, deta2, pt2, mixpairweight);
442461 if (useAdditionalHisto) {
@@ -462,6 +481,7 @@ struct lambdaspincorrderived {
462481 histos.fill (HIST (" ME_LL" ), dphi1, deta1, pt1, mixpairweight);
463482 histos.fill (HIST (" ME_LL2" ), dphi2, deta2, pt2, mixpairweight);
464483 histos.fill (HIST (" hSparseLambdaLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, weight);
484+ histos.fill (HIST (" hSparseLambdaLambdaMixedAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), weight);
465485 if (useAdditionalHisto) {
466486 histos.fill (HIST (" hSparseRapLambdaLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaRap, weight);
467487 histos.fill (HIST (" hSparsePhiLambdaLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, dphi_pair, weight);
@@ -471,6 +491,7 @@ struct lambdaspincorrderived {
471491 histos.fill (HIST (" ME_LAL" ), dphi1, deta1, pt1, mixpairweight);
472492 histos.fill (HIST (" ME_LAL2" ), dphi2, deta2, pt2, mixpairweight);
473493 histos.fill (HIST (" hSparseLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, weight);
494+ histos.fill (HIST (" hSparseLambdaAntiLambdaMixedAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), weight);
474495 if (useAdditionalHisto) {
475496 histos.fill (HIST (" hSparseRapLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaRap, weight);
476497 histos.fill (HIST (" hSparsePhiLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, dphi_pair, weight);
@@ -480,6 +501,7 @@ struct lambdaspincorrderived {
480501 histos.fill (HIST (" ME_ALL" ), dphi1, deta1, pt1, mixpairweight);
481502 histos.fill (HIST (" ME_ALL2" ), dphi2, deta2, pt2, mixpairweight);
482503 histos.fill (HIST (" hSparseAntiLambdaLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, weight);
504+ histos.fill (HIST (" hSparseAntiLambdaLambdaMixedAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), weight);
483505 if (useAdditionalHisto) {
484506 histos.fill (HIST (" hSparseRapAntiLambdaLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaRap, weight);
485507 histos.fill (HIST (" hSparsePhiAntiLambdaLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, dphi_pair, weight);
@@ -489,6 +511,7 @@ struct lambdaspincorrderived {
489511 histos.fill (HIST (" ME_ALAL" ), dphi1, deta1, pt1, mixpairweight);
490512 histos.fill (HIST (" ME_ALAL2" ), dphi2, deta2, pt2, mixpairweight);
491513 histos.fill (HIST (" hSparseAntiLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, weight);
514+ histos.fill (HIST (" hSparseAntiLambdaAntiLambdaMixedAnalysis" ), particle1.M (), particle2.M (), cosThetaDiff, deltaR, deltaRap, std::abs (dphi_pair), weight);
492515 if (useAdditionalHisto) {
493516 histos.fill (HIST (" hSparseRapAntiLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, deltaRap, weight);
494517 histos.fill (HIST (" hSparsePhiAntiLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, dphi_pair, weight);
0 commit comments