@@ -82,6 +82,14 @@ struct lambdaspincorrderived {
8282 {
8383 histos.add (" hCentrality" , " Centrality distribution" , kTH1F , {{configThnAxisCentrality}});
8484
85+ histos.add (" hLambdaSameForLL" , " hLambdaSameForLL" , HistType::kTH3D , {{50 , 0.0 , 5.0 }, {32 , -0.8 , 0.8 }, {72 , 0.0 , 2.0 * TMath::Pi ()}}, true );
86+ histos.add (" hLambdaSameForLAL" , " hLambdaSameForLAL" , HistType::kTH3D , {{50 , 0.0 , 5.0 }, {32 , -0.8 , 0.8 }, {72 , 0.0 , 2.0 * TMath::Pi ()}}, true );
87+ histos.add (" hAntiLambdaSameForALAL" , " hAntiLambdaSameForALAL" , HistType::kTH3D , {{50 , 0.0 , 5.0 }, {32 , -0.8 , 0.8 }, {72 , 0.0 , 2.0 * TMath::Pi ()}}, true );
88+
89+ histos.add (" hLambdaMixForLL" , " hLambdaMixForLL" , HistType::kTH3D , {{50 , 0.0 , 5.0 }, {32 , -0.8 , 0.8 }, {72 , 0.0 , 2.0 * TMath::Pi ()}}, true );
90+ histos.add (" hLambdaMixForLAL" , " hLambdaMixForLAL" , HistType::kTH3D , {{50 , 0.0 , 5.0 }, {32 , -0.8 , 0.8 }, {72 , 0.0 , 2.0 * TMath::Pi ()}}, true );
91+ histos.add (" hAntiLambdaMixForALAL" , " hAntiLambdaMixForALAL" , HistType::kTH3D , {{50 , 0.0 , 5.0 }, {32 , -0.8 , 0.8 }, {72 , 0.0 , 2.0 * TMath::Pi ()}}, true );
92+
8593 histos.add (" hSparseLambdaLambda" , " hSparseLambdaLambda" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisCentrality, configThnAxisR}, true );
8694 histos.add (" hSparseLambdaAntiLambda" , " hSparseLambdaAntiLambda" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisCentrality, configThnAxisR}, true );
8795 histos.add (" hSparseAntiLambdaAntiLambda" , " hSparseAntiLambdaAntiLambda" , HistType::kTHnSparseF , {configThnAxisInvMass, configThnAxisInvMass, configThnAxisPol, configThnAxisCentrality, configThnAxisR}, true );
@@ -127,6 +135,9 @@ struct lambdaspincorrderived {
127135 template <typename T1, typename T2>
128136 bool checkKinematics (T1 const & candidate1, T2 const & candidate2)
129137 {
138+ if (candidate1.v0Status () != candidate2.v0Status ()) {
139+ return false ;
140+ }
130141 if (std::abs (candidate1.lambdaPt () - candidate2.lambdaPt ()) > ptMix) {
131142 return false ;
132143 }
@@ -186,18 +197,24 @@ struct lambdaspincorrderived {
186197 if (datatype == 0 ) {
187198 if (tag1 == 0 && tag2 == 0 ) {
188199 histos.fill (HIST (" hSparseLambdaLambda" ), particle1.M (), particle2.M (), cosThetaDiff, centrality, deltaR);
200+ histos.fill (HIST (" hLambdaSameForLL" ), particle1.Pt (), particle1.Eta (), RecoDecay::constrainAngle (particle1.Phi (), 0 .0F ));
189201 } else if ((tag1 == 0 && tag2 == 1 ) || (tag1 == 1 && tag2 == 0 )) {
190202 histos.fill (HIST (" hSparseLambdaAntiLambda" ), particle1.M (), particle2.M (), cosThetaDiff, centrality, deltaR);
203+ histos.fill (HIST (" hLambdaSameForLAL" ), particle1.Pt (), particle1.Eta (), RecoDecay::constrainAngle (particle1.Phi (), 0 .0F ));
191204 } else if (tag1 == 1 && tag2 == 1 ) {
192205 histos.fill (HIST (" hSparseAntiLambdaAntiLambda" ), particle1.M (), particle2.M (), cosThetaDiff, centrality, deltaR);
206+ histos.fill (HIST (" hAntiLambdaSameForALAL" ), particle1.Pt (), particle1.Eta (), RecoDecay::constrainAngle (particle1.Phi (), 0 .0F ));
193207 }
194208 } else if (datatype == 1 ) {
195209 if (tag1 == 0 && tag2 == 0 ) {
196210 histos.fill (HIST (" hSparseLambdaLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, centrality, deltaR);
211+ histos.fill (HIST (" hLambdaMixForLL" ), particle1.Pt (), particle1.Eta (), RecoDecay::constrainAngle (particle1.Phi (), 0 .0F ));
197212 } else if ((tag1 == 0 && tag2 == 1 ) || (tag1 == 1 && tag2 == 0 )) {
198213 histos.fill (HIST (" hSparseLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, centrality, deltaR);
214+ histos.fill (HIST (" hLambdaMixForLAL" ), particle1.Pt (), particle1.Eta (), RecoDecay::constrainAngle (particle1.Phi (), 0 .0F ));
199215 } else if (tag1 == 1 && tag2 == 1 ) {
200216 histos.fill (HIST (" hSparseAntiLambdaAntiLambdaMixed" ), particle1.M (), particle2.M (), cosThetaDiff, centrality, deltaR);
217+ histos.fill (HIST (" hAntiLambdaMixForALAL" ), particle1.Pt (), particle1.Eta (), RecoDecay::constrainAngle (particle1.Phi (), 0 .0F ));
201218 }
202219 }
203220 }
0 commit comments