26std::vector<std::string>
objects{
"GLO/Calib/MeanVertex"};
27std::vector<unsigned long>
times{1657152944347};
37 while (std::getline(
file, line)) {
42 std::cerr <<
"Failed to open the file... using default times" << std::endl;
53 while (std::getline(
file, line)) {
54 times.push_back(std::atol(line.c_str()));
58 std::cerr <<
"Failed to open the times file ... using default times" << std::endl;
63void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
73void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
87 dh.firstTForbit =
offset + increment * dh.tfCounter;
88 LOG(info) <<
"Setting firstTForbit to " << dh.firstTForbit;
90 LOG(info) <<
"Setting runNumber to " << dh.runNumber;
104 auto& inputs = ctx.inputs();
105 auto msg = inputs.get<
unsigned long>(
"datainput");
106 LOG(info) <<
"Doing compute with conditions for time " <<
msg <<
" (" <<
counter++ <<
"/" <<
times.size() <<
")";
110 LOG(
error) <<
"Deserialization callback invoked";
118 LOG(info) <<
"Run function of Producer";
129 std::vector<o2::framework::DataProcessorSpec> workflow;
137 workflow.emplace_back(
141 {
OutputSpec{
"TST",
"A1", 0, Lifetime::Timeframe}},
142 adaptFromTask<Producer>(),
146 inputs.emplace_back(
InputSpec{
"datainput",
"TST",
"A1", 0, Lifetime::Timeframe});
150 std::string
name(
"cond");
154 if (
name.length() >= 9) {
155 std::string lastNineChars =
name.substr(
name.length() - 9);
156 std::strcpy(descr, lastNineChars.c_str());
158 std::strcpy(descr,
name.c_str());
164 workflow.emplace_back(
169 adaptFromTask<Consumer>(),
void ReadObjectList(std::string const &filename)
void customize(std::vector< o2::framework::ConfigParamSpec > &workflowOptions)
std::vector< unsigned long > times
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
This function hooks up the the workflow specifications into the DPL driver.
void ReadTimesList(std::string const &filename)
std::vector< std::string > objects
configStandalone Light OpenGL display display_light Apply smoothing to points Enable Z buffer Highlight links Highlight seeds Highlight sector tracks Highlight final tracks Show individual Show related Highlight grid Show only individual collision Color clusters belonging to track objects Set line Enable drawing TPC data Enable drawing TOF data Enable drawing magnetic field Set field line step count Invert colors configStandalone Heavy OpenGL display display_heavy Show tracks with ITS contribution Show tracks with TOF contribution Enable propagation of loopers Show clusters at nominal x of pad row for early transformed data Split CE tracks when they cross the central Mark clusters Mark adjacent clusters Hide rejected tracks Apply filter on tracks to be displayed Separate increase X h configStandalone Camera window renderer OpenGL display display_camera Orient the camera such that the y axis is always upwards Full Screen MultiSample Anti Downsampling Anti Enable Vertical Sync Target frame or if the backend cannot limit to the refresh Use OpenGL indirect draws to reduce number of draw calls Display h configStandalone Vulkan display display_vulkan Have uniform buffers in host accessible device memory h configStandalone Internal display display_internal Number of updates the Qt GUI may send ahead of the last one the display has before it waits for the display Opacity of the console background Number of console lines the history is shortened to this when it reaches twice the size Time in seconds an info message fades out after setInfoTime h OpenGL display display Font size Do not use Freetype for font Renderer for event Frontend to use for event ROOT macros used as track filter Console script file
char error[CURL_ERROR_SIZE]
ConfigParamRegistry & options() const
T get(const char *key) const
virtual void endOfStream(EndOfStreamContext &context)
This is invoked whenever we have an EndOfStream event.
GLuint const GLchar * name
Defining ITS Vertex explicitly as messageable.
std::vector< ConfigParamSpec > ccdbParamSpec(std::string const &path, int runDependent, std::vector< CCDBMetadata > metadata={}, int qrate=0)
std::vector< DataProcessorSpec > WorkflowSpec
std::vector< InputSpec > Inputs
std::string to_string(gsl::span< T, Size > span)
void finaliseCCDB(ConcreteDataMatcher &, void *) final
void run(ProcessingContext &ctx) final
void run(ProcessingContext &ctx) final
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
uint64_t const void const *restrict const msg