#include <OMDSReader.h>
Public Member Functions | |
const std::vector< coral::AttributeList > & | attributeLists () const |
const std::vector< std::string > & | columnNames () const |
template<class T > | |
bool | fillVariable (const std::string &columnName, T &outputVariable) const |
template<class T > | |
bool | fillVariable (T &outputVariable) const |
template<class T > | |
bool | fillVariableFromRow (const std::string &columnName, int rowNumber, T &outputVariable) const |
template<class T > | |
bool | fillVariableFromRow (int rowNumber, T &outputVariable) const |
int | numberRows () const |
bool | queryFailed () const |
QueryResults () | |
QueryResults (const std::vector< std::string > &columnNames, const std::vector< coral::AttributeList > &attLists) | |
virtual | ~QueryResults () |
Private Attributes | |
std::vector< coral::AttributeList > | m_attributeLists |
std::vector< std::string > | m_columnNames |
Definition at line 52 of file OMDSReader.h.
|
inline |
Definition at line 55 of file OMDSReader.h.
Referenced by l1t::OMDSReader::basicQueryGenericKey(), and l1t::OMDSReader::singleAttribute().
|
inline |
Definition at line 56 of file OMDSReader.h.
|
inlinevirtual |
Definition at line 60 of file OMDSReader.h.
|
inline |
Definition at line 64 of file OMDSReader.h.
References m_attributeLists.
Referenced by l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::basicQueryView(), ScaleRecordHelper::extractScales(), L1MuGMTParametersOnlineProducer::newObject(), and L1CaloHcalScaleConfigOnlineProd::newObject().
|
inline |
Definition at line 62 of file OMDSReader.h.
References m_columnNames.
Referenced by l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::basicQueryView(), and L1CaloHcalScaleConfigOnlineProd::newObject().
bool l1t::OMDSReader::QueryResults::fillVariable | ( | const std::string & | columnName, |
T & | outputVariable | ||
) | const |
Definition at line 311 of file OMDSReader.h.
References fillVariableFromRow().
Referenced by l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::basicQueryView(), l1t::OnlineDBqueryHelper::fetch(), CSCTFObjectKeysOnlineProd::fillObjectKeys(), L1GctRSObjectKeysOnlineProd::fillObjectKeys(), L1TMuonOverlapObjectKeysOnlineProd::fillObjectKeys(), L1TUtmTriggerMenuObjectKeysOnlineProd::fillObjectKeys(), L1GctTSCObjectKeysOnlineProd::fillObjectKeys(), L1MuGMTRSKeysOnlineProd::fillObjectKeys(), L1MuGMTParametersKeysOnlineProd::fillObjectKeys(), L1MuTriggerScaleKeysOnlineProd::fillObjectKeys(), DTTFRSKeysOnlineProd::fillObjectKeys(), DTTFTSCObjectKeysOnlineProd::fillObjectKeys(), RCTObjectKeysOnlineProd::fillObjectKeys(), L1RCT_RSKeysOnlineProd::fillObjectKeys(), L1GtPsbSetupConfigOnlineProd::getRequiredValue(), L1GtTscObjectKeysOnlineProd::keyL1GtParameters(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig(), L1GtTscObjectKeysOnlineProd::keyL1GtTriggerMenu(), PhiScaleHelper::makeBinnedScale(), CSCTFAlignmentOnlineProd::newObject(), L1GctJetFinderParamsOnlineProd::newObject(), CSCTFConfigOnlineProd::newObject(), L1MuGMTChannelMaskOnlineProducer::newObject(), L1MuCSCPtLutConfigOnlineProd::newObject(), L1GctChannelMaskOnlineProd::newObject(), L1TUtmTriggerMenuOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), L1EmEtScaleOnlineProd::newObject(), DTTFParametersOnlineProd::newObject(), DTTFMasksOnlineProd::newObject(), L1JetEtScaleOnlineProd::newObject(), L1HtMissScaleOnlineProd::newObject(), L1HfRingEtScaleOnlineProd::newObject(), L1MuTriggerScalesOnlineProducer::newObject(), L1RCTParametersOnlineProd::newObject(), L1RCTChannelMaskOnlineProd::newObject(), L1CaloEcalScaleConfigOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1GtParametersConfigOnlineProd::newObject(), L1GtPsbSetupConfigOnlineProd::newObject(), L1CaloHcalScaleConfigOnlineProd::newObject(), numberRows(), L1SubsystemKeysOnlineProdExt::produce(), L1SubsystemKeysOnlineProd::produce(), and L1GtTriggerMenuConfigOnlineProd::tableMenuGeneralFromDB().
bool l1t::OMDSReader::QueryResults::fillVariable | ( | T & | outputVariable | ) | const |
Definition at line 333 of file OMDSReader.h.
References fillVariableFromRow().
bool l1t::OMDSReader::QueryResults::fillVariableFromRow | ( | const std::string & | columnName, |
int | rowNumber, | ||
T & | outputVariable | ||
) | const |
Definition at line 319 of file OMDSReader.h.
References funct::false, m_attributeLists, numberRows(), and funct::true.
Referenced by L1RCTParametersOnlineProd::fillScaleFactors(), fillVariable(), L1TOMDSHelper::getBeamConfiguration(), L1TOMDSHelper::getBunchStructure(), L1TOMDSHelper::getInitBunchLumi(), L1TOMDSHelper::getNumberCollidingBunches(), L1TOMDSHelper::getRelativeBunchLumi(), L1TOMDSHelper::getWbMTriggerXsecFits(), L1CaloEcalScaleConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1CaloHcalScaleConfigOnlineProd::newObject(), numberRows(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuObjectParametersFromDB(), and L1GtTriggerMenuConfigOnlineProd::tableMenuTechTrigFromDB().
bool l1t::OMDSReader::QueryResults::fillVariableFromRow | ( | int | rowNumber, |
T & | outputVariable | ||
) | const |
Definition at line 339 of file OMDSReader.h.
References m_attributeLists, m_columnNames, numberRows(), and funct::true.
|
inline |
Definition at line 67 of file OMDSReader.h.
References fillVariable(), fillVariableFromRow(), m_attributeLists, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::basicQueryView(), L1GtPsbSetupConfigOnlineProd::checkOneLineResult(), l1t::OnlineDBqueryHelper::fetch(), L1GctRSObjectKeysOnlineProd::fillObjectKeys(), CSCTFObjectKeysOnlineProd::fillObjectKeys(), L1TUtmTriggerMenuObjectKeysOnlineProd::fillObjectKeys(), L1TMuonOverlapObjectKeysOnlineProd::fillObjectKeys(), L1GctTSCObjectKeysOnlineProd::fillObjectKeys(), L1MuGMTRSKeysOnlineProd::fillObjectKeys(), L1MuGMTParametersKeysOnlineProd::fillObjectKeys(), L1MuTriggerScaleKeysOnlineProd::fillObjectKeys(), DTTFTSCObjectKeysOnlineProd::fillObjectKeys(), DTTFRSKeysOnlineProd::fillObjectKeys(), RCTObjectKeysOnlineProd::fillObjectKeys(), L1RCT_RSKeysOnlineProd::fillObjectKeys(), L1RCTParametersOnlineProd::fillScaleFactors(), fillVariableFromRow(), L1TOMDSHelper::getBeamConfiguration(), L1TOMDSHelper::getBunchStructure(), L1TOMDSHelper::getInitBunchLumi(), L1TOMDSHelper::getNumberCollidingBunches(), L1TOMDSHelper::getRelativeBunchLumi(), L1TOMDSHelper::getWbMTriggerXsecFits(), L1GtTscObjectKeysOnlineProd::keyL1GtParameters(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig(), L1GtTscObjectKeysOnlineProd::keyL1GtTriggerMenu(), L1TUtmTriggerMenuOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), L1MuGMTParametersOnlineProducer::newObject(), L1MuTriggerPtScaleOnlineProducer::newObject(), DTTFParametersOnlineProd::newObject(), L1EmEtScaleOnlineProd::newObject(), L1HtMissScaleOnlineProd::newObject(), L1JetEtScaleOnlineProd::newObject(), L1HfRingEtScaleOnlineProd::newObject(), DTTFMasksOnlineProd::newObject(), L1MuTriggerScalesOnlineProducer::newObject(), L1RCTParametersOnlineProd::newObject(), L1CaloEcalScaleConfigOnlineProd::newObject(), L1RCTChannelMaskOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1CaloHcalScaleConfigOnlineProd::newObject(), L1SubsystemKeysOnlineProdExt::produce(), L1SubsystemKeysOnlineProd::produce(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuObjectParametersFromDB(), and L1GtTriggerMenuConfigOnlineProd::tableMenuTechTrigFromDB().
|
inline |
Definition at line 66 of file OMDSReader.h.
References m_attributeLists.
Referenced by L1GtPsbSetupConfigOnlineProd::checkOneLineResult(), l1t::OnlineDBqueryHelper::fetch(), L1GctRSObjectKeysOnlineProd::fillObjectKeys(), CSCTFObjectKeysOnlineProd::fillObjectKeys(), L1TMuonOverlapObjectKeysOnlineProd::fillObjectKeys(), L1TUtmTriggerMenuObjectKeysOnlineProd::fillObjectKeys(), L1GctTSCObjectKeysOnlineProd::fillObjectKeys(), L1MuGMTRSKeysOnlineProd::fillObjectKeys(), L1MuGMTParametersKeysOnlineProd::fillObjectKeys(), DTTFTSCObjectKeysOnlineProd::fillObjectKeys(), DTTFRSKeysOnlineProd::fillObjectKeys(), RCTObjectKeysOnlineProd::fillObjectKeys(), L1RCT_RSKeysOnlineProd::fillObjectKeys(), L1TOMDSHelper::getBeamConfiguration(), L1TOMDSHelper::getBunchStructure(), L1TOMDSHelper::getInitBunchLumi(), L1TOMDSHelper::getNumberCollidingBunches(), L1TOMDSHelper::getRelativeBunchLumi(), L1TOMDSHelper::getWbMTriggerXsecFits(), L1GtTscObjectKeysOnlineProd::keyL1GtParameters(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig(), L1GtTscObjectKeysOnlineProd::keyL1GtTriggerMenu(), CSCTFAlignmentOnlineProd::newObject(), L1GctChannelMaskOnlineProd::newObject(), L1GctJetFinderParamsOnlineProd::newObject(), CSCTFConfigOnlineProd::newObject(), L1MuGMTChannelMaskOnlineProducer::newObject(), L1MuCSCPtLutConfigOnlineProd::newObject(), L1TUtmTriggerMenuOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), L1EmEtScaleOnlineProd::newObject(), L1JetEtScaleOnlineProd::newObject(), L1HtMissScaleOnlineProd::newObject(), DTTFMasksOnlineProd::newObject(), DTTFParametersOnlineProd::newObject(), L1HfRingEtScaleOnlineProd::newObject(), L1RCTParametersOnlineProd::newObject(), L1RCTChannelMaskOnlineProd::newObject(), L1CaloEcalScaleConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtParametersConfigOnlineProd::newObject(), L1CaloHcalScaleConfigOnlineProd::newObject(), L1SubsystemKeysOnlineProdExt::produce(), L1SubsystemKeysOnlineProd::produce(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuGeneralFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuObjectParametersFromDB(), and L1GtTriggerMenuConfigOnlineProd::tableMenuTechTrigFromDB().
|
private |
Definition at line 89 of file OMDSReader.h.
Referenced by attributeLists(), fillVariableFromRow(), numberRows(), and queryFailed().
|
private |
Definition at line 88 of file OMDSReader.h.
Referenced by columnNames(), and fillVariableFromRow().