o2::framework::WorkflowSpec getWorkflow(bool useMC, const std::string &hitRecoConfig, bool upstreamDigits=false, bool upstreamClusters=false, bool disableRootOutput=false, bool useGPUWF=false, o2::gpu::gpudatatypes::DeviceType dType=o2::gpu::gpudatatypes::DeviceType::CPU)