47 control->readyToQuit(QuitRequest::Me);
49 std::cout <<
"Executed " << std::endl;
56 void process(o2::aod::TOFCalibrationObjects
const& ccdbObjectsForAllTimestamps)
59 LOGP(info,
"Looking at all the LHCphases associated to the timestamps");
60 for (
auto&
object : ccdbObjectsForAllTimestamps) {
61 std::cout <<
object.lhcPhase().getStartValidity() <<
" " <<
object.lhcPhase().getEndValidity() << std::endl;
69 void process(o2::aod::TOFCalibrationObjects
const& ccdbObjectsForAllTimestamps)
71 LOGP(info,
"AnotherCCDBConsumer LHCphase CCDB path configurable value: {}",
lhcPhasePath.
value);
72 for (
auto&
object : ccdbObjectsForAllTimestamps) {
73 std::cout <<
object.lhcPhase().getStartValidity() <<
" " <<
object.lhcPhase().getEndValidity() << std::endl;
81 adaptAnalysisTask<DummyTimestampsTable>(cfgc),
82 adaptAnalysisTask<SimpleCCDBConsumer>(cfgc,
TaskName{
"simple-ccdb-consumer"}),
83 adaptAnalysisTask<AnotherCCDBConsumer>(cfgc,
TaskName{
"another-ccdb-consumer"}),
#define DECLARE_SOA_TIMESTAMPED_TABLE(_Name_, _TimestampSource_, _TimestampColumn_, _Version_, _Desc_,...)
#define DECLARE_SOA_CCDB_COLUMN(_Name_, _Getter_, _ConcreteType_, _CCDBQuery_)
Class to store the output of the matching to TOF for calibration.
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
WorkflowSpec defineDataProcessing(ConfigContext const &cfgc)
This function hooks up the the workflow specifications into the DPL driver.
void process(o2::aod::TOFCalibrationObjects const &ccdbObjectsForAllTimestamps)
ConfigurableCCDBPath< o2::aod::tofcalib::LHCphase > lhcPhasePath
void process(Enumeration< 0, 1 > &e)
Service< o2::framework::ControlService > control
Table with SOR timestamps produced by the task.
Produces< aod::Timestamps > timestamps
ConfigurableCCDBPath< o2::aod::tofcalib::LHCphase > lhcPhasePath
void process(o2::aod::TOFCalibrationObjects const &ccdbObjectsForAllTimestamps)
Struct to differentiate task names from possible task string arguments.