Skip to content

Commit 7ac7a28

Browse files
jikim1290alibuild
andauthored
[PWGLF] adding cosine term (#13989)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent c0b96b0 commit 7ac7a28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ struct lambdaTwoPartPolarization {
164164
}
165165

166166
histos.add("Ana/Signal", "", {HistType::kTHnSparseF, {ptAxis, ptAxis, detaAxis, dphiAxis, centAxis, cosSigAxis}});
167+
histos.add("Ana/SignalCos2", "", {HistType::kTHnSparseF, {ptAxis, ptAxis, detaAxis, dphiAxis, centAxis, cosSigAxis}});
167168
histos.add("Ana/Acceptance", "", {HistType::kTHnSparseF, {ptAxis, centAxis, RapAxis, cosAccAxis}});
168169

169170
fMultPVCutLow = new TF1("fMultPVCutLow", "[0]+[1]*x+[2]*x*x+[3]*x*x*x - 2.5*([4]+[5]*x+[6]*x*x+[7]*x*x*x+[8]*x*x*x*x)", 0, 100);
@@ -374,6 +375,7 @@ struct lambdaTwoPartPolarization {
374375
}
375376

376377
histos.fill(HIST("Ana/Signal"), v01.pt(), v02.pt(), v01.yLambda() - v02.yLambda(), dphi, centrality, costhetastar1 * costhetastar2 * weight);
378+
histos.fill(HIST("Ana/SignalCos2"), v01.pt(), v02.pt(), v01.yLambda() - v02.yLambda(), dphi, centrality, costhetastar1 * costhetastar2 * std::cos(2.0 * dphi) * weight);
377379
}
378380
}
379381
}

0 commit comments

Comments
 (0)