26 m_enableL1GtParameters(parSet.getParameter<
bool>(
"EnableL1GtParameters")),
27 m_enableL1GtTriggerMenu(parSet.getParameter<
bool>(
"EnableL1GtTriggerMenu")),
28 m_enableL1GtPsbSetup(parSet.getParameter<
bool>(
"EnableL1GtPsbSetup")) {
43 if (!subsystemKey.empty()) {
52 edm::LogError(
"L1-O2O") <<
"Problem with key for record L1GtParametersRcd: query failed ";
54 }
else if ((objectKeyResults.
numberRows() != 1)) {
56 <<
" rows were returned";
70 if (!subsystemKey.empty()) {
79 edm::LogError(
"L1-O2O") <<
"Problem with key for record L1GtTriggerMenuRcd: query failed ";
81 }
else if ((objectKeyResults.
numberRows() != 1)) {
82 edm::LogError(
"L1-O2O") <<
"Problem with key for record L1GtTriggerMenuRcd: " << (objectKeyResults.
numberRows())
83 <<
" rows were returned";
96 if (!subsystemKey.empty()) {
117 pL1TriggerKey->add(
"L1GtParametersRcd",
"L1GtParameters",
objectKey);
125 pL1TriggerKey->add(
"L1GtTriggerMenuRcd",
"L1GtTriggerMenu",
objectKey);
133 pL1TriggerKey->add(
"L1GtPsbSetupRcd",
"L1GtPsbSetup",
objectKey);
std::string keyL1GtPsbSetup(const std::string &subsystemKey, const std::string >Schema)
const QueryResults singleAttribute(const T &data) const
~L1GtTscObjectKeysOnlineProd() override
destructor
std::unique_ptr< L1TriggerKey >::pointer FillType
L1GtTscObjectKeysOnlineProd(const edm::ParameterSet &)
constructor
l1t::OMDSReader m_omdsReader
bool m_enableL1GtPsbSetup
Log< level::Error, false > LogError
std::string keyL1GtParameters(const std::string &subsystemKey, const std::string >Schema)
keys for individual objects
bool m_enableL1GtTriggerMenu
bool m_enableL1GtParameters
enable key search for each record
const QueryResults basicQuery(const std::vector< std::string > &columnNames, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
bool fillVariable(const std::string &columnName, T &outputVariable) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::string keyL1GtTriggerMenu(const std::string &subsystemKey, const std::string >Schema)
void fillObjectKeys(FillType pL1TriggerKey) override
public methods