17#define ASSERT_ERROR(condition) \
18 if ((condition) == false) { \
19 LOG(fatal) << R"(Test condition ")" #condition R"(" failed at )" << __FILE__ << ":" << __LINE__; \
29 : mSomeState{
state} {}
36 auto&
result = pc.outputs().make<
int>({
"dummy"}, 1);
38 pc.services().get<o2::monitoring::Monitoring>().send({
result[0],
"output"});
54 auto result = pc.inputs().get<
int>(
"in");
56 pc.services().get<o2::monitoring::Monitoring>().send({
result,
"input"});
61 eos.services().get<
ControlService>().readyToQuit(QuitRequest::All);
74 adaptFromTask<ATask>(1)},
81 adaptFromTask<BTask>()}};
virtual void endOfStream(EndOfStreamContext &context)
This is invoked whenever we have an EndOfStream event.
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
std::vector< InputSpec > Inputs
void run(ProcessingContext &pc) final
void init(InitContext &ic) final
void run(ProcessingContext &pc) final
void endOfStream(EndOfStreamContext &eos) final
This is invoked whenever we have an EndOfStream event.
#define ASSERT_ERROR(condition)
WorkflowSpec defineDataProcessing(ConfigContext const &)
This function hooks up the the workflow specifications into the DPL driver.