CMS 3D CMS Logo

EcalTPGDBApp.cc
Go to the documentation of this file.
3 
4 #include <vector>
5 #include <ctime>
6 
7 using namespace std;
8 using namespace oracle::occi;
9 
10 EcalTPGDBApp::EcalTPGDBApp(string host, string sid, string user, string pass, int port)
11  : EcalCondDBInterface(host, sid, user, pass, port) {}
12 
13 EcalTPGDBApp::EcalTPGDBApp(string sid, string user, string pass) : EcalCondDBInterface(sid, user, pass) {}
14 
15 int EcalTPGDBApp::writeToConfDB_TPGPedestals(const map<EcalLogicID, FEConfigPedDat>& pedset, int iovId, string tag) {
16  int result = 0;
17 
18  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
19  edm::LogVerbatim("ECALTPGDBApp") << "******** Inserting Peds in conf-OMDS*****";
20  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
21 
22  edm::LogVerbatim("ECALTPGDBApp") << "creating fe record ";
23  FEConfigPedInfo fe_ped_info;
24  fe_ped_info.setIOVId(iovId);
25  fe_ped_info.setConfigTag(tag);
26  insertConfigSet(&fe_ped_info);
27  result = fe_ped_info.getID();
28 
29  // Insert the dataset, identifying by iov
30  edm::LogVerbatim("ECALTPGDBApp") << "*********about to insert peds *********";
31  edm::LogVerbatim("ECALTPGDBApp") << " map size = " << pedset.size();
32  insertDataArraySet(&pedset, &fe_ped_info);
33  edm::LogVerbatim("ECALTPGDBApp") << "*********Done peds *********";
34 
35  return result;
36 }
37 
38 int EcalTPGDBApp::writeToConfDB_TPGLinearCoef(const map<EcalLogicID, FEConfigLinDat>& linset,
39  const map<EcalLogicID, FEConfigLinParamDat>& linparamset,
40  int iovId,
41  string tag) {
42  int result = 0;
43 
44  edm::LogVerbatim("ECALTPGDBApp") << "*********************************************";
45  edm::LogVerbatim("ECALTPGDBApp") << "**Inserting Linarization coeff in conf-OMDS**";
46  edm::LogVerbatim("ECALTPGDBApp") << "*********************************************";
47 
48  edm::LogVerbatim("ECALTPGDBApp") << "creating fe record ";
49  FEConfigLinInfo fe_lin_info;
50  fe_lin_info.setIOVId(iovId);
51  fe_lin_info.setConfigTag(tag);
52  insertConfigSet(&fe_lin_info);
53  result = fe_lin_info.getID();
54 
55  // Insert the dataset, identifying by iov
56  edm::LogVerbatim("ECALTPGDBApp") << "*********about to insert linearization coeff *********";
57  edm::LogVerbatim("ECALTPGDBApp") << " map size = " << linset.size();
58  insertDataArraySet(&linset, &fe_lin_info);
59  insertDataArraySet(&linparamset, &fe_lin_info);
60  edm::LogVerbatim("ECALTPGDBApp") << "*********Done lineraization coeff *********";
61 
62  return result;
63 }
64 
66  int lin,
67  int lut,
68  int fgr,
69  int sli,
70  int wei,
71  int wei2,
72  int spi,
73  int tim,
74  int bxt,
75  int btt,
76  int bst,
77  int cok,
78  string tag,
79  int ver) {
80  int result = 0;
81 
82  edm::LogVerbatim("ECALTPGDBApp") << "*********************************************";
83  edm::LogVerbatim("ECALTPGDBApp") << "**Inserting Main FE table in conf-OMDS **";
84  edm::LogVerbatim("ECALTPGDBApp") << "*********************************************";
85 
86  edm::LogVerbatim("ECALTPGDBApp") << "creating fe record ";
87 
88  FEConfigMainInfo fe_main;
89  fe_main.setPedId(ped);
90  fe_main.setLinId(lin);
91  fe_main.setLUTId(lut);
92  fe_main.setFgrId(fgr);
93  fe_main.setSliId(sli);
94  fe_main.setWeiId(wei);
95  fe_main.setWei2Id(wei2);
96  fe_main.setSpiId(spi);
97  fe_main.setTimId(tim);
98  fe_main.setBxtId(bxt);
99  fe_main.setBttId(btt);
100  fe_main.setBstId(bst);
101  fe_main.setCokeId(cok);
102  fe_main.setConfigTag(tag);
103  fe_main.setVersion(ver);
104 
105  insertConfigSet(&fe_main);
106  result = fe_main.getId();
107 
108  edm::LogVerbatim("ECALTPGDBApp") << "*********Done Main *********";
109 
110  return result;
111 }
112 
114  // now we do something else
115  // this is an example for reading the pedestals
116  // for a given config iconf_req
117 
118  // FC alternatively a config set can be retrieved by the tag and version
119 
120  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
121  edm::LogVerbatim("ECALTPGDBApp") << "test readinf fe_ped with id=" << iconf_req;
122  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
123 
124  FEConfigPedInfo fe_ped_info;
125  fe_ped_info.setId(iconf_req);
126 
127  fetchConfigSet(&fe_ped_info);
128 
129  map<EcalLogicID, FEConfigPedDat> dataset_ped;
130  fetchDataSet(&dataset_ped, &fe_ped_info);
131 
132  typedef map<EcalLogicID, FEConfigPedDat>::const_iterator CIfeped;
133  EcalLogicID ecid_xt;
134  FEConfigPedDat rd_ped;
135 
136  for (CIfeped p = dataset_ped.begin(); p != dataset_ped.end(); ++p) {
137  ecid_xt = p->first;
138  rd_ped = p->second;
139  //int sm_num=ecid_xt.getID1();
140  ecid_xt.getID2();
141  rd_ped.getPedMeanG12();
142  rd_ped.getPedMeanG6();
143  rd_ped.getPedMeanG1();
144  }
145 
146  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
147  edm::LogVerbatim("ECALTPGDBApp") << "test read done" << iconf_req;
148  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
149 }
150 
151 int EcalTPGDBApp::readFromCondDB_Pedestals(map<EcalLogicID, MonPedestalsDat>& dataset, int runNb) {
152  int iovId = 0;
153 
154  edm::LogVerbatim("ECALTPGDBApp") << "Retrieving run list from DB from run nb ... " << runNb;
155  RunTag my_runtag;
158  my_locdef.setLocation("P5_Co");
159  my_rundef.setRunType("PEDESTAL");
160  my_runtag.setLocationDef(my_locdef);
161  my_runtag.setRunTypeDef(my_rundef);
162  my_runtag.setGeneralTag("LOCAL");
163 
164  // here we retrieve the Monitoring results
165  MonVersionDef monverdef;
166  monverdef.setMonitoringVersion("test01");
167  MonRunTag montag;
168  montag.setMonVersionDef(monverdef);
169  montag.setGeneralTag("CMSSW");
170 
171  MonRunList mon_list;
172  mon_list.setMonRunTag(montag);
173  mon_list.setRunTag(my_runtag);
174 
175  edm::LogVerbatim("ECALTPGDBApp") << "we are in read ped from condDB and runNb is " << runNb;
176 
177  mon_list = fetchMonRunListLastNRuns(my_runtag, montag, runNb, 10);
178 
179  edm::LogVerbatim("ECALTPGDBApp") << "we are in read ped from condDB";
180 
181  std::vector<MonRunIOV> mon_run_vec = mon_list.getRuns();
182  edm::LogVerbatim("ECALTPGDBApp") << "number of ped runs is : " << mon_run_vec.size();
183  int mon_runs = mon_run_vec.size();
184  //int sm_num = 0;
185 
186  if (mon_runs > 0) {
187  for (int ii = 0; ii < (int)mon_run_vec.size(); ii++)
188  edm::LogVerbatim("ECALTPGDBApp") << "here is the run number: " << mon_run_vec[ii].getRunIOV().getRunNumber();
189 
190  // for the first run of the list we retrieve the pedestals
191  int run = 0;
192  edm::LogVerbatim("ECALTPGDBApp") << " retrieve the data for a given run";
193  edm::LogVerbatim("ECALTPGDBApp") << "here is the run number: " << mon_run_vec[run].getRunIOV().getRunNumber();
194  iovId = mon_run_vec[run].getID();
195 
196  fetchDataSet(&dataset, &mon_run_vec[run]);
197  }
198  return iovId;
199 }
200 
201 int EcalTPGDBApp::writeToConfDB_TPGSliding(const map<EcalLogicID, FEConfigSlidingDat>& sliset, int iovId, string tag) {
202  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
203  edm::LogVerbatim("ECALTPGDBApp") << "************Inserting SLIDING************";
204  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
205  int result = 0;
206 
207  FEConfigSlidingInfo fe_info;
208  fe_info.setIOVId(iovId);
209  fe_info.setConfigTag(tag);
210  insertConfigSet(&fe_info);
211 
212  // Tm tdb = fe_lut_info.getDBTime();
213  //tdb.dumpTm();
214 
215  // Insert the dataset
216  insertDataArraySet(&sliset, &fe_info);
217 
218  result = fe_info.getId();
219 
220  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
221  edm::LogVerbatim("ECALTPGDBApp") << "************SLI done*********************";
222  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
223  return result;
224 }
225 
226 int EcalTPGDBApp::writeToConfDB_TPGLUT(const map<EcalLogicID, FEConfigLUTGroupDat>& lutgroupset,
227  const map<EcalLogicID, FEConfigLUTDat>& lutset,
228  const map<EcalLogicID, FEConfigLUTParamDat>& lutparamset,
229  int iovId,
230  string tag) {
231  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
232  edm::LogVerbatim("ECALTPGDBApp") << "************Inserting LUT************";
233  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
234  int result = 0;
235 
236  FEConfigLUTInfo fe_lut_info;
237  fe_lut_info.setNumberOfGroups(iovId);
238  fe_lut_info.setConfigTag(tag);
239  insertConfigSet(&fe_lut_info);
240 
241  // Tm tdb = fe_lut_info.getDBTime();
242  //tdb.dumpTm();
243 
244  // Insert the dataset
245  insertDataArraySet(&lutgroupset, &fe_lut_info);
246  // Insert the dataset
247  insertDataArraySet(&lutset, &fe_lut_info);
248  // insert the parameters
249  insertDataArraySet(&lutparamset, &fe_lut_info);
250 
251  result = fe_lut_info.getId();
252 
253  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
254  edm::LogVerbatim("ECALTPGDBApp") << "************LUT done*********************";
255  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
256  return result;
257 }
258 
259 int EcalTPGDBApp::writeToConfDB_TPGWeight(const map<EcalLogicID, FEConfigWeightGroupDat>& lutgroupset,
260  const map<EcalLogicID, FEConfigWeightDat>& lutset,
261  int ngr,
262  string tag) {
263  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
264  edm::LogVerbatim("ECALTPGDBApp") << "************Inserting weights************";
265  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
266 
267  int result = 0;
268 
269  FEConfigWeightInfo fe_wei_info;
270  fe_wei_info.setNumberOfGroups(ngr);
271  fe_wei_info.setConfigTag(tag);
272  insertConfigSet(&fe_wei_info);
273 
274  // Tm tdb = fe_lut_info.getDBTime();
275  //tdb.dumpTm();
276 
277  // Insert the dataset
278  insertDataArraySet(&lutgroupset, &fe_wei_info);
279  // Insert the dataset
280  insertDataArraySet(&lutset, &fe_wei_info);
281 
282  result = fe_wei_info.getId();
283 
284  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
285  edm::LogVerbatim("ECALTPGDBApp") << "************WEIGHT done******************";
286  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
287  return result;
288 }
289 
290 int EcalTPGDBApp::writeToConfDB_TPGWeight_doubleWeights(const map<EcalLogicID, FEConfigOddWeightGroupDat>& lutgroupset,
291  const map<EcalLogicID, FEConfigOddWeightDat>& lutset,
292  const map<EcalLogicID, FEConfigOddWeightModeDat>& tpmode,
293  int ngr,
294  string tag) {
295  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
296  edm::LogVerbatim("ECALTPGDBApp") << "************Inserting odd weights************";
297  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
298 
299  int result = 0;
300 
301  FEConfigOddWeightInfo fe_wei_info;
302  fe_wei_info.setNumberOfGroups(ngr);
303  fe_wei_info.setConfigTag(tag);
304  insertConfigSet(&fe_wei_info);
305 
306  // Tm tdb = fe_lut_info.getDBTime();
307  //tdb.dumpTm();
308 
309  // Insert the dataset
310  insertDataArraySet(&lutgroupset, &fe_wei_info);
311  // Insert the dataset
312  insertDataArraySet(&lutset, &fe_wei_info);
313  // Insert the Tpmode
314  insertDataSet(&tpmode, &fe_wei_info);
315 
316  result = fe_wei_info.getId();
317 
318  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
319  edm::LogVerbatim("ECALTPGDBApp") << "************ODD WEIGHT + TPmode done******************";
320  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
321  return result;
322 }
323 
324 int EcalTPGDBApp::writeToConfDB_TPGFgr(const map<EcalLogicID, FEConfigFgrGroupDat>& fgrgroupset,
325  const map<EcalLogicID, FEConfigFgrDat>& fgrset,
326  const map<EcalLogicID, FEConfigFgrParamDat>& fgrparamset,
327  const map<EcalLogicID, FEConfigFgrEETowerDat>& dataset3,
328  const map<EcalLogicID, FEConfigFgrEEStripDat>& dataset4,
329  int iovId,
330  string tag) {
331  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
332  edm::LogVerbatim("ECALTPGDBApp") << "************Inserting Fgr************";
333  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
334  int result = 0;
335 
336  FEConfigFgrInfo fe_fgr_info;
337  fe_fgr_info.setNumberOfGroups(iovId); // this eventually refers to some other table
338  fe_fgr_info.setConfigTag(tag);
339  insertConfigSet(&fe_fgr_info);
340 
341  // Tm tdb = fe_fgr_info.getDBTime();
342  //tdb.dumpTm();
343 
344  // Insert the dataset
345  insertDataArraySet(&fgrgroupset, &fe_fgr_info);
346  // Insert the dataset
347  insertDataArraySet(&fgrset, &fe_fgr_info);
348  // Insert the parameters
349  insertDataArraySet(&fgrparamset, &fe_fgr_info);
350  // Insert the parameters
351  insertDataArraySet(&dataset3, &fe_fgr_info);
352  // Insert the parameters
353  insertDataArraySet(&dataset4, &fe_fgr_info);
354 
355  result = fe_fgr_info.getId();
356 
357  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
358  edm::LogVerbatim("ECALTPGDBApp") << "************Fgr done*********************";
359  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
360  return result;
361 }
362 
363 int EcalTPGDBApp::writeToConfDB_Spike(const map<EcalLogicID, FEConfigSpikeDat>& spikegroupset, string tag) {
364  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
365  edm::LogVerbatim("ECALTPGDBApp") << "************Inserting Spike************";
366  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
367  int result = 0;
368 
369  FEConfigSpikeInfo fe_spike_info;
370  fe_spike_info.setConfigTag(tag);
371  insertConfigSet(&fe_spike_info);
372 
373  // Tm tdb = fe_fgr_info.getDBTime();
374  //tdb.dumpTm();
375 
376  // Insert the dataset
377  insertDataArraySet(&spikegroupset, &fe_spike_info);
378 
379  result = fe_spike_info.getId();
380 
381  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
382  edm::LogVerbatim("ECALTPGDBApp") << "************Spike done*******************";
383  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
384  return result;
385 }
386 
387 int EcalTPGDBApp::writeToConfDB_Delay(const map<EcalLogicID, FEConfigTimingDat>& timegroupset, string tag) {
388  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
389  edm::LogVerbatim("ECALTPGDBApp") << "************Inserting Delays************";
390  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
391  int result = 0;
392 
393  FEConfigTimingInfo fe_time_info;
394  fe_time_info.setConfigTag(tag);
395  insertConfigSet(&fe_time_info);
396 
397  // Tm tdb = fe_fgr_info.getDBTime();
398  //tdb.dumpTm();
399 
400  // Insert the dataset
401  insertDataArraySet(&timegroupset, &fe_time_info);
402 
403  result = fe_time_info.getId();
404 
405  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
406  edm::LogVerbatim("ECALTPGDBApp") << "************Delays done******************";
407  edm::LogVerbatim("ECALTPGDBApp") << "*****************************************";
408  return result;
409 }
410 
411 void EcalTPGDBApp::printTag(const RunTag* tag) const {
412  edm::LogVerbatim("ECALTPGDBApp") << "=============RunTag:";
413  edm::LogVerbatim("ECALTPGDBApp") << "GeneralTag: " << tag->getGeneralTag();
414  edm::LogVerbatim("ECALTPGDBApp") << "Location: " << tag->getLocationDef().getLocation();
415  edm::LogVerbatim("ECALTPGDBApp") << "Run Type: " << tag->getRunTypeDef().getRunType();
416  edm::LogVerbatim("ECALTPGDBApp") << "====================";
417 }
418 
419 void EcalTPGDBApp::printIOV(const RunIOV* iov) const {
420  edm::LogVerbatim("ECALTPGDBApp") << "=============RunIOV:";
421  RunTag tag = iov->getRunTag();
422  printTag(&tag);
423  edm::LogVerbatim("ECALTPGDBApp") << "Run Number: " << iov->getRunNumber();
424  edm::LogVerbatim("ECALTPGDBApp") << "Run Start: " << iov->getRunStart().str();
425  edm::LogVerbatim("ECALTPGDBApp") << "Run End: " << iov->getRunEnd().str();
426  edm::LogVerbatim("ECALTPGDBApp") << "====================";
427 }
void setSpiId(int x)
Log< level::Info, true > LogVerbatim
int writeToConfDB_TPGLinearCoef(const std::map< EcalLogicID, FEConfigLinDat > &linset, const std::map< EcalLogicID, FEConfigLinParamDat > &linparamset, int iovId, std::string tag)
Definition: EcalTPGDBApp.cc:38
void setRunTypeDef(const RunTypeDef &runTypeDef)
Definition: RunTag.cc:42
float getPedMeanG6() const
string host
Definition: query.py:115
void setLinId(int x)
void setTimId(int x)
Definition: RunTag.h:13
int getID2() const
Definition: EcalLogicID.cc:32
EcalTPGDBApp(std::string host, std::string sid, std::string user, std::string pass, int port)
void setBxtId(int x)
void setIOVId(int iov_id)
int port
Definition: query.py:116
int writeToConfDB_TPGSliding(const std::map< EcalLogicID, FEConfigSlidingDat > &sliset, int iovId, std::string tag)
void fetchConfigSet(ICONF *iconf) noexcept(false)
run_t getRunNumber() const
Definition: RunIOV.cc:31
int writeToConfDB_Delay(const std::map< EcalLogicID, FEConfigTimingDat > &delaygroupset, std::string tag)
void setGeneralTag(std::string tag)
Definition: MonRunTag.cc:21
void setVersion(int id)
void fetchDataSet(std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) noexcept(false)
void setRunTag(const RunTag &tag)
Definition: MonRunList.cc:18
float getPedMeanG1() const
void setLUTId(int x)
MonRunList fetchMonRunListLastNRuns(const RunTag &tag, const MonRunTag &monruntag, int max_run, int n_runs) noexcept(false)
int getId() const
void setNumberOfGroups(int iov_id)
void setFgrId(int x)
void setWei2Id(int x)
void setNumberOfGroups(int iov_id)
void setIOVId(int iov_id)
void insertConfigSet(ICONF *iconf) noexcept(false)
void setCokeId(int x)
Tm getRunEnd() const
Definition: RunIOV.cc:49
RunTag getRunTag() const
Definition: RunIOV.cc:58
void setMonVersionDef(const MonVersionDef &ver)
Definition: MonRunTag.cc:30
int readFromCondDB_Pedestals(std::map< EcalLogicID, MonPedestalsDat > &pedset, int runNb)
void insertDataArraySet(const std::map< EcalLogicID, DATT > *data, IOVT *iov) noexcept(false)
void setLocationDef(const LocationDef &locDef)
Definition: RunTag.cc:33
void setIOVId(int iov_id)
ii
Definition: cuy.py:589
int writeToConfDB_Spike(const std::map< EcalLogicID, FEConfigSpikeDat > &spikegroupset, std::string tag)
void setPedId(int x)
void setWeiId(int x)
std::vector< MonRunIOV > getRuns()
Definition: MonRunList.cc:32
int writeToConfDB_TPGPedestals(const std::map< EcalLogicID, FEConfigPedDat > &pedset, int iovId, std::string tag)
Definition: EcalTPGDBApp.cc:15
Tm getRunStart() const
Definition: RunIOV.cc:40
void printTag(const RunTag *tag) const
void setMonRunTag(const MonRunTag &tag)
Definition: MonRunList.cc:23
void setMonitoringVersion(std::string ver)
void setConfigTag(std::string x)
Definition: IODConfig.h:29
void readFromConfDB_TPGPedestals(int iconf_req)
void insertDataSet(const std::map< EcalLogicID, DATT > *data, IOVT *iov) noexcept(false)
void printIOV(const RunIOV *iov) const
void setNumberOfGroups(int n)
int writeToConfDB_TPGLUT(const std::map< EcalLogicID, FEConfigLUTGroupDat > &lutgroup, const std::map< EcalLogicID, FEConfigLUTDat > &lutdat, const std::map< EcalLogicID, FEConfigLUTParamDat > &lutparamset, int iovId, std::string tag)
void setId(int id)
int writeToConfDB_TPGFgr(const std::map< EcalLogicID, FEConfigFgrGroupDat > &lutgroup, const std::map< EcalLogicID, FEConfigFgrDat > &lutdat, const std::map< EcalLogicID, FEConfigFgrParamDat > &fgrparamset, const std::map< EcalLogicID, FEConfigFgrEETowerDat > &dataset3, const std::map< EcalLogicID, FEConfigFgrEEStripDat > &dataset4, int iovId, std::string tag)
int writeToConfDB_TPGWeight(const std::map< EcalLogicID, FEConfigWeightGroupDat > &lutgroup, const std::map< EcalLogicID, FEConfigWeightDat > &lutdat, int iovId, std::string tag)
int writeToConfDB_TPGWeight_doubleWeights(const std::map< EcalLogicID, FEConfigOddWeightGroupDat > &lutgroupset, const std::map< EcalLogicID, FEConfigOddWeightDat > &lutset, const std::map< EcalLogicID, FEConfigOddWeightModeDat > &tpmode, int ngr, std::string tag)
void setSliId(int x)
void setGeneralTag(std::string tag)
Definition: RunTag.cc:24
Definition: RunIOV.h:13
std::string str() const
Definition: Tm.cc:66
int getId() const
int writeToConfDB_TPGMain(int ped, int lin, int lut, int fgr, int sli, int wei, int wei2, int spi, int tim, int bxt, int btt, int bst, int cok, std::string tag, int ver)
Definition: EcalTPGDBApp.cc:65
void setBstId(int x)
float getPedMeanG12() const
void setBttId(int x)