Skip to content

Commit 835e310

Browse files
authored
Update lambdaR2Correlation.cxx
1 parent 9df7ece commit 835e310

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ struct LambdaTableProducer {
350350
Configurable<double> cKshortRejMassWindow{"cKshortRejMassWindow", 0.01, "Reject K0Short Candidates"};
351351
Configurable<float> cArmPodSel{"cArmPodSel", 0.2, "Armentros-Podolanski Selection"};
352352

353+
// DCA
354+
Configurable<int> cWeakDecayProcess{"cWeakDecayProcess", 4, "Weak decay process tag for DCA analysis"};
355+
353356
// V0s acceptance
354357
Configurable<float> cLambdaMassWindow{"cLambdaMassWindow", 0.007, "Lambda Mass Window"};
355358
Configurable<float> cLambdaMinPt{"cLambdaMinPt", 0.7, "Minimum Lambda pT"};
@@ -927,7 +930,7 @@ struct LambdaTableProducer {
927930
if (mcpart.isPhysicalPrimary()) {
928931
histos.fill(HIST(SubDir[part]) + HIST("DCA/h2f_Prm_Dca_vs_pT"), track.pt(), dca);
929932
} else {
930-
if (mcpart.getProcess() == 4) { // Weak decay
933+
if (mcpart.getProcess() == cWeakDecayProcess) { // Weak decay
931934
histos.fill(HIST(SubDir[part]) + HIST("DCA/h2f_Scd_Dca_vs_pT"), track.pt(), dca);
932935
} else { // Material
933936
histos.fill(HIST(SubDir[part]) + HIST("DCA/h2f_Mat_Dca_vs_pT"), track.pt(), dca);

0 commit comments

Comments
 (0)