79 std::string paremKey, scaleKey, ecalScaleKey , hcalScaleKey;
92 edm::LogError(
"L1-O2O" ) <<
"Problem with RCT Parameter key." ;
101 "PAREM_CONF.PAREM_KEY",
114 edm::LogError(
"L1-O2O" ) <<
"Problem with rct_conf.ecal_conf." ;
119 ecalScaleKey =
"NULL";
122 if( ecalKey ==
"NULL")
123 ecalScaleKey =
"NULL";
124 else if(ecalKey ==
"IDENTITY")
125 ecalScaleKey =
"IDENTITY";
133 "ECAL_SCALE_KEY.ECAL_TAG",
140 edm::LogError(
"L1-O2O" ) <<
"bad results from lut_config_id." ;
143 int ecalScaleTemp = -1;
150 std::stringstream
ss;
152 ecalScaleKey = ss.str();
166 edm::LogError(
"L1-O2O" ) <<
"Problem with rct_conf.hcal_conf." ;
171 hcalScaleKey =
"NULL";
179 pL1TriggerKey->add(
"L1RCTParametersRcd",
182 pL1TriggerKey->add(
"L1EmEtScaleRcd",
185 pL1TriggerKey->add(
"L1CaloEcalScaleRcd",
188 pL1TriggerKey->add(
"L1CaloHcalScaleRcd",
~RCTObjectKeysOnlineProd()
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
l1t::OMDSReader m_omdsReader
virtual void fillObjectKeys(ReturnType pL1TriggerKey) override
boost::shared_ptr< L1TriggerKey > ReturnType
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="") const
RCTObjectKeysOnlineProd(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)