File tree Expand file tree Collapse file tree
PWGCF/TwoParticleCorrelations/Tasks Expand file tree Collapse file tree Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments