@@ -148,7 +148,9 @@ struct lambdapolsp {
148148
149149 ConfigurableAxis configcentAxis{" configcentAxis" , {VARIABLE_WIDTH, 0.0 , 10.0 , 40.0 , 80.0 }, " Cent V0M" };
150150 ConfigurableAxis configthnAxispT{" configthnAxisPt" , {VARIABLE_WIDTH, 0.2 , 0.5 , 1.0 , 1.5 , 2.0 , 2.5 , 3.0 , 4.0 , 5.0 , 6.5 , 8.0 , 10.0 , 100.0 }, " #it{p}_{T} (GeV/#it{c})" };
151- ConfigurableAxis configetaAxis{" configetaAxis" , {VARIABLE_WIDTH, -0.8 , -0.4 , 0 , 0.4 , 0.8 }, " Eta" };
151+ ConfigurableAxis configetaAxis{" configetaAxis" , {VARIABLE_WIDTH, -0.8 , -0.4 , -0.2 , 0 , 0.2 , 0.4 , 0.8 }, " Eta" };
152+ ConfigurableAxis configthnAxisPol{" configthnAxisPol" , {VARIABLE_WIDTH, -1.0 , -0.6 , -0.2 , 0 , 0.2 , 0.4 , 0.8 }, " Pol" };
153+ ConfigurableAxis configphiAxis{" configphiAxis" , {VARIABLE_WIDTH, 0.0 , 0.2 , 0.4 , 0.8 , 1.0 , 2.0 , 2.5 , 3.0 , 4.0 , 5.0 , 5.5 , 6.28 }, " PhiAxis" };
152154
153155 SliceCache cache;
154156 HistogramRegistry histos{" histos" , {}, OutputObjHandlingPolicy::AnalysisObject};
@@ -238,16 +240,16 @@ struct lambdapolsp {
238240 histos.add("hcentQyZDCC", "hcentQyZDCC", kTH2F, {{centAxis}, {qxZDCAxis}});*/
239241 }
240242 if (!correction1 && !correction2) {
241- histos.add (" hSparseLambdaPolA" , " hSparseLambdaPolA" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, etaAxis, thnAxisPol, centAxis, phiAxis }, true );
242- histos.add (" hSparseLambdaPolC" , " hSparseLambdaPolC" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, etaAxis, thnAxisPol, centAxis, phiAxis }, true );
243- histos.add (" hSparseAntiLambdaPolA" , " hSparseAntiLambdaPolA" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, etaAxis, thnAxisPol, centAxis, phiAxis }, true );
244- histos.add (" hSparseAntiLambdaPolC" , " hSparseAntiLambdaPolC" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, etaAxis, thnAxisPol, centAxis, phiAxis }, true );
243+ histos.add (" hSparseLambdaPolA" , " hSparseLambdaPolA" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configcentAxis, configphiAxis }, true );
244+ histos.add (" hSparseLambdaPolC" , " hSparseLambdaPolC" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configcentAxis, configphiAxis }, true );
245+ histos.add (" hSparseAntiLambdaPolA" , " hSparseAntiLambdaPolA" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configcentAxis, configphiAxis }, true );
246+ histos.add (" hSparseAntiLambdaPolC" , " hSparseAntiLambdaPolC" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configcentAxis, configphiAxis }, true );
245247 }
246248 if (correction1 || correction2) {
247- histos.add (" hSparseLambdaPolA_corr" , " hSparseLambdaPolA_corr" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, thnAxisCosThetaStar, thnAxisPol, thnAxisPol, thnAxisPol, centAxis, etaAxis }, true );
248- histos.add (" hSparseLambdaPolC_corr" , " hSparseLambdaPolC_corr" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, thnAxisCosThetaStar, thnAxisPol, thnAxisPol, thnAxisPol, centAxis, etaAxis }, true );
249- histos.add (" hSparseAntiLambdaPolA_corr" , " hSparseAntiLambdaPolA_corr" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, thnAxisCosThetaStar, thnAxisPol, thnAxisPol, thnAxisPol, centAxis, etaAxis }, true );
250- histos.add (" hSparseAntiLambdaPolC_corr" , " hSparseAntiLambdaPolC_corr" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxispT, thnAxisCosThetaStar, thnAxisPol, thnAxisPol, thnAxisPol, centAxis, etaAxis }, true );
249+ histos.add (" hSparseLambdaPolA_corr" , " hSparseLambdaPolA_corr" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configthnAxisPol, configthnAxisPol, configcentAxis, configphiAxis }, true );
250+ histos.add (" hSparseLambdaPolC_corr" , " hSparseLambdaPolC_corr" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configthnAxisPol, configthnAxisPol, configcentAxis, configphiAxis }, true );
251+ histos.add (" hSparseAntiLambdaPolA_corr" , " hSparseAntiLambdaPolA_corr" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configthnAxisPol, configthnAxisPol, configcentAxis, configphiAxis }, true );
252+ histos.add (" hSparseAntiLambdaPolC_corr" , " hSparseAntiLambdaPolC_corr" , HistType::kTHnSparseF , {thnAxisInvMass, configthnAxispT, configetaAxis, configthnAxisPol, configthnAxisPol, configthnAxisPol, configcentAxis, configphiAxis }, true );
251253 }
252254 }
253255 }
@@ -583,31 +585,31 @@ struct lambdapolsp {
583585 // needed for corrections
584586 auto sinPhiStar = TMath::Sin (GetPhiInRange (phiangle));
585587 auto cosPhiStar = TMath::Cos (GetPhiInRange (phiangle));
586- auto sinThetaStarcosphiphiStar = sinThetaStar * TMath::Cos (2 * GetPhiInRange (( Lambda.Phi () - phiangle) )); // A2 correction
587- auto phi_phiStar = GetPhiInRange (Lambda.Phi () - GetPhiInRange ( phiangle) );
588+ auto sinThetaStarcosphiphiStar = sinThetaStar * TMath::Cos (2 * GetPhiInRange (Lambda.Phi () - phiangle)); // A2 correction
589+ auto phiphiStar = GetPhiInRange (Lambda.Phi () - phiangle);
588590
589591 if (LambdaTag) {
590592 if (correction1) {
591- histos.fill (HIST (" hSparseLambdaPolA_corr" ), v0.mLambda (), v0.pt (), cosThetaStar , sinPhiStar, cosPhiStar, PolA, centrality, v0. eta () );
592- histos.fill (HIST (" hSparseLambdaPolC_corr" ), v0.mLambda (), v0.pt (), cosThetaStar , sinPhiStar, cosPhiStar, PolC, centrality, v0. eta () );
593+ histos.fill (HIST (" hSparseLambdaPolA_corr" ), v0.mLambda (), v0.pt (), v0. eta () , sinPhiStar, cosPhiStar, PolA, centrality, phiphiStar );
594+ histos.fill (HIST (" hSparseLambdaPolC_corr" ), v0.mLambda (), v0.pt (), v0. eta () , sinPhiStar, cosPhiStar, PolC, centrality, phiphiStar );
593595 } else if (correction2) {
594- histos.fill (HIST (" hSparseLambdaPolA_corr" ), v0.mLambda (), v0.pt (), sinThetaStar, sinThetaStarcosphiphiStar, PolA, centrality, v0. eta () );
595- histos.fill (HIST (" hSparseLambdaPolC_corr" ), v0.mLambda (), v0.pt (), sinThetaStar, sinThetaStarcosphiphiStar, PolC, centrality, v0. eta () );
596+ histos.fill (HIST (" hSparseLambdaPolA_corr" ), v0.mLambda (), v0.pt (), v0. eta (), sinThetaStar, sinThetaStarcosphiphiStar, PolA, centrality, phiphiStar );
597+ histos.fill (HIST (" hSparseLambdaPolC_corr" ), v0.mLambda (), v0.pt (), v0. eta (), sinThetaStar, sinThetaStarcosphiphiStar, PolC, centrality, phiphiStar );
596598 } else {
597- histos.fill (HIST (" hSparseLambdaPolA" ), v0.mLambda (), v0.pt (), v0.eta (), PolA, centrality, (phi_phiStar) );
598- histos.fill (HIST (" hSparseLambdaPolC" ), v0.mLambda (), v0.pt (), v0.eta (), PolC, centrality, (phi_phiStar) );
599+ histos.fill (HIST (" hSparseLambdaPolA" ), v0.mLambda (), v0.pt (), v0.eta (), PolA, centrality, phiphiStar );
600+ histos.fill (HIST (" hSparseLambdaPolC" ), v0.mLambda (), v0.pt (), v0.eta (), PolC, centrality, phiphiStar );
599601 }
600602 }
601603 if (aLambdaTag) {
602604 if (correction1) {
603- histos.fill (HIST (" hSparseAntiLambdaPolA_corr" ), v0.mAntiLambda (), v0.pt (), cosThetaStar , sinPhiStar, cosPhiStar, PolA, centrality, v0. eta () );
604- histos.fill (HIST (" hSparseAntiLambdaPolC_corr" ), v0.mAntiLambda (), v0.pt (), cosThetaStar , sinPhiStar, cosPhiStar, PolC, centrality, v0. eta () );
605+ histos.fill (HIST (" hSparseAntiLambdaPolA_corr" ), v0.mAntiLambda (), v0.pt (), v0. eta () , sinPhiStar, cosPhiStar, PolA, centrality, phiphiStar );
606+ histos.fill (HIST (" hSparseAntiLambdaPolC_corr" ), v0.mAntiLambda (), v0.pt (), v0. eta () , sinPhiStar, cosPhiStar, PolC, centrality, phiphiStar );
605607 } else if (correction2) {
606- histos.fill (HIST (" hSparseAntiLambdaPolA_corr" ), v0.mAntiLambda (), v0.pt (), sinThetaStar, sinThetaStarcosphiphiStar, PolA, centrality, v0. eta () );
607- histos.fill (HIST (" hSparseAntiLambdaPolC_corr" ), v0.mAntiLambda (), v0.pt (), sinThetaStar, sinThetaStarcosphiphiStar, PolC, centrality, v0. eta () );
608+ histos.fill (HIST (" hSparseAntiLambdaPolA_corr" ), v0.mAntiLambda (), v0.pt (), v0. eta (), sinThetaStar, sinThetaStarcosphiphiStar, PolA, centrality, phiphiStar );
609+ histos.fill (HIST (" hSparseAntiLambdaPolC_corr" ), v0.mAntiLambda (), v0.pt (), v0. eta (), sinThetaStar, sinThetaStarcosphiphiStar, PolC, centrality, phiphiStar );
608610 } else {
609- histos.fill (HIST (" hSparseAntiLambdaPolA" ), v0.mAntiLambda (), v0.pt (), v0.eta (), PolA, centrality, (phi_phiStar) );
610- histos.fill (HIST (" hSparseAntiLambdaPolC" ), v0.mAntiLambda (), v0.pt (), v0.eta (), PolC, centrality, (phi_phiStar) );
611+ histos.fill (HIST (" hSparseAntiLambdaPolA" ), v0.mAntiLambda (), v0.pt (), v0.eta (), PolA, centrality, phiphiStar );
612+ histos.fill (HIST (" hSparseAntiLambdaPolC" ), v0.mAntiLambda (), v0.pt (), v0.eta (), PolC, centrality, phiphiStar );
611613 }
612614 }
613615 }
0 commit comments