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