Project
Loading...
Searching...
No Matches
o2::calibration::CCDBPopulator Class Reference

#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)
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj)
 

Detailed Description

Definition at line 43 of file CCDBPopulatorSpec.h.

Member Typedef Documentation

◆ BLOB

Definition at line 49 of file CCDBPopulatorSpec.h.

◆ CcdbApi

◆ CcdbObjectInfo

◆ OBJCACHE

◆ TBLOB

Definition at line 50 of file CCDBPopulatorSpec.h.

Member Function Documentation

◆ checkCache()

void o2::calibration::CCDBPopulator::checkCache ( long  delay)

Definition at line 154 of file CCDBPopulatorSpec.h.

◆ doUpload()

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.

◆ endOfStream()

void o2::calibration::CCDBPopulator::endOfStream ( o2::framework::EndOfStreamContext context)
finalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 231 of file CCDBPopulatorSpec.h.

◆ init()

void o2::calibration::CCDBPopulator::init ( o2::framework::InitContext context)
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.

◆ logAsNeeded()

void o2::calibration::CCDBPopulator::logAsNeeded ( long  nowMS,
const std::string &  path,
std::string &  msg 
)

Definition at line 215 of file CCDBPopulatorSpec.h.

◆ run()

void o2::calibration::CCDBPopulator::run ( o2::framework::ProcessingContext context)
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.

◆ stop()

void o2::calibration::CCDBPopulator::stop ( )
finalvirtual

This is invoked on stop.

Reimplemented from o2::framework::Task.

Definition at line 243 of file CCDBPopulatorSpec.h.


The documentation for this class was generated from the following file: