Analysis Software
Documentation for sPHENIX simulation software
|
#include <sphenixnpc/CDBUtils.h>
#include <sphenixnpc/SphenixClient.h>
#include <phool/recoConsts.h>
Go to the source code of this file.
Macros | |
#define | TESTCDBGLOBALTAGS_C |
Functions | |
CDBUtils * | getCDBUtils () |
void | listGlobalTags () |
void | listPayloadTypes () |
void | listPayloadIOVs (uint64_t iov) |
void | createGlobalTag (const std::string &tagname) |
void | deleteGlobalTag (const std::string &tagname) |
void | lockGlobalTag (const std::string &tagname) |
void | unlockGlobalTag (const std::string &tagname) |
int | setGlobalTag (const std::string &tagname) |
int | cloneGlobalTag (const std::string &source, const std::string &target) |
int | createPayloadType (const std::string &pt) |
int | insertPayload (const std::string &pl_type, const std::string &file_url, uint64_t iov_start) |
int | insertPayload (const std::string &pl_type, const std::string &file_url, uint64_t iov_start, uint64_t iov_end) |
std::string | getCalibration (const std::string &pl_type, uint64_t iov) |
void | clearCache () |
void | Verbosity (int verb) |
int | deletePayloadIOV (const std::string &pl_type, uint64_t iov_start) |
int | deletePayloadIOV (const std::string &pl_type, uint64_t iov_start, uint64_t iov_end) |
void | TestCDBInsert () |
Variables | |
CDBUtils * | uti = nullptr |
#define TESTCDBGLOBALTAGS_C |
Definition at line 2 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 2 of file CDBUtils.C
void clearCache | ( | ) |
Definition at line 116 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 116 of file CDBUtils.C
References CDBUtils::clearCache(), and uti.
int cloneGlobalTag | ( | const std::string & | source, |
const std::string & | target | ||
) |
Definition at line 75 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 75 of file CDBUtils.C
References CDBUtils::cloneGlobalTag(), and uti.
void createGlobalTag | ( | const std::string & | tagname | ) |
Definition at line 40 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 40 of file CDBUtils.C
References CDBUtils::createGlobalTag(), and uti.
Referenced by SphenixClient::cache_set_GlobalTag(), InsertCalib::createGlobalTag(), and InsertCalib::insertcalib().
int createPayloadType | ( | const std::string & | pt | ) |
Definition at line 83 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 83 of file CDBUtils.C
References CDBUtils::createPayloadType(), and uti.
Referenced by SphenixClient::createDomain(), InsertCalib::createPayloadType(), and InsertCalib::insertcalib().
void deleteGlobalTag | ( | const std::string & | tagname | ) |
Definition at line 47 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 47 of file CDBUtils.C
References CDBUtils::deleteGlobalTag(), and uti.
Referenced by InsertCalib::deleteGlobalTag().
int deletePayloadIOV | ( | const std::string & | pl_type, |
uint64_t | iov_start | ||
) |
Definition at line 128 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 128 of file CDBUtils.C
References CDBUtils::deletePayloadIOV(), and uti.
Referenced by SphenixClient::deletePayloadIOV().
int deletePayloadIOV | ( | const std::string & | pl_type, |
uint64_t | iov_start, | ||
uint64_t | iov_end | ||
) |
Definition at line 134 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 134 of file CDBUtils.C
References CDBUtils::deletePayloadIOV(), and uti.
std::string getCalibration | ( | const std::string & | pl_type, |
uint64_t | iov | ||
) |
Definition at line 110 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 110 of file CDBUtils.C
References CDBUtils::getUrl(), and uti.
CDBUtils* getCDBUtils | ( | ) |
Definition at line 14 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 14 of file CDBUtils.C
References uti.
int insertPayload | ( | const std::string & | pl_type, |
const std::string & | file_url, | ||
uint64_t | iov_start | ||
) |
Definition at line 90 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 90 of file CDBUtils.C
References CDBUtils::insertPayload(), CDBUtils::isGlobalTagSet(), and uti.
Referenced by InsertCalib::insertcalib(), and SphenixClient::insertPayload().
int insertPayload | ( | const std::string & | pl_type, |
const std::string & | file_url, | ||
uint64_t | iov_start, | ||
uint64_t | iov_end | ||
) |
Definition at line 100 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 100 of file CDBUtils.C
References CDBUtils::insertPayload(), CDBUtils::isGlobalTagSet(), and uti.
void listGlobalTags | ( | ) |
Definition at line 19 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 19 of file CDBUtils.C
References CDBUtils::listGlobalTags(), and uti.
void listPayloadIOVs | ( | uint64_t | iov | ) |
Definition at line 33 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 33 of file CDBUtils.C
References CDBUtils::listPayloadIOVs(), and uti.
void listPayloadTypes | ( | ) |
Definition at line 26 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 26 of file CDBUtils.C
References CDBUtils::listPayloadTypes(), and uti.
void lockGlobalTag | ( | const std::string & | tagname | ) |
Definition at line 54 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 54 of file CDBUtils.C
References CDBUtils::lockGlobalTag(), and uti.
Referenced by SphenixClient::lockGlobalTag().
int setGlobalTag | ( | const std::string & | tagname | ) |
Definition at line 68 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 68 of file CDBUtils.C
References CDBUtils::setGlobalTag(), and uti.
Referenced by SphenixClient::cache_set_GlobalTag(), and SphenixClient::setGlobalTag().
void TestCDBInsert | ( | ) |
Definition at line 140 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 140 of file CDBUtils.C
References PHFlag::get_StringFlag(), SphenixClient::insertPayload(), recoConsts::instance(), and PHFlag::set_StringFlag().
void unlockGlobalTag | ( | const std::string & | tagname | ) |
Definition at line 61 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 61 of file CDBUtils.C
References CDBUtils::unlockGlobalTag(), and uti.
Referenced by SphenixClient::unlockGlobalTag().
void Verbosity | ( | int | verb | ) |
Definition at line 122 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 122 of file CDBUtils.C
References uti, and CDBUtils::Verbosity().
Referenced by cemcDrawInit(), PHG4Sector::PHG4SectorConstructor::Construct_Sectors(), Fun4All_G4_sPHENIX_ForTrackCutStudy_EmbedScanOff(), Fun4All_G4_sPHENIX_ForTrackCutStudy_WithPileup_EmbedScanOff(), Fun4All_G4_sPHENIX_ForTrackCutStudy_WithPileup_EmbedScanOn(), Fun4All_quickHijing_Prod(), Fun4All_RunCorrelatorJetTree(), Fun4All_RunCorrelatorQAModules(), Fun4All_RunLambdaJetHunter(), Fun4All_testEtIso_Pythia(), Fun4AllPythia(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::GetMatchID(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::GetNumClust(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::GetNumLayer(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::GetParticleCharge(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsGoodECal(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsGoodFlow(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsGoodHCal(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsGoodParticle(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsGoodTrack(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsGoodTrackPhi(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsGoodTrackSeed(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::IsOutgoingParton(), and PHRaveVertexFactory::PHRaveVertexFactory().
CDBUtils* uti = nullptr |
Definition at line 12 of file CDBUtils.C.
View newest version in sPHENIX GitHub at line 12 of file CDBUtils.C
Referenced by clearCache(), cloneGlobalTag(), createGlobalTag(), createPayloadType(), deleteGlobalTag(), deletePayloadIOV(), getCalibration(), getCDBUtils(), insertPayload(), listGlobalTags(), listPayloadIOVs(), listPayloadTypes(), lockGlobalTag(), TPCPedestalCalibration::NewCDBGlobalTag(), setGlobalTag(), unlockGlobalTag(), and Verbosity().