27 auto& inputs = ctx.inputs();
28 auto ref = inputs.get(
"somecondition");
30 if (payloadSize != 2048) {
31 LOGP(error,
"Wrong size for condition payload (expected {}, found {}", 2048, payloadSize);
34 LOG(error) <<
"Condition size" << condition->
size();
35 for (
int pi = 0; pi < condition->size(); pi++) {
36 LOGP(info,
"Phase at {} for timestamp {} is {}", pi, condition->timestamp(pi), condition->LHCphase(pi));
42 LOG(error) <<
"Deserialization callback invoked";
54 {
OutputSpec{
"TST",
"A1", 0, Lifetime::Timeframe}},
55 adaptFromTask<CCDBTestTask>(),
57 {
"test-option", VariantType::String,
"test", {
"A test option"}}},
Class to store the output of the matching to TOF for calibration.
WorkflowSpec defineDataProcessing(ConfigContext const &)
This function hooks up the the workflow specifications into the DPL driver.
Defining PrimaryVertex explicitly as messageable.
std::vector< ConfigParamSpec > ccdbParamSpec(std::string const &path, int runDependent, std::vector< CCDBMetadata > metadata={}, int qrate=0)
std::vector< DataProcessorSpec > WorkflowSpec
void finaliseCCDB(ConcreteDataMatcher &, void *) final
void run(ProcessingContext &ctx) final
static o2::header::DataHeader::PayloadSizeType getPayloadSize(const DataRef &ref)
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"