Skip to content

Commit 62ee697

Browse files
committed
ITS: add cont. lbls to output only if needed
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent b8d6494 commit 62ee697

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Detectors/ITSMFT/ITS/workflow/src/TrackerSpec.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "Framework/ConfigParamRegistry.h"
1616
#include "Framework/CCDBParamSpec.h"
1717
#include "ITSWorkflow/TrackerSpec.h"
18+
#include "ITStracking/TrackingConfigParam.h"
1819

1920
namespace o2
2021
{
@@ -120,10 +121,12 @@ DataProcessorSpec getTrackerSpec(bool useMC, bool useGeom, int trgType, Tracking
120121
inputs.emplace_back("itsmclabels", "ITS", "CLUSTERSMCTR", 0, Lifetime::Timeframe);
121122
inputs.emplace_back("ITSMC2ROframes", "ITS", "CLUSTERSMC2ROF", 0, Lifetime::Timeframe);
122123
outputs.emplace_back("ITS", "VERTICESMCTR", 0, Lifetime::Timeframe);
123-
outputs.emplace_back("ITS", "VERTICESMCTRCONT", 0, Lifetime::Timeframe);
124124
outputs.emplace_back("ITS", "VERTICESMCPUR", 0, Lifetime::Timeframe);
125125
outputs.emplace_back("ITS", "TRACKSMCTR", 0, Lifetime::Timeframe);
126126
outputs.emplace_back("ITS", "ITSTrackMC2ROF", 0, Lifetime::Timeframe);
127+
if (VertexerParamConfig::Instance().outputContLabels) {
128+
outputs.emplace_back("ITS", "VERTICESMCTRCONT", 0, Lifetime::Timeframe);
129+
}
127130
}
128131

129132
return DataProcessorSpec{

0 commit comments

Comments
 (0)