2828#include " EMCALWorkflow/PublisherSpec.h"
2929#include " EMCALWorkflow/RawToCellConverterSpec.h"
3030#include " Framework/DataSpecUtils.h"
31- #include " SimulationDataFormat/MCCompLabel .h"
31+ #include " DataFormatsEMCAL/MCLabel .h"
3232#include " SimulationDataFormat/MCTruthContainer.h"
3333
3434namespace o2
@@ -243,11 +243,12 @@ o2::framework::WorkflowSpec getWorkflow(bool propagateMC,
243243 std::move (CellsBranch),
244244 std::move (TriggerRecordBranch)));
245245 };
246-
246+ /*
247+ // RS getting input digits and outputing them under the same outputspec will create dependency loop when piping the workflows
247248 if (isEnabled(OutputType::Digits) && !disableRootOutput) {
248249 using DigitOutputType = std::vector<o2::emcal::Digit>;
249250 using TriggerOutputType = std::vector<o2::emcal::TriggerRecord>;
250- using MCLabelContainer = o2::dataformats::MCTruthContainer<o2::MCCompLabel >;
251+ using MCLabelContainer = o2::dataformats::MCTruthContainer<o2::emcal::MCLabel >;
251252 specs.push_back(makeWriterSpec("emcal-digits-writer",
252253 inputType == InputType::Digits ? "emc-filtered-digits.root" : "emcdigits.root",
253254 "o2sim",
@@ -261,12 +262,12 @@ o2::framework::WorkflowSpec getWorkflow(bool propagateMC,
261262 "EMCDigitMCTruth",
262263 "digitmc-branch-name"})());
263264 }
264-
265+ */
265266 if (isEnabled (OutputType::Cells) && !disableRootOutput) {
266267 if (inputType == InputType::Digits) {
267268 using DigitOutputType = std::vector<o2::emcal::Cell>;
268269 using TriggerOutputType = std::vector<o2::emcal::TriggerRecord>;
269- using MCLabelContainer = o2::dataformats::MCTruthContainer<o2::MCCompLabel >;
270+ using MCLabelContainer = o2::dataformats::MCTruthContainer<o2::emcal::MCLabel >;
270271 specs.push_back (makeWriterSpec (" emcal-cells-writer" , " emccells.root" , " o2sim" ,
271272 BranchDefinition<DigitOutputType>{o2::framework::InputSpec{" data" , " EMC" , " CELLS" , 0 },
272273 " EMCALCell" ,
0 commit comments