|
static void | prevalidate (ConfigurationDescriptions &) |
|
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
|
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
|
bool | getObjectKey (const L1JetEtScaleRcd &record, std::string &objectKey) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord > |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord , typename TArg > |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &key) |
|
bool | m_copyFromCondDB |
|
cond::persistency::Session | m_dbSession |
|
bool | m_forceGeneration |
|
l1t::OMDSReader | m_omdsReader |
|
Description: Online producer for L1 jet Et scales
Implementation: <Notes on="" implementation>="">
Definition at line 31 of file L1JetEtScaleOnlineProd.cc.
std::unique_ptr< L1CaloEtScale > L1JetEtScaleOnlineProd::newObject |
( |
const std::string & |
objectKey | ) |
|
|
overridevirtual |
Implements L1ConfigOnlineProdBase< L1JetEtScaleRcd, L1CaloEtScale >.
Definition at line 66 of file L1JetEtScaleOnlineProd.cc.
71 "GCT_PHYS_PARAMS.CONFIG_KEY",
77 edm::LogError(
"L1-O2O") <<
"Problem with key for L1JetEtScaleRcd : GCT scales key query failed ";
78 }
else if (scalesKeyResults.
numberRows() != 1) {
80 <<
" rows were returned when getting GCT scales key";
87 m_omdsReader.
basicQuery(
"SC_CENJET_ET_THRESHOLD_FK",
"CMS_GT",
"L1T_SCALES",
"L1T_SCALES.ID", scalesKeyResults);
92 edm::LogError(
"L1-O2O") <<
"Problem with key for L1GctJetEtScaleRcd : jet scale key query failed ";
93 }
else if (jetScaleKeyResults.
numberRows() != 1) {
95 <<
" rows were returned when getting jet Et scale key";
101 std::vector<std::string> queryStrings;
102 queryStrings.push_back(
"ET_GEV_BIN_LOW_0");
103 queryStrings.push_back(
"ET_GEV_BIN_LOW_1");
104 queryStrings.push_back(
"ET_GEV_BIN_LOW_2");
105 queryStrings.push_back(
"ET_GEV_BIN_LOW_3");
106 queryStrings.push_back(
"ET_GEV_BIN_LOW_4");
107 queryStrings.push_back(
"ET_GEV_BIN_LOW_5");
108 queryStrings.push_back(
"ET_GEV_BIN_LOW_6");
109 queryStrings.push_back(
"ET_GEV_BIN_LOW_7");
110 queryStrings.push_back(
"ET_GEV_BIN_LOW_8");
111 queryStrings.push_back(
"ET_GEV_BIN_LOW_9");
112 queryStrings.push_back(
"ET_GEV_BIN_LOW_10");
113 queryStrings.push_back(
"ET_GEV_BIN_LOW_11");
114 queryStrings.push_back(
"ET_GEV_BIN_LOW_12");
115 queryStrings.push_back(
"ET_GEV_BIN_LOW_13");
116 queryStrings.push_back(
"ET_GEV_BIN_LOW_14");
117 queryStrings.push_back(
"ET_GEV_BIN_LOW_15");
118 queryStrings.push_back(
"ET_GEV_BIN_LOW_16");
119 queryStrings.push_back(
"ET_GEV_BIN_LOW_17");
120 queryStrings.push_back(
"ET_GEV_BIN_LOW_18");
121 queryStrings.push_back(
"ET_GEV_BIN_LOW_19");
122 queryStrings.push_back(
"ET_GEV_BIN_LOW_20");
123 queryStrings.push_back(
"ET_GEV_BIN_LOW_21");
124 queryStrings.push_back(
"ET_GEV_BIN_LOW_22");
125 queryStrings.push_back(
"ET_GEV_BIN_LOW_23");
126 queryStrings.push_back(
"ET_GEV_BIN_LOW_24");
127 queryStrings.push_back(
"ET_GEV_BIN_LOW_25");
128 queryStrings.push_back(
"ET_GEV_BIN_LOW_26");
129 queryStrings.push_back(
"ET_GEV_BIN_LOW_27");
130 queryStrings.push_back(
"ET_GEV_BIN_LOW_28");
131 queryStrings.push_back(
"ET_GEV_BIN_LOW_29");
132 queryStrings.push_back(
"ET_GEV_BIN_LOW_30");
133 queryStrings.push_back(
"ET_GEV_BIN_LOW_31");
134 queryStrings.push_back(
"ET_GEV_BIN_LOW_32");
135 queryStrings.push_back(
"ET_GEV_BIN_LOW_33");
136 queryStrings.push_back(
"ET_GEV_BIN_LOW_34");
137 queryStrings.push_back(
"ET_GEV_BIN_LOW_35");
138 queryStrings.push_back(
"ET_GEV_BIN_LOW_36");
139 queryStrings.push_back(
"ET_GEV_BIN_LOW_37");
140 queryStrings.push_back(
"ET_GEV_BIN_LOW_38");
141 queryStrings.push_back(
"ET_GEV_BIN_LOW_39");
142 queryStrings.push_back(
"ET_GEV_BIN_LOW_40");
143 queryStrings.push_back(
"ET_GEV_BIN_LOW_41");
144 queryStrings.push_back(
"ET_GEV_BIN_LOW_42");
145 queryStrings.push_back(
"ET_GEV_BIN_LOW_43");
146 queryStrings.push_back(
"ET_GEV_BIN_LOW_44");
147 queryStrings.push_back(
"ET_GEV_BIN_LOW_45");
148 queryStrings.push_back(
"ET_GEV_BIN_LOW_46");
149 queryStrings.push_back(
"ET_GEV_BIN_LOW_47");
150 queryStrings.push_back(
"ET_GEV_BIN_LOW_48");
151 queryStrings.push_back(
"ET_GEV_BIN_LOW_49");
152 queryStrings.push_back(
"ET_GEV_BIN_LOW_50");
153 queryStrings.push_back(
"ET_GEV_BIN_LOW_51");
154 queryStrings.push_back(
"ET_GEV_BIN_LOW_52");
155 queryStrings.push_back(
"ET_GEV_BIN_LOW_53");
156 queryStrings.push_back(
"ET_GEV_BIN_LOW_54");
157 queryStrings.push_back(
"ET_GEV_BIN_LOW_55");
158 queryStrings.push_back(
"ET_GEV_BIN_LOW_56");
159 queryStrings.push_back(
"ET_GEV_BIN_LOW_57");
160 queryStrings.push_back(
"ET_GEV_BIN_LOW_58");
161 queryStrings.push_back(
"ET_GEV_BIN_LOW_59");
162 queryStrings.push_back(
"ET_GEV_BIN_LOW_60");
163 queryStrings.push_back(
"ET_GEV_BIN_LOW_61");
164 queryStrings.push_back(
"ET_GEV_BIN_LOW_62");
165 queryStrings.push_back(
"ET_GEV_BIN_LOW_63");
168 queryStrings,
"CMS_GT",
"L1T_SCALE_CALO_ET_THRESHOLD",
"L1T_SCALE_CALO_ET_THRESHOLD.ID", jetScaleKeyResults);
174 edm::LogError(
"L1-O2O") <<
"Problem with L1JetEtScale key : when reading scale.";
176 for (std::vector<std::string>::iterator
thresh = queryStrings.begin();
thresh != queryStrings.end(); ++
thresh) {
177 float tempScale = 0.0;
184 double rgnEtLsb = 0.;
189 "GCT_PHYS_PARAMS.CONFIG_KEY",
199 return std::make_unique<L1CaloEtScale>(rgnEtLsb,
thresholds);
References l1t::OMDSReader::basicQuery(), l1t::OMDSReader::QueryResults::fillVariable(), L1ConfigOnlineProdBase< L1JetEtScaleRcd, L1CaloEtScale >::m_omdsReader, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), l1t::OMDSReader::singleAttribute(), AlCaHLTBitMon_QueryRunRegistry::string, GOODCOLL_filter_cfg::thresh, and particleFlowZeroSuppressionECAL_cff::thresholds.