@@ -39,7 +39,7 @@ void customize(std::vector<ConfigParamSpec>& workflowOptions)
3939
4040 std::vector<ConfigParamSpec> options{
4141 {" input-type" , VariantType::String, " digits" , {" digitizer, digits, zsraw, zsonthefly, clustersnative, compressed-clusters-root, compressed-clusters-ctf, trd-tracklets" }},
42- {" output-type" , VariantType::String, " tracks" , {" clustersnative, tracks, compressed-clusters-ctf, qa, no-shared-cluster-map" }},
42+ {" output-type" , VariantType::String, " tracks" , {" clustersnative, tracks, compressed-clusters-ctf, qa, no-shared-cluster-map, send-clusters-per-sector " }},
4343 {" disable-root-input" , VariantType::Bool, true , {" disable root-files input reader" }},
4444 {" disable-mc" , VariantType::Bool, false , {" disable sending of MC information" }},
4545 {" ignore-dist-stf" , VariantType::Bool, false , {" do not subscribe to FLP/DISTSUBTIMEFRAME/0 message (no lost TF recovery)" }},
@@ -76,7 +76,8 @@ enum struct ioType { Digits,
7676 Tracks,
7777 QA,
7878 TRDTracklets,
79- NoSharedMap };
79+ NoSharedMap,
80+ SendClustersPerSector };
8081
8182static const std::unordered_map<std::string, ioType> InputMap{
8283 {" digits" , ioType::Digits},
@@ -92,7 +93,8 @@ static const std::unordered_map<std::string, ioType> OutputMap{
9293 {" tracks" , ioType::Tracks},
9394 {" compressed-clusters-ctf" , ioType::CompClustCTF},
9495 {" qa" , ioType::QA},
95- {" no-shared-cluster-map" , ioType::NoSharedMap}};
96+ {" no-shared-cluster-map" , ioType::NoSharedMap},
97+ {" send-clusters-per-sector" , ioType::SendClustersPerSector}};
9698
9799WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
98100{
@@ -132,7 +134,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
132134 cfg.outputQA = isEnabled (outputTypes, ioType::QA);
133135 cfg.outputSharedClusterMap = (cfg.outputCAClusters || cfg.caClusterer || isEnabled (inputTypes, ioType::Clusters)) && cfg.outputTracks && !isEnabled (outputTypes, ioType::NoSharedMap);
134136 cfg.processMC = doMC;
135- cfg.sendClustersPerSector = false ;
137+ cfg.sendClustersPerSector = isEnabled (outputTypes, ioType::SendClustersPerSector) ;
136138 cfg.askDISTSTF = !cfgc.options ().get <bool >(" ignore-dist-stf" );
137139 cfg.readTRDtracklets = isEnabled (inputTypes, ioType::TRDTracklets);
138140 specs.emplace_back (o2::gpu::getGPURecoWorkflowSpec (&gPolicyData , cfg, tpcSectors, gTpcSectorMask , " gpu-reconstruction" ));
0 commit comments