@@ -113,20 +113,35 @@ class TrackPropagationModule
113113 fillTracksDCA = isTableRequiredInWorkflow (initContext, " TracksDCA" );
114114 fillTracksDCACov = isTableRequiredInWorkflow (initContext, " TracksDCACov" );
115115
116+ // enable Tracks in case Tracks have been requested
117+ if (fillTracksDCA) {
118+ LOGF (info, " ******************************************************************" );
119+ LOGF (info, " There is no task subscribed to Tracks, but I have detected a" );
120+ LOGF (info, " subscription to TracksDCA. Now enabling tracks as algorithmic" );
121+ LOGF (info, " dependency. Note: please be sure this is intentional! For" );
122+ LOGF (info, " secondary analyses, the proper DCA to test against is the DCA" );
123+ LOGF (info, " that the V0 or Cascade is assigned to and not necessarily the" );
124+ LOGF (info, " the one that the Track is assigned to (if any). " );
125+ LOGF (info, " ******************************************************************" );
126+ fillTracks = true ;
127+ }
128+
116129 if (!fillTracks) {
117130 LOGF (info, " Track propagation to PV not required. Suppressing all further processing and logs." );
118131 }
119132
120133 LOGF (info, " Track propagation table detection results:" );
121- LOGF (info, " ---> Will generate Tracks table." );
134+ if (fillTracks){
135+ LOGF (info, " ---> Will generate Tracks table." );
136+ }
122137 if (fillTracksCov) {
123- LOGF (info, " ---> Will generate TracksCov table." );
138+ LOGF (info, " ---> Will generate TracksCov table." );
124139 }
125140 if (fillTracksDCA) {
126- LOGF (info, " ---> Will generate TracksDCA table." );
141+ LOGF (info, " ---> Will generate TracksDCA table." );
127142 }
128143 if (fillTracksDCACov) {
129- LOGF (info, " ---> Will generate TracksDCACov table." );
144+ LOGF (info, " ---> Will generate TracksDCACov table." );
130145 }
131146 if (fillTracksCov) {
132147 LOGF (info, " **************************************************************" );
0 commit comments