39 std::shared_ptr< L1CaloEtScale >
newObject(
77 std::shared_ptr< L1CaloEtScale >
85 std::vector< std::string > queryStrings ;
86 queryStrings.push_back(
"ET_GEV_BIN_LOW_0");
87 queryStrings.push_back(
"ET_GEV_BIN_LOW_1");
88 queryStrings.push_back(
"ET_GEV_BIN_LOW_2");
89 queryStrings.push_back(
"ET_GEV_BIN_LOW_3");
90 queryStrings.push_back(
"ET_GEV_BIN_LOW_4");
91 queryStrings.push_back(
"ET_GEV_BIN_LOW_5");
92 queryStrings.push_back(
"ET_GEV_BIN_LOW_6");
93 queryStrings.push_back(
"ET_GEV_BIN_LOW_7");
94 queryStrings.push_back(
"ET_GEV_BIN_LOW_8");
95 queryStrings.push_back(
"ET_GEV_BIN_LOW_9");
96 queryStrings.push_back(
"ET_GEV_BIN_LOW_10");
97 queryStrings.push_back(
"ET_GEV_BIN_LOW_11");
98 queryStrings.push_back(
"ET_GEV_BIN_LOW_12");
99 queryStrings.push_back(
"ET_GEV_BIN_LOW_13");
100 queryStrings.push_back(
"ET_GEV_BIN_LOW_14");
101 queryStrings.push_back(
"ET_GEV_BIN_LOW_15");
102 queryStrings.push_back(
"ET_GEV_BIN_LOW_16");
103 queryStrings.push_back(
"ET_GEV_BIN_LOW_17");
104 queryStrings.push_back(
"ET_GEV_BIN_LOW_18");
105 queryStrings.push_back(
"ET_GEV_BIN_LOW_19");
106 queryStrings.push_back(
"ET_GEV_BIN_LOW_20");
107 queryStrings.push_back(
"ET_GEV_BIN_LOW_21");
108 queryStrings.push_back(
"ET_GEV_BIN_LOW_22");
109 queryStrings.push_back(
"ET_GEV_BIN_LOW_23");
110 queryStrings.push_back(
"ET_GEV_BIN_LOW_24");
111 queryStrings.push_back(
"ET_GEV_BIN_LOW_25");
112 queryStrings.push_back(
"ET_GEV_BIN_LOW_26");
113 queryStrings.push_back(
"ET_GEV_BIN_LOW_27");
114 queryStrings.push_back(
"ET_GEV_BIN_LOW_28");
115 queryStrings.push_back(
"ET_GEV_BIN_LOW_29");
116 queryStrings.push_back(
"ET_GEV_BIN_LOW_30");
117 queryStrings.push_back(
"ET_GEV_BIN_LOW_31");
118 queryStrings.push_back(
"ET_GEV_BIN_LOW_32");
119 queryStrings.push_back(
"ET_GEV_BIN_LOW_33");
120 queryStrings.push_back(
"ET_GEV_BIN_LOW_34");
121 queryStrings.push_back(
"ET_GEV_BIN_LOW_35");
122 queryStrings.push_back(
"ET_GEV_BIN_LOW_36");
123 queryStrings.push_back(
"ET_GEV_BIN_LOW_37");
124 queryStrings.push_back(
"ET_GEV_BIN_LOW_38");
125 queryStrings.push_back(
"ET_GEV_BIN_LOW_39");
126 queryStrings.push_back(
"ET_GEV_BIN_LOW_40");
127 queryStrings.push_back(
"ET_GEV_BIN_LOW_41");
128 queryStrings.push_back(
"ET_GEV_BIN_LOW_42");
129 queryStrings.push_back(
"ET_GEV_BIN_LOW_43");
130 queryStrings.push_back(
"ET_GEV_BIN_LOW_44");
131 queryStrings.push_back(
"ET_GEV_BIN_LOW_45");
132 queryStrings.push_back(
"ET_GEV_BIN_LOW_46");
133 queryStrings.push_back(
"ET_GEV_BIN_LOW_47");
134 queryStrings.push_back(
"ET_GEV_BIN_LOW_48");
135 queryStrings.push_back(
"ET_GEV_BIN_LOW_49");
136 queryStrings.push_back(
"ET_GEV_BIN_LOW_50");
137 queryStrings.push_back(
"ET_GEV_BIN_LOW_51");
138 queryStrings.push_back(
"ET_GEV_BIN_LOW_52");
139 queryStrings.push_back(
"ET_GEV_BIN_LOW_53");
140 queryStrings.push_back(
"ET_GEV_BIN_LOW_54");
141 queryStrings.push_back(
"ET_GEV_BIN_LOW_55");
142 queryStrings.push_back(
"ET_GEV_BIN_LOW_56");
143 queryStrings.push_back(
"ET_GEV_BIN_LOW_57");
144 queryStrings.push_back(
"ET_GEV_BIN_LOW_58");
145 queryStrings.push_back(
"ET_GEV_BIN_LOW_59");
146 queryStrings.push_back(
"ET_GEV_BIN_LOW_60");
147 queryStrings.push_back(
"ET_GEV_BIN_LOW_61");
148 queryStrings.push_back(
"ET_GEV_BIN_LOW_62");
149 queryStrings.push_back(
"ET_GEV_BIN_LOW_63");
158 "L1T_SCALE_CALO_ET_THRESHOLD",
159 "L1T_SCALE_CALO_ET_THRESHOLD.ID",
163 "L1CALOEMETTHRESH.NAME",
172 edm::LogError(
"L1-O2O" ) <<
"Problem with L1EmEtScale key." ;
173 return std::shared_ptr< L1CaloEtScale >() ;
175 std::vector<double> m_thresholds;
177 for( std::vector< std::string >::iterator
thresh = queryStrings.begin();
179 float tempScale = 0.0;
181 m_thresholds.push_back(tempScale);
188 "L1CALOEMETTHRESH.NAME",
194 edm::LogError(
"L1-O2O" ) <<
"Problem with L1EmEtScale key." ;
195 return std::shared_ptr< L1CaloEtScale >() ;
207 return std::make_shared<L1CaloEtScale>(m_lsb,m_thresholds);
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
~L1EmEtScaleOnlineProd() override
std::shared_ptr< L1CaloEtScale > newObject(const std::string &objectKey) override
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="")
l1t::OMDSReader m_omdsReader
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
L1EmEtScaleOnlineProd(const edm::ParameterSet &)