|
|
Go to the documentation of this file.
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()) {
99 objectKey = subsystemKey;
116 if (!objectKey.empty()) {
117 pL1TriggerKey->add(
"L1GtParametersRcd",
"L1GtParameters", objectKey);
124 if (!objectKey.empty()) {
125 pL1TriggerKey->add(
"L1GtTriggerMenuRcd",
"L1GtTriggerMenu", objectKey);
132 if (!objectKey.empty()) {
133 pL1TriggerKey->add(
"L1GtPsbSetupRcd",
"L1GtPsbSetup", objectKey);
bool m_enableL1GtPsbSetup
l1t::OMDSReader m_omdsReader
const QueryResults singleAttribute(const T &data) const
~L1GtTscObjectKeysOnlineProd() override
destructor
std::string keyL1GtParameters(const std::string &subsystemKey, const std::string >Schema)
keys for individual objects
bool fillVariable(const std::string &columnName, T &outputVariable) const
L1GtTscObjectKeysOnlineProd(const edm::ParameterSet &)
constructor
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="")
Log< level::Error, false > LogError
bool m_enableL1GtTriggerMenu
bool m_enableL1GtParameters
enable key search for each record
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void fillObjectKeys(FillType pL1TriggerKey) override
public methods
std::unique_ptr< L1TriggerKey >::pointer FillType
std::string keyL1GtPsbSetup(const std::string &subsystemKey, const std::string >Schema)
std::string keyL1GtTriggerMenu(const std::string &subsystemKey, const std::string >Schema)