18 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
19 edm::LogVerbatim(
"ECALTPGDBApp") <<
"******** Inserting Peds in conf-OMDS*****";
20 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
30 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*********about to insert peds *********";
39 const map<EcalLogicID, FEConfigLinParamDat>& linparamset,
44 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*********************************************";
45 edm::LogVerbatim(
"ECALTPGDBApp") <<
"**Inserting Linarization coeff in conf-OMDS**";
46 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*********************************************";
56 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*********about to insert linearization coeff *********";
60 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*********Done lineraization coeff *********";
82 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*********************************************";
83 edm::LogVerbatim(
"ECALTPGDBApp") <<
"**Inserting Main FE table in conf-OMDS **";
84 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*********************************************";
120 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
121 edm::LogVerbatim(
"ECALTPGDBApp") <<
"test readinf fe_ped with id=" << iconf_req;
122 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
125 fe_ped_info.
setId(iconf_req);
129 map<EcalLogicID, FEConfigPedDat> dataset_ped;
132 typedef map<EcalLogicID, FEConfigPedDat>::const_iterator CIfeped;
136 for (CIfeped
p = dataset_ped.begin();
p != dataset_ped.end(); ++
p) {
146 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
148 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
154 edm::LogVerbatim(
"ECALTPGDBApp") <<
"Retrieving run list from DB from run nb ... " << runNb;
175 edm::LogVerbatim(
"ECALTPGDBApp") <<
"we are in read ped from condDB and runNb is " << runNb;
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();
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();
193 edm::LogVerbatim(
"ECALTPGDBApp") <<
"here is the run number: " << mon_run_vec[
run].getRunIOV().getRunNumber();
194 iovId = mon_run_vec[
run].getID();
202 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
203 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Inserting SLIDING************";
204 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
220 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
221 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************SLI done*********************";
222 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
227 const map<EcalLogicID, FEConfigLUTDat>& lutset,
228 const map<EcalLogicID, FEConfigLUTParamDat>& lutparamset,
231 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
232 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Inserting LUT************";
233 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
253 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
254 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************LUT done*********************";
255 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
260 const map<EcalLogicID, FEConfigWeightDat>& lutset,
263 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
264 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Inserting weights************";
265 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
284 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
285 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************WEIGHT done******************";
286 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
291 const map<EcalLogicID, FEConfigOddWeightDat>& lutset,
292 const map<EcalLogicID, FEConfigOddWeightModeDat>& tpmode,
295 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
296 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Inserting odd weights************";
297 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
318 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
319 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************ODD WEIGHT + TPmode done******************";
320 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
325 const map<EcalLogicID, FEConfigFgrDat>& fgrset,
326 const map<EcalLogicID, FEConfigFgrParamDat>& fgrparamset,
327 const map<EcalLogicID, FEConfigFgrEETowerDat>& dataset3,
328 const map<EcalLogicID, FEConfigFgrEEStripDat>& dataset4,
331 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
332 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Inserting Fgr************";
333 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
357 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
358 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Fgr done*********************";
359 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
364 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
365 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Inserting Spike************";
366 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
381 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
382 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Spike done*******************";
383 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
388 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
389 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Inserting Delays************";
390 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
405 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
406 edm::LogVerbatim(
"ECALTPGDBApp") <<
"************Delays done******************";
407 edm::LogVerbatim(
"ECALTPGDBApp") <<
"*****************************************";
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)
void setRunTypeDef(const RunTypeDef &runTypeDef)
float getPedMeanG6() const
EcalTPGDBApp(std::string host, std::string sid, std::string user, std::string pass, int port)
void setIOVId(int iov_id)
void setNumberOfGroups(int n)
int writeToConfDB_TPGSliding(const std::map< EcalLogicID, FEConfigSlidingDat > &sliset, int iovId, std::string tag)
void fetchConfigSet(ICONF *iconf) noexcept(false)
run_t getRunNumber() const
int writeToConfDB_Delay(const std::map< EcalLogicID, FEConfigTimingDat > &delaygroupset, std::string tag)
void setGeneralTag(std::string tag)
void fetchDataSet(std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) noexcept(false)
void setRunTag(const RunTag &tag)
float getPedMeanG1() const
MonRunList fetchMonRunListLastNRuns(const RunTag &tag, const MonRunTag &monruntag, int max_run, int n_runs) noexcept(false)
void setNumberOfGroups(int iov_id)
void setNumberOfGroups(int iov_id)
void setIOVId(int iov_id)
void insertConfigSet(ICONF *iconf) noexcept(false)
void setMonVersionDef(const MonVersionDef &ver)
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)
void setIOVId(int iov_id)
int writeToConfDB_Spike(const std::map< EcalLogicID, FEConfigSpikeDat > &spikegroupset, std::string tag)
std::vector< MonRunIOV > getRuns()
int writeToConfDB_TPGPedestals(const std::map< EcalLogicID, FEConfigPedDat > &pedset, int iovId, std::string tag)
void printTag(const RunTag *tag) const
void setMonRunTag(const MonRunTag &tag)
void setMonitoringVersion(std::string ver)
void setConfigTag(std::string x)
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)
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 setGeneralTag(std::string tag)
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)
float getPedMeanG12() const