Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Detectors/ITSMFT/ITS/workflow/src/RecoWorkflow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ framework::WorkflowSpec getWorkflow(bool useMC,
cfg.runITSTracking = true;
cfg.itsTriggerType = useTrig;
cfg.itsOverrBeamEst = overrideBeamPosition;
cfg.processITSMC = useMC;

Inputs ggInputs;
auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(false, true, false, true, true,
Expand Down
1 change: 1 addition & 0 deletions GPU/Workflow/include/GPUWorkflow/GPUWorkflowSpec.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class GPURecoWorkflowSpec : public o2::framework::Task
int32_t lumiScaleType = 0; // 0=off, 1=CTP, 2=TPC scalers
bool outputErrorQA = false;
bool runITSTracking = false;
bool processITSMC = false;
bool itsOverrBeamEst = false;
bool tpcTriggerHandling = false;
};
Expand Down
5 changes: 3 additions & 2 deletions GPU/Workflow/src/GPUWorkflowSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ Inputs GPURecoWorkflowSpec::inputs()
if (mSpecConfig.itsOverrBeamEst) {
inputs.emplace_back("meanvtx", "GLO", "MEANVERTEX", 0, Lifetime::Condition, ccdbParamSpec("GLO/Calib/MeanVertex", {}, 1));
}
if (mSpecConfig.processMC) {
if (mSpecConfig.processITSMC) {
inputs.emplace_back("itsmclabels", "ITS", "CLUSTERSMCTR", 0, Lifetime::Timeframe);
inputs.emplace_back("ITSMC2ROframes", "ITS", "CLUSTERSMC2ROF", 0, Lifetime::Timeframe);
}
Expand Down Expand Up @@ -1254,8 +1254,9 @@ Outputs GPURecoWorkflowSpec::outputs()
outputSpecs.emplace_back(gDataOriginITS, "VERTICESROF", 0, Lifetime::Timeframe);
outputSpecs.emplace_back(gDataOriginITS, "IRFRAMES", 0, Lifetime::Timeframe);

if (mSpecConfig.processMC) {
if (mSpecConfig.processITSMC) {
outputSpecs.emplace_back(gDataOriginITS, "VERTICESMCTR", 0, Lifetime::Timeframe);
outputSpecs.emplace_back(gDataOriginITS, "VERTICESMCPUR", 0, Lifetime::Timeframe);
outputSpecs.emplace_back(gDataOriginITS, "TRACKSMCTR", 0, Lifetime::Timeframe);
outputSpecs.emplace_back(gDataOriginITS, "ITSTrackMC2ROF", 0, Lifetime::Timeframe);
}
Expand Down
1 change: 1 addition & 0 deletions GPU/Workflow/src/gpu-reco-workflow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
cfg.outputErrorQA = isEnabled(outputTypes, ioType::ErrorQA);
cfg.outputSharedClusterMap = (cfg.outputCAClusters || cfg.caClusterer || isEnabled(inputTypes, ioType::Clusters)) && cfg.outputTracks && !isEnabled(outputTypes, ioType::NoSharedMap);
cfg.processMC = doMC;
cfg.processITSMC = doMC;
cfg.sendClustersPerSector = isEnabled(outputTypes, ioType::SendClustersPerSector);
cfg.askDISTSTF = !cfgc.options().get<bool>("ignore-dist-stf");
cfg.readTRDtracklets = isEnabled(inputTypes, ioType::TRDTracklets);
Expand Down