ATLAS Offline Software
|
#include <CoolQuery.h>
Classes | |
struct | L1CountFolderData |
struct | LumiFolderData |
Public Member Functions | |
CoolQuery (const std::string &database, const std::string &triggerchain) | |
~CoolQuery () | |
void | setDb (const std::string &database) |
void | setTrigger (const std::string &triggerchain) |
bool | openDbConn () |
void | setIOV (const cool::ValidityKey start, const cool::ValidityKey stop) |
void | setIOVForRun (unsigned int runnum) |
cool::ChannelId | getHLTChannelId (const std::string &trigger, const std::string &folder_name) |
cool::ChannelId | getL1ChannelId (const std::string &trigger, const std::string &folder_name) |
cool::ChannelId | getLumiChannelId (const std::string &lumimethod, const std::string &folder_name) |
bool | channelIdValid () |
std::string | getHLTLowerChainName (const std::string &trigger, const std::string &folder_name) |
cool::Int32 | getL1PrescaleFromChannelId (const std::string &folder_name, const cool::ChannelId &id) |
cool::Float | getHLTPrescaleFromChannelId (const std::string &folder_name, const cool::ChannelId &id) |
void | printL1Triggers (const std::string &folder_name) |
void | printHLTTriggers (const std::string &folder_name) |
template<class T > | |
std::map< cool::ValidityKey, T > | getObjMapFromFolderAtChan (const std::string &obj_name, const std::string &folder_name, const cool::ChannelId &id) |
template<class T > | |
std::map< cool::ValidityKey, T > | getTrigObjMapFromFolderByName (const std::string &obj_name, const std::string &folder_name, const std::string &trigger) |
template<class T > | |
std::map< cool::ValidityKey, T > | getLumiIterator (const std::string &luminame, const std::string &folder_name, const std::string &tag, const cool::ChannelId &id) |
unsigned int | getTriggerLevel (const std::string &triggername) |
std::map< cool::ValidityKey, LumiFolderData > | getLumiFolderData (const std::string &folder_name, const std::string &tag, const cool::ChannelId &id) |
std::map< cool::ValidityKey, L1CountFolderData > | getL1CountFolderData (const std::string &folder_name, const cool::ChannelId &id) |
template<class T > | |
IOVData< T > | getIOVData (const std::string &name, const std::string &folder_name, const cool::ChannelId &id, const std::string &tag="") |
Private Member Functions | |
std::string | transConn (const std::string &inconn) |
Private Attributes | |
coral::ConnectionService | m_coralsvc |
ReplicaSorter * | m_repsort |
cool::IDatabasePtr | m_sourceDbPtr |
std::string | m_database |
std::string | m_triggerchain |
cool::ValidityKey | m_VKstart |
cool::ValidityKey | m_VKstop |
Root::TMsgLogger | m_logger |
bool | m_valid |
Definition at line 217 of file CoolQuery.h.
Definition at line 9 of file CoolQuery.cxx.
CoolQuery::~CoolQuery | ( | ) |
Definition at line 22 of file CoolQuery.cxx.
bool CoolQuery::channelIdValid | ( | ) |
Definition at line 250 of file CoolQuery.cxx.
cool::ChannelId CoolQuery::getHLTChannelId | ( | const std::string & | trigger, |
const std::string & | folder_name | ||
) |
Definition at line 191 of file CoolQuery.cxx.
std::string CoolQuery::getHLTLowerChainName | ( | const std::string & | trigger, |
const std::string & | folder_name | ||
) |
Definition at line 256 of file CoolQuery.cxx.
cool::Float CoolQuery::getHLTPrescaleFromChannelId | ( | const std::string & | folder_name, |
const cool::ChannelId & | id | ||
) |
Definition at line 123 of file CoolQuery.cxx.
IOVData< T > CoolQuery::getIOVData | ( | const std::string & | name, |
const std::string & | folder_name, | ||
const cool::ChannelId & | id, | ||
const std::string & | tag = "" |
||
) |
Definition at line 421 of file CoolQuery.h.
cool::ChannelId CoolQuery::getL1ChannelId | ( | const std::string & | trigger, |
const std::string & | folder_name | ||
) |
Definition at line 139 of file CoolQuery.cxx.
std::map< cool::ValidityKey, CoolQuery::L1CountFolderData > CoolQuery::getL1CountFolderData | ( | const std::string & | folder_name, |
const cool::ChannelId & | id | ||
) |
Definition at line 324 of file CoolQuery.cxx.
cool::Int32 CoolQuery::getL1PrescaleFromChannelId | ( | const std::string & | folder_name, |
const cool::ChannelId & | id | ||
) |
Definition at line 107 of file CoolQuery.cxx.
cool::ChannelId CoolQuery::getLumiChannelId | ( | const std::string & | lumimethod, |
const std::string & | folder_name | ||
) |
Definition at line 170 of file CoolQuery.cxx.
std::map< cool::ValidityKey, CoolQuery::LumiFolderData > CoolQuery::getLumiFolderData | ( | const std::string & | folder_name, |
const std::string & | tag, | ||
const cool::ChannelId & | id | ||
) |
Definition at line 290 of file CoolQuery.cxx.
std::map< cool::ValidityKey, T > CoolQuery::getLumiIterator | ( | const std::string & | luminame, |
const std::string & | folder_name, | ||
const std::string & | tag, | ||
const cool::ChannelId & | id | ||
) |
Definition at line 397 of file CoolQuery.h.
std::map< cool::ValidityKey, T > CoolQuery::getObjMapFromFolderAtChan | ( | const std::string & | obj_name, |
const std::string & | folder_name, | ||
const cool::ChannelId & | id | ||
) |
Definition at line 375 of file CoolQuery.h.
unsigned int CoolQuery::getTriggerLevel | ( | const std::string & | triggername | ) |
Definition at line 79 of file CoolQuery.cxx.
std::map< cool::ValidityKey, T > CoolQuery::getTrigObjMapFromFolderByName | ( | const std::string & | obj_name, |
const std::string & | folder_name, | ||
const std::string & | trigger | ||
) |
Definition at line 345 of file CoolQuery.h.
bool CoolQuery::openDbConn | ( | ) |
Definition at line 30 of file CoolQuery.cxx.
void CoolQuery::printHLTTriggers | ( | const std::string & | folder_name | ) |
Definition at line 235 of file CoolQuery.cxx.
void CoolQuery::printL1Triggers | ( | const std::string & | folder_name | ) |
Definition at line 221 of file CoolQuery.cxx.
|
inline |
Definition at line 232 of file CoolQuery.h.
void CoolQuery::setIOVForRun | ( | unsigned int | runnum | ) |
|
inline |
Definition at line 235 of file CoolQuery.h.
|
private |
Definition at line 68 of file CoolQuery.cxx.
|
private |
Definition at line 326 of file CoolQuery.h.
|
private |
Definition at line 329 of file CoolQuery.h.
|
private |
Definition at line 334 of file CoolQuery.h.
|
private |
Definition at line 327 of file CoolQuery.h.
|
private |
Definition at line 328 of file CoolQuery.h.
|
private |
Definition at line 330 of file CoolQuery.h.
|
private |
Definition at line 336 of file CoolQuery.h.
|
private |
Definition at line 331 of file CoolQuery.h.
|
private |
Definition at line 332 of file CoolQuery.h.