![]() |
Project
|
#include <CCDBPopulatorSpec.h>
Inherits o2::framework::Task.
Public Types | |
using | CcdbObjectInfo = o2::ccdb::CcdbObjectInfo |
using | CcdbApi = o2::ccdb::CcdbApi |
using | BLOB = std::vector< char > |
using | TBLOB = std::pair< long, BLOB > |
using | OBJCACHE = std::map< CcdbObjectInfo, TBLOB > |
Public Member Functions | |
void | init (o2::framework::InitContext &ic) final |
void | run (o2::framework::ProcessingContext &pc) final |
void | endOfStream (o2::framework::EndOfStreamContext &ec) final |
This is invoked whenever we have an EndOfStream event. | |
void | stop () final |
This is invoked on stop. | |
void | checkCache (long delay) |
void | doUpload (const CcdbObjectInfo &wrp, const gsl::span< const char > &pld, bool cached=false) |
void | logAsNeeded (long nowMS, const std::string &path, std::string &msg) |
![]() | |
virtual | ~Task () |
virtual void | finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) |
Definition at line 43 of file CCDBPopulatorSpec.h.
using o2::calibration::CCDBPopulator::BLOB = std::vector<char> |
Definition at line 49 of file CCDBPopulatorSpec.h.
Definition at line 47 of file CCDBPopulatorSpec.h.
Definition at line 46 of file CCDBPopulatorSpec.h.
using o2::calibration::CCDBPopulator::OBJCACHE = std::map<CcdbObjectInfo, TBLOB> |
Definition at line 51 of file CCDBPopulatorSpec.h.
using o2::calibration::CCDBPopulator::TBLOB = std::pair<long, BLOB> |
Definition at line 50 of file CCDBPopulatorSpec.h.
Definition at line 154 of file CCDBPopulatorSpec.h.
void o2::calibration::CCDBPopulator::doUpload | ( | const CcdbObjectInfo & | wrp, |
const gsl::span< const char > & | pld, | ||
bool | cached = false |
||
) |
Definition at line 173 of file CCDBPopulatorSpec.h.
|
finalvirtual |
This is invoked whenever we have an EndOfStream event.
Reimplemented from o2::framework::Task.
Definition at line 231 of file CCDBPopulatorSpec.h.
|
finalvirtual |
The method which is called once to initialise the task. Derived classes can use this to save extra state.
Reimplemented from o2::framework::Task.
Definition at line 78 of file CCDBPopulatorSpec.h.
void o2::calibration::CCDBPopulator::logAsNeeded | ( | long | nowMS, |
const std::string & | path, | ||
std::string & | msg | ||
) |
Definition at line 215 of file CCDBPopulatorSpec.h.
|
finalvirtual |
This is invoked whenever a new InputRecord is demeed to be complete.
Implements o2::framework::Task.
Definition at line 90 of file CCDBPopulatorSpec.h.
|
finalvirtual |
This is invoked on stop.
Reimplemented from o2::framework::Task.
Definition at line 243 of file CCDBPopulatorSpec.h.