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.
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
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.