Project
Loading...
Searching...
No Matches
CCDBHelpers.cxx File Reference
#include "CCDBHelpers.h"
#include "Framework/DeviceSpec.h"
#include "Framework/Logger.h"
#include "Framework/TimingInfo.h"
#include "Framework/ConfigParamRegistry.h"
#include "Framework/DataTakingContext.h"
#include "Framework/RawDeviceService.h"
#include "Framework/DataSpecUtils.h"
#include "CCDB/CcdbApi.h"
#include "CommonConstants/LHCConstants.h"
#include "Framework/Signpost.h"
#include <TError.h>
#include <TMemFile.h>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::framework
 Defining PrimaryVertex explicitly as messageable.
 

Functions

 O2_DECLARE_DYNAMIC_LOG (ccdb)
 
bool o2::framework::isPrefix (std::string_view prefix, std::string_view full)
 
void o2::framework::initialiseHelper (CCDBFetcherHelper &helper, ConfigParamRegistry const &options, std::vector< o2::framework::OutputRoute > const &outputRoutes)
 
auto o2::framework::getOrbitResetTime (o2::pmr::vector< char > const &v) -> Long64_t
 
bool o2::framework::isOnlineRun (DataTakingContext const &dtc)
 
auto o2::framework::populateCacheWith (std::shared_ptr< CCDBFetcherHelper > const &helper, int64_t timestamp, TimingInfo &timingInfo, DataTakingContext &dtc, DataAllocator &allocator) -> void
 

Function Documentation

◆ O2_DECLARE_DYNAMIC_LOG()

O2_DECLARE_DYNAMIC_LOG ( ccdb  )

Variable Documentation

◆ apis

std::unordered_map<std::string, o2::ccdb::CcdbApi> apis

Definition at line 56 of file CCDBHelpers.cxx.

◆ cacheHit

size_t cacheHit = 0

Definition at line 38 of file CCDBHelpers.cxx.

◆ cacheMiss

size_t cacheMiss = 0

Definition at line 37 of file CCDBHelpers.cxx.

◆ cachePopulatedAt

size_t cachePopulatedAt = 0

Definition at line 36 of file CCDBHelpers.cxx.

◆ cacheValidUntil

size_t cacheValidUntil = 0

Definition at line 35 of file CCDBHelpers.cxx.

◆ createdNotAfter

std::string createdNotAfter = "3385078236000"

Definition at line 55 of file CCDBHelpers.cxx.

◆ createdNotBefore

std::string createdNotBefore = "0"

Definition at line 54 of file CCDBHelpers.cxx.

◆ etag

Definition at line 34 of file CCDBHelpers.cxx.

◆ lastCheckedTF

int lastCheckedTF = 0

Definition at line 41 of file CCDBHelpers.cxx.

◆ lastCheckedTFCounterOrbReset

uint32_t lastCheckedTFCounterOrbReset = 0

Definition at line 59 of file CCDBHelpers.cxx.

◆ mapURL2DPLCache

std::unordered_map<std::string, DataAllocator::CacheId> mapURL2DPLCache

Definition at line 53 of file CCDBHelpers.cxx.

◆ mapURL2UUID

std::unordered_map<std::string, CCDBCacheInfo> mapURL2UUID

Definition at line 52 of file CCDBHelpers.cxx.

◆ maxSize

size_t maxSize = 0

Definition at line 40 of file CCDBHelpers.cxx.

◆ minSize

size_t minSize = -1ULL

Definition at line 39 of file CCDBHelpers.cxx.

◆ path

Definition at line 45 of file CCDBHelpers.cxx.

◆ queryPeriodFactor

int queryPeriodFactor = 1

Definition at line 61 of file CCDBHelpers.cxx.

◆ queryPeriodGlo

int queryPeriodGlo = 1

Definition at line 60 of file CCDBHelpers.cxx.

◆ remappings

std::unordered_map<std::string, std::string> remappings

Definition at line 58 of file CCDBHelpers.cxx.

◆ routes

std::vector<OutputRoute> routes

Definition at line 57 of file CCDBHelpers.cxx.

◆ timeToleranceMS

int64_t timeToleranceMS = 5000

Definition at line 62 of file CCDBHelpers.cxx.

◆ url

Definition at line 49 of file CCDBHelpers.cxx.