From 08446407ef09610c6c1d929148fb26ff7fce2f84 Mon Sep 17 00:00:00 2001 From: ddobrigk Date: Fri, 5 Sep 2025 19:50:55 +0200 Subject: [PATCH 1/2] [Common] Enable interdependency autoenable --- Common/Tools/TrackPropagationModule.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/Common/Tools/TrackPropagationModule.h b/Common/Tools/TrackPropagationModule.h index a08ec358993..d5f838cea58 100644 --- a/Common/Tools/TrackPropagationModule.h +++ b/Common/Tools/TrackPropagationModule.h @@ -113,20 +113,35 @@ class TrackPropagationModule fillTracksDCA = isTableRequiredInWorkflow(initContext, "TracksDCA"); fillTracksDCACov = isTableRequiredInWorkflow(initContext, "TracksDCACov"); + // enable Tracks in case Tracks have been requested + if (fillTracksDCA) { + LOGF(info, "******************************************************************"); + LOGF(info, " There is no task subscribed to Tracks, but I have detected a"); + LOGF(info, " subscription to TracksDCA. Now enabling tracks as algorithmic"); + LOGF(info, " dependency. Note: please be sure this is intentional! For"); + LOGF(info, " secondary analyses, the proper DCA to test against is the DCA"); + LOGF(info, " that the V0 or Cascade is assigned to and not necessarily the"); + LOGF(info, " the one that the Track is assigned to (if any). "); + LOGF(info, "******************************************************************"); + fillTracks = true; + } + if (!fillTracks) { LOGF(info, "Track propagation to PV not required. Suppressing all further processing and logs."); } LOGF(info, " Track propagation table detection results:"); - LOGF(info, " ---> Will generate Tracks table."); + if (fillTracks){ + LOGF(info, " ---> Will generate Tracks table."); + } if (fillTracksCov) { - LOGF(info, "---> Will generate TracksCov table."); + LOGF(info, " ---> Will generate TracksCov table."); } if (fillTracksDCA) { - LOGF(info, "---> Will generate TracksDCA table."); + LOGF(info, " ---> Will generate TracksDCA table."); } if (fillTracksDCACov) { - LOGF(info, "---> Will generate TracksDCACov table."); + LOGF(info, " ---> Will generate TracksDCACov table."); } if (fillTracksCov) { LOGF(info, "**************************************************************"); From 8b2005ce6cebaeb74c0abfd6b2871f863bb26948 Mon Sep 17 00:00:00 2001 From: ALICE Builder Date: Fri, 5 Sep 2025 19:54:00 +0200 Subject: [PATCH 2/2] Please consider the following formatting changes (#471) --- Common/Tools/TrackPropagationModule.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Common/Tools/TrackPropagationModule.h b/Common/Tools/TrackPropagationModule.h index d5f838cea58..1c5f681623e 100644 --- a/Common/Tools/TrackPropagationModule.h +++ b/Common/Tools/TrackPropagationModule.h @@ -113,25 +113,25 @@ class TrackPropagationModule fillTracksDCA = isTableRequiredInWorkflow(initContext, "TracksDCA"); fillTracksDCACov = isTableRequiredInWorkflow(initContext, "TracksDCACov"); - // enable Tracks in case Tracks have been requested + // enable Tracks in case Tracks have been requested if (fillTracksDCA) { LOGF(info, "******************************************************************"); - LOGF(info, " There is no task subscribed to Tracks, but I have detected a"); + LOGF(info, " There is no task subscribed to Tracks, but I have detected a"); LOGF(info, " subscription to TracksDCA. Now enabling tracks as algorithmic"); - LOGF(info, " dependency. Note: please be sure this is intentional! For"); + LOGF(info, " dependency. Note: please be sure this is intentional! For"); LOGF(info, " secondary analyses, the proper DCA to test against is the DCA"); LOGF(info, " that the V0 or Cascade is assigned to and not necessarily the"); LOGF(info, " the one that the Track is assigned to (if any). "); LOGF(info, "******************************************************************"); - fillTracks = true; + fillTracks = true; } - + if (!fillTracks) { LOGF(info, "Track propagation to PV not required. Suppressing all further processing and logs."); } LOGF(info, " Track propagation table detection results:"); - if (fillTracks){ + if (fillTracks) { LOGF(info, " ---> Will generate Tracks table."); } if (fillTracksCov) {