CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
popcon::EcalTPGPhysicsConstHandler Class Reference

#include <EcalTPGPhysicsConstHandler.h>

Inheritance diagram for popcon::EcalTPGPhysicsConstHandler:
popcon::PopConSourceHandler< EcalTPGPhysicsConst >

Public Member Functions

 EcalTPGPhysicsConstHandler (edm::ParameterSet const &)
 
void getNewObjects () override
 
std::string id () const override
 
void readFromFile (const char *inputFile)
 
void writeFile (const char *inputFile)
 
 ~EcalTPGPhysicsConstHandler () override
 
- Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGPhysicsConst >
void convertFromOld ()
 
SummarydummySummary (typename OldContainer::value_type const &) const
 
void initialize (const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry)
 
Ref lastPayload () const
 
cond::LogDBEntry_t const & logDBEntry () const
 
std::pair< Container const *, std::string const > operator() (const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const
 
 PopConSourceHandler ()
 
Container const & returnData ()
 
void sort ()
 
cond::TagInfo_t const & tagInfo () const
 
std::string const & userTextLog () const
 
virtual ~PopConSourceHandler ()
 

Public Attributes

EcalCondDBInterfaceeconn
 

Private Member Functions

std::string to_string (char value[])
 

Private Attributes

unsigned int m_firstRun
 
std::string m_gentag
 
int m_i_physCfgr
 
int m_i_physClin
 
int m_i_physClut
 
unsigned int m_i_run_number
 
std::string m_i_tag
 
int m_i_version
 
unsigned int m_lastRun
 
std::string m_location
 
std::string m_locationsource
 
std::string m_name
 
std::string m_pass
 
const EcalTPGPhysicsConstm_physicsConst
 
unsigned int m_runnr
 
std::string m_runtype
 
std::string m_sid
 
std::string m_user
 

Additional Inherited Members

- Public Types inherited from popcon::PopConSourceHandler< EcalTPGPhysicsConst >
typedef std::vector< Triplet > Container
 
typedef std::vector< std::pair< EcalTPGPhysicsConst *, cond::Time_t > > OldContainer
 
typedef PopConSourceHandler< EcalTPGPhysicsConstself
 
typedef cond::Summary Summary
 
typedef cond::Time_t Time_t
 
typedef EcalTPGPhysicsConst value_type
 
- Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGPhysicsConst >
int add (value_type *payload, Summary *summary, Time_t time)
 
cond::persistency::SessiondbSession () const
 
- Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGPhysicsConst >
OldContainer m_to_transfer
 
std::string m_userTextLog
 

Detailed Description

Definition at line 44 of file EcalTPGPhysicsConstHandler.h.

Constructor & Destructor Documentation

◆ EcalTPGPhysicsConstHandler()

popcon::EcalTPGPhysicsConstHandler::EcalTPGPhysicsConstHandler ( edm::ParameterSet const &  ps)

Definition at line 14 of file EcalTPGPhysicsConstHandler.cc.

15  : m_name(ps.getUntrackedParameter<std::string>("name", "EcalTPGPhysicsConstHandler")) {
16  edm::LogInfo("EcalTPGPhysicsConstHandler") << "EcalTPGPhysicsConst Source handler constructor.";
17  m_firstRun = static_cast<unsigned int>(atoi(ps.getParameter<std::string>("firstRun").c_str()));
18  m_lastRun = static_cast<unsigned int>(atoi(ps.getParameter<std::string>("lastRun").c_str()));
19  m_sid = ps.getParameter<std::string>("OnlineDBSID");
20  m_user = ps.getParameter<std::string>("OnlineDBUser");
21  m_pass = ps.getParameter<std::string>("OnlineDBPassword");
22  m_locationsource = ps.getParameter<std::string>("LocationSource");
23  m_location = ps.getParameter<std::string>("Location");
24  m_gentag = ps.getParameter<std::string>("GenTag");
25  m_runtype = ps.getParameter<std::string>("RunType");
26 
27  edm::LogInfo("EcalTPGPhysicsConstHandler") << m_sid << "/" << m_user << "/" << m_location << "/" << m_gentag;
28 }

References edm::ParameterSet::getParameter(), m_firstRun, m_gentag, m_lastRun, m_location, m_locationsource, m_pass, m_runtype, m_sid, m_user, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~EcalTPGPhysicsConstHandler()

popcon::EcalTPGPhysicsConstHandler::~EcalTPGPhysicsConstHandler ( )
override

Definition at line 30 of file EcalTPGPhysicsConstHandler.cc.

30 {}

Member Function Documentation

◆ getNewObjects()

void popcon::EcalTPGPhysicsConstHandler::getNewObjects ( )
overridevirtual

Implements popcon::PopConSourceHandler< EcalTPGPhysicsConst >.

Definition at line 32 of file EcalTPGPhysicsConstHandler.cc.

32  {
33  edm::LogInfo("EcalTPGPhysicsConstHandler") << "Started GetNewObjects!!!";
34 
35  //check whats already inside of database
36  if (tagInfo().size) {
37  //check whats already inside of database
38  std::cout << "got offlineInfo = " << std::endl;
39  std::cout << "tag name = " << tagInfo().name << std::endl;
40  std::cout << "size = " << tagInfo().size << std::endl;
41  } else {
42  std::cout << " First object for this tag " << std::endl;
43  }
44 
45  unsigned int max_since = 0;
46  max_since = static_cast<unsigned int>(tagInfo().lastInterval.since);
47  edm::LogInfo("EcalTPGPhysicsConstHandler") << "max_since : " << max_since;
48  Ref physC_db = lastPayload();
49 
50  edm::LogInfo("EcalTPGPhysicsConstHandler") << "retrieved last payload ";
51 
52  // here we retrieve all the runs after the last from online DB
53  edm::LogInfo("EcalTPGPhysicsConstHandler") << "Retrieving run list from ONLINE DB ... ";
54 
55  edm::LogInfo("EcalTPGPhysicsConstHandler") << "Making connection...";
57  edm::LogInfo("EcalTPGPhysicsConstHandler") << "Done.";
58 
59  if (!econn) {
60  std::cout << " connection parameters " << m_sid << "/" << m_user << std::endl;
61  // cerr << e.what() << std::endl;
62  throw cms::Exception("OMDS not available");
63  }
64 
66  my_locdef.setLocation(m_location);
67 
69  my_rundef.setRunType(m_runtype);
70 
71  RunTag my_runtag;
72  my_runtag.setLocationDef(my_locdef);
73  my_runtag.setRunTypeDef(my_rundef);
74  my_runtag.setGeneralTag(m_gentag);
75 
76  readFromFile("last_tpg_physC_settings.txt");
77 
78  unsigned int min_run = m_i_run_number + 1;
79 
80  if (m_firstRun < m_i_run_number) {
81  min_run = m_i_run_number + 1;
82  } else {
83  min_run = m_firstRun;
84  }
85 
86  std::cout << "m_i_run_number" << m_i_run_number << "m_firstRun " << m_firstRun << "max_since " << max_since
87  << std::endl;
88 
89  if (min_run < max_since) {
90  min_run = max_since + 1; // we have to add 1 to the last transferred one
91  }
92 
93  unsigned int max_run = m_lastRun;
94  edm::LogInfo("EcalTPGPhysicsConstHandler") << "min_run= " << min_run << "max_run= " << max_run;
95 
96  RunList my_list;
97  my_list = econn->fetchGlobalRunListByLocation(my_runtag, min_run, max_run, my_locdef);
98  // my_list=econn->fetchRunListByLocation(my_runtag,min_run,max_run,my_locdef);
99 
100  std::vector<RunIOV> run_vec = my_list.getRuns();
101  size_t num_runs = run_vec.size();
102 
103  std::cout << "number of runs is : " << num_runs << std::endl;
104 
105  unsigned int irun;
106  if (num_runs > 0) {
107  for (size_t kr = 0; kr < run_vec.size(); kr++) {
108  irun = static_cast<unsigned int>(run_vec[kr].getRunNumber());
109 
110  std::cout << " **************** " << std::endl;
111  std::cout << " **************** " << std::endl;
112  std::cout << " run= " << irun << std::endl;
113 
114  // retrieve the data :
115  std::map<EcalLogicID, RunTPGConfigDat> dataset;
116  econn->fetchDataSet(&dataset, &run_vec[kr]);
117 
118  std::string the_config_tag = "";
119  int the_config_version = 0;
120 
121  std::map<EcalLogicID, RunTPGConfigDat>::const_iterator it;
122 
123  int nr = 0;
124  for (it = dataset.begin(); it != dataset.end(); it++) {
125  ++nr;
126  //EcalLogicID ecalid = it->first;
127  RunTPGConfigDat dat = it->second;
128  the_config_tag = dat.getConfigTag();
129  the_config_version = dat.getVersion();
130  }
131 
132  // it is all the same for all SM... get the last one
133 
134  std::cout << " run= " << irun << " tag " << the_config_tag << " version=" << the_config_version << std::endl;
135 
136  // here we should check if it is the same as previous run.
137 
138  if ((the_config_tag != m_i_tag || the_config_version != m_i_version) && nr > 0) {
139  std::cout << "the tag is different from last transferred run ... retrieving last config set from DB"
140  << std::endl;
141 
142  FEConfigMainInfo fe_main_info;
143  fe_main_info.setConfigTag(the_config_tag);
144  fe_main_info.setVersion(the_config_version);
145 
146  try {
147  std::cout << " before fetch config set" << std::endl;
148  econn->fetchConfigSet(&fe_main_info);
149  std::cout << " after fetch config set" << std::endl;
150 
151  // now get TPGPhysicsConst
152  int linId = fe_main_info.getLinId();
153  int fgrId = fe_main_info.getFgrId();
154  int lutId = fe_main_info.getLUTId();
155 
156  if ((linId != m_i_physClin) || (fgrId != m_i_physCfgr) || (lutId != m_i_physClut)) {
157  std::cout << "one of the parameters: linId, LutId or fgrId is different from" << std::endl;
158  std::cout << "last transferred run ..." << std::endl;
159 
160  FEConfigLinInfo fe_physLin_info;
161  FEConfigFgrInfo fe_physFgr_info;
162  FEConfigLUTInfo fe_physLut_info;
163  fe_physLin_info.setId(linId);
164  fe_physFgr_info.setId(fgrId);
165  fe_physLut_info.setId(lutId);
166 
167  econn->fetchConfigSet(&fe_physLin_info);
168  econn->fetchConfigSet(&fe_physFgr_info);
169  econn->fetchConfigSet(&fe_physLut_info);
170  std::map<EcalLogicID, FEConfigLinParamDat> dataset_TpgPhysicsLin;
171  std::map<EcalLogicID, FEConfigLUTParamDat> dataset_TpgPhysicsLut;
172  std::map<EcalLogicID, FEConfigFgrParamDat> dataset_TpgPhysicsFgr;
173 
174  econn->fetchDataSet(&dataset_TpgPhysicsLin, &fe_physLin_info);
175  econn->fetchDataSet(&dataset_TpgPhysicsLut, &fe_physLut_info);
176  econn->fetchDataSet(&dataset_TpgPhysicsFgr, &fe_physFgr_info);
177 
179  typedef std::map<EcalLogicID, FEConfigLinParamDat>::const_iterator CIfeLin;
180  typedef std::map<EcalLogicID, FEConfigLUTParamDat>::const_iterator CIfeLUT;
181  typedef std::map<EcalLogicID, FEConfigFgrParamDat>::const_iterator CIfeFgr;
182 
183  EcalLogicID ecidLin_xt;
184  EcalLogicID ecidLut_xt;
185  EcalLogicID ecidFgr_xt;
186  FEConfigLinParamDat rd_physLin;
187  FEConfigLUTParamDat rd_physLut;
188  FEConfigFgrParamDat rd_physFgr;
189 
190  std::map<int, float> EtSatLinEB;
191  std::map<int, float> EtSatLinEE;
192  typedef std::map<int, float>::const_iterator itEtSat;
193 
194  std::map<int, EcalTPGPhysicsConst::Item> temporaryMapEB;
195  std::map<int, EcalTPGPhysicsConst::Item> temporaryMapEE;
196  typedef std::map<int, EcalTPGPhysicsConst::Item>::iterator iterEB;
197  typedef std::map<int, EcalTPGPhysicsConst::Item>::iterator iterEE;
198 
199  for (CIfeLin p0 = dataset_TpgPhysicsLin.begin(); p0 != dataset_TpgPhysicsLin.end(); p0++) {
200  ecidLin_xt = p0->first;
201  rd_physLin = p0->second;
202 
203  std::string ecid_nameLin = ecidLin_xt.getName();
204 
205  if (ecid_nameLin == "EB") {
207  EtSatLinEB.insert(std::make_pair(eb.rawId(), rd_physLin.getETSat()));
208  } else if (ecid_nameLin == "EE") {
210  EtSatLinEE.insert(std::make_pair(ee.rawId(), rd_physLin.getETSat()));
211  }
212  }
213 
214  int icells = 0;
215  for (CIfeLUT p1 = dataset_TpgPhysicsLut.begin(); p1 != dataset_TpgPhysicsLut.end(); p1++) {
216  ecidLut_xt = p1->first;
217  rd_physLut = p1->second;
218 
219  std::string ecid_nameLut = ecidLut_xt.getName();
220 
221  // Ecal barrel detector
222  if (ecid_nameLut == "EB") {
224 
225  for (itEtSat it1 = EtSatLinEB.begin(); it1 != EtSatLinEB.end(); it1++) {
226  if (it1->first == (int)eb.rawId()) {
227  float ETSatLin = it1->second;
228 
229  if (rd_physLut.getETSat() == ETSatLin) {
231  item.EtSat = rd_physLut.getETSat();
232  item.ttf_threshold_Low = rd_physLut.getTTThreshlow();
233  item.ttf_threshold_High = rd_physLut.getTTThreshhigh();
234  item.FG_lowThreshold = 0;
235  item.FG_highThreshold = 0;
236  item.FG_lowRatio = 0;
237  item.FG_highRatio = 0;
238  temporaryMapEB.insert(std::make_pair(eb.rawId(), item));
239  } else
240  throw cms::Exception("The values of the ETSatLin and ETSatLut are different.");
241  }
242  }
243 
244  ++icells;
245  } else if (ecid_nameLut == "EE") {
246  // Ecal endcap detector
247 
249 
250  for (itEtSat it2 = EtSatLinEE.begin(); it2 != EtSatLinEE.end(); it2++) {
251  if (it2->first == (int)ee.rawId()) {
252  float ETSatLin = it2->second;
253 
254  if (rd_physLut.getETSat() == ETSatLin) {
256  item.EtSat = rd_physLut.getETSat();
257  item.ttf_threshold_Low = rd_physLut.getTTThreshlow();
258  item.ttf_threshold_High = rd_physLut.getTTThreshhigh();
259  item.FG_lowThreshold = 0;
260  item.FG_highThreshold = 0;
261  item.FG_lowRatio = 0;
262  item.FG_highRatio = 0;
263  temporaryMapEE.insert(std::make_pair(ee.rawId(), item));
264  } else
265  throw cms::Exception("The values of the ETSatLin and ETSatLut are different.");
266  }
267  }
268 
269  ++icells;
270  }
271  }
272 
273  int icellsEB = 0;
274  int icellsEE = 0;
275  for (CIfeFgr p2 = dataset_TpgPhysicsFgr.begin(); p2 != dataset_TpgPhysicsFgr.end(); p2++) {
276  ecidFgr_xt = p2->first;
277  rd_physFgr = p2->second;
278 
279  std::string ecid_nameFgr = ecidFgr_xt.getName();
280 
281  // Ecal barrel detector
282  if (ecid_nameFgr == "EB") {
284 
285  for (iterEB itt = temporaryMapEB.begin(); itt != temporaryMapEB.end(); itt++) {
286  if (itt->first == (int)eb.rawId()) {
287  (itt->second).FG_lowThreshold = rd_physFgr.getFGlowthresh();
288  (itt->second).FG_highThreshold = rd_physFgr.getFGhighthresh();
289  (itt->second).FG_lowRatio = rd_physFgr.getFGlowratio();
290  (itt->second).FG_highRatio = rd_physFgr.getFGhighratio();
291 
292  physC->setValue(eb.rawId(), itt->second);
293  }
294  }
295 
296  ++icellsEB;
297 
298  } else if (ecid_nameFgr == "EE") {
299  // Ecal endcap detector
300 
302 
303  int countEE = 0;
304  for (iterEE itEE = temporaryMapEE.begin(); itEE != temporaryMapEE.end(); itEE++) {
305  if (itEE->first == (int)ee.rawId()) {
306  (itEE->second).FG_lowThreshold = rd_physFgr.getFGlowthresh();
307  (itEE->second).FG_highThreshold = rd_physFgr.getFGhighthresh();
308  // the last two is empty for the EE
309  (itEE->second).FG_lowRatio = rd_physFgr.getFGlowratio();
310  (itEE->second).FG_highRatio = rd_physFgr.getFGhighratio();
311 
312  physC->setValue(ee.rawId(), itEE->second);
313  }
314 
315  countEE++;
316  }
317 
318  ++icellsEE;
319  }
320  }
321 
322  Time_t snc = (Time_t)irun;
323 
324  m_to_transfer.push_back(std::make_pair((EcalTPGPhysicsConst*)physC, snc));
325 
326  m_i_run_number = irun;
327  m_i_tag = the_config_tag;
328  m_i_version = the_config_version;
329  m_i_physClin = linId;
330  m_i_physClut = lutId;
331  m_i_physCfgr = fgrId;
332 
333  writeFile("last_tpg_physC_settings.txt");
334 
335  } else {
336  m_i_run_number = irun;
337  m_i_tag = the_config_tag;
338  m_i_version = the_config_version;
339 
340  writeFile("last_tpg_physC_settings.txt");
341 
342  std::cout << " even if the tag/version is not the same, the physics constants id is the same -> no "
343  "transfer needed "
344  << std::endl;
345  }
346 
347  }
348 
349  catch (std::exception& e) {
350  std::cout << "ERROR: THIS CONFIG DOES NOT EXIST: tag=" << the_config_tag << " version=" << the_config_version
351  << std::endl;
352  std::cout << e.what() << std::endl;
353  m_i_run_number = irun;
354  }
355  std::cout << " **************** " << std::endl;
356 
357  } else if (nr == 0) {
358  m_i_run_number = irun;
359  std::cout << " no tag saved to RUN_TPGCONFIG_DAT by EcalSupervisor -> no transfer needed " << std::endl;
360  std::cout << " **************** " << std::endl;
361  } else {
362  m_i_run_number = irun;
363  m_i_tag = the_config_tag;
364  m_i_version = the_config_version;
365  std::cout << " the tag/version is the same -> no transfer needed " << std::endl;
366  std::cout << " **************** " << std::endl;
367  writeFile("last_tpg_physC_settings.txt");
368  }
369  }
370  }
371 
372  delete econn;
373  edm::LogInfo("EcalTPGPhysicsConstHandler") << "Ecal - > end of getNewObjects -----------";
374 }

References gather_cfg::cout, writedatasetfile::dataset, MillePedeFileConverter_cfg::e, DetId::Ecal, EcalBarrel, EcalEndcap, test_db_connect::econn, cppFunctionSkipper::exception, Exception, RunTPGConfigDat::getConfigTag(), FEConfigLinParamDat::getETSat(), FEConfigLUTParamDat::getETSat(), FEConfigFgrParamDat::getFGhighratio(), FEConfigFgrParamDat::getFGhighthresh(), FEConfigFgrParamDat::getFGlowratio(), FEConfigFgrParamDat::getFGlowthresh(), FEConfigMainInfo::getFgrId(), FEConfigMainInfo::getLinId(), FEConfigMainInfo::getLUTId(), EcalLogicID::getName(), DeadROCCounter::getRunNumber(), RunList::getRuns(), FEConfigLUTParamDat::getTTThreshhigh(), FEConfigLUTParamDat::getTTThreshlow(), RunTPGConfigDat::getVersion(), B2GTnPMonitor_cfi::item, test_db_connect::my_locdef, test_db_connect::my_rundef, EgHLTOffHistBins_cfi::nr, p1, p2, DetId::rawId(), l1tpf_impl::readFromFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigLinInfo::setId(), FEConfigLUTInfo::setId(), FEConfigFgrInfo::setId(), RunTag::setLocationDef(), RunTag::setRunTypeDef(), EcalTPGPhysicsConst::setValue(), FEConfigMainInfo::setVersion(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and dumpRecoGeometry_cfg::tagInfo.

◆ id()

std::string popcon::EcalTPGPhysicsConstHandler::id ( ) const
inlineoverridevirtual

Implements popcon::PopConSourceHandler< EcalTPGPhysicsConst >.

Definition at line 51 of file EcalTPGPhysicsConstHandler.h.

51 { return m_name; }

References m_name.

◆ readFromFile()

void popcon::EcalTPGPhysicsConstHandler::readFromFile ( const char *  inputFile)

Definition at line 376 of file EcalTPGPhysicsConstHandler.cc.

376  {
377  //-------------------------------------------------------------
378 
379  m_i_tag = "";
380  m_i_version = 0;
381  m_i_run_number = 0;
382  m_i_physClin = 0;
383  m_i_physClut = 0;
384  m_i_physCfgr = 0;
385 
386  FILE* inpFile; // input file
387  inpFile = fopen(inputFile, "r");
388  if (!inpFile) {
389  edm::LogError("EcalTPGPhysicsConstHandler") << "*** Can not open file: " << inputFile;
390  return;
391  }
392 
393  char line[256];
394 
395  std::ostringstream str;
396 
397  fgets(line, 255, inpFile);
399  str << "gen tag " << m_i_tag << std::endl; // should I use this?
400 
401  fgets(line, 255, inpFile);
402  m_i_version = atoi(line);
403  str << "version= " << m_i_version << std::endl;
404 
405  fgets(line, 255, inpFile);
406  m_i_run_number = atoi(line);
407  str << "run_number= " << m_i_run_number << std::endl;
408 
409  fgets(line, 255, inpFile);
410  m_i_physClin = atoi(line);
411  str << "physClin_config= " << m_i_physClin << std::endl;
412 
413  fgets(line, 255, inpFile);
414  m_i_physClut = atoi(line);
415  str << "physClut_config= " << m_i_physClut << std::endl;
416 
417  fgets(line, 255, inpFile);
418  m_i_physCfgr = atoi(line);
419  str << "physCfgr_config= " << m_i_physCfgr << std::endl;
420 
421  fclose(inpFile); // close inp. file
422 }

References dtResolutionTest_cfi::inputFile, mps_splice::line, and str.

◆ to_string()

std::string popcon::EcalTPGPhysicsConstHandler::to_string ( char  value[])
inlineprivate

Definition at line 59 of file EcalTPGPhysicsConstHandler.h.

59  {
60  std::ostringstream streamOut;
61  streamOut << value;
62  return streamOut.str();
63  }

References relativeConstraints::value.

◆ writeFile()

void popcon::EcalTPGPhysicsConstHandler::writeFile ( const char *  inputFile)

Definition at line 424 of file EcalTPGPhysicsConstHandler.cc.

424  {
425  //-------------------------------------------------------------
426 
427  std::ofstream myfile;
428  myfile.open(inputFile);
429  myfile << m_i_tag << std::endl;
430  myfile << m_i_version << std::endl;
431  myfile << m_i_run_number << std::endl;
432  myfile << m_i_physClin << std::endl;
433  myfile << m_i_physClut << std::endl;
434  myfile << m_i_physCfgr << std::endl;
435 
436  myfile.close();
437 }

References dtResolutionTest_cfi::inputFile.

Member Data Documentation

◆ econn

EcalCondDBInterface* popcon::EcalTPGPhysicsConstHandler::econn

Definition at line 56 of file EcalTPGPhysicsConstHandler.h.

◆ m_firstRun

unsigned int popcon::EcalTPGPhysicsConstHandler::m_firstRun
private

Definition at line 67 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_gentag

std::string popcon::EcalTPGPhysicsConstHandler::m_gentag
private

Definition at line 71 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_i_physCfgr

int popcon::EcalTPGPhysicsConstHandler::m_i_physCfgr
private

Definition at line 84 of file EcalTPGPhysicsConstHandler.h.

◆ m_i_physClin

int popcon::EcalTPGPhysicsConstHandler::m_i_physClin
private

Definition at line 82 of file EcalTPGPhysicsConstHandler.h.

◆ m_i_physClut

int popcon::EcalTPGPhysicsConstHandler::m_i_physClut
private

Definition at line 83 of file EcalTPGPhysicsConstHandler.h.

◆ m_i_run_number

unsigned int popcon::EcalTPGPhysicsConstHandler::m_i_run_number
private

Definition at line 81 of file EcalTPGPhysicsConstHandler.h.

◆ m_i_tag

std::string popcon::EcalTPGPhysicsConstHandler::m_i_tag
private

Definition at line 79 of file EcalTPGPhysicsConstHandler.h.

◆ m_i_version

int popcon::EcalTPGPhysicsConstHandler::m_i_version
private

Definition at line 80 of file EcalTPGPhysicsConstHandler.h.

◆ m_lastRun

unsigned int popcon::EcalTPGPhysicsConstHandler::m_lastRun
private

Definition at line 68 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_location

std::string popcon::EcalTPGPhysicsConstHandler::m_location
private

Definition at line 70 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_locationsource

std::string popcon::EcalTPGPhysicsConstHandler::m_locationsource
private

Definition at line 75 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_name

std::string popcon::EcalTPGPhysicsConstHandler::m_name
private

Definition at line 76 of file EcalTPGPhysicsConstHandler.h.

Referenced by id().

◆ m_pass

std::string popcon::EcalTPGPhysicsConstHandler::m_pass
private

Definition at line 74 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_physicsConst

const EcalTPGPhysicsConst* popcon::EcalTPGPhysicsConstHandler::m_physicsConst
private

Definition at line 65 of file EcalTPGPhysicsConstHandler.h.

◆ m_runnr

unsigned int popcon::EcalTPGPhysicsConstHandler::m_runnr
private

Definition at line 77 of file EcalTPGPhysicsConstHandler.h.

◆ m_runtype

std::string popcon::EcalTPGPhysicsConstHandler::m_runtype
private

Definition at line 78 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_sid

std::string popcon::EcalTPGPhysicsConstHandler::m_sid
private

Definition at line 72 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

◆ m_user

std::string popcon::EcalTPGPhysicsConstHandler::m_user
private

Definition at line 73 of file EcalTPGPhysicsConstHandler.h.

Referenced by EcalTPGPhysicsConstHandler().

EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
FEConfigLUTParamDat
Definition: FEConfigLUTParamDat.h:11
popcon::PopConSourceHandler< EcalTPGPhysicsConst >::m_to_transfer
OldContainer m_to_transfer
Definition: PopConSourceHandler.h:162
FEConfigFgrParamDat::getFGhighratio
float getFGhighratio() const
Definition: FEConfigFgrParamDat.h:28
RunList
Definition: RunList.h:16
popcon::EcalTPGPhysicsConstHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGPhysicsConstHandler.cc:424
FEConfigMainInfo::getLinId
int getLinId() const
Definition: FEConfigMainInfo.h:37
FEConfigFgrParamDat::getFGlowthresh
float getFGlowthresh() const
Definition: FEConfigFgrParamDat.h:25
RunTag
Definition: RunTag.h:13
EcalCondDBInterface::fetchConfigSet
void fetchConfigSet(ICONF *iconf) noexcept(false)
Definition: EcalCondDBInterface.h:387
gather_cfg.cout
cout
Definition: gather_cfg.py:144
FEConfigLinParamDat::getETSat
float getETSat() const
Definition: FEConfigLinParamDat.h:22
EcalLogicID::getName
std::string getName() const
Definition: EcalLogicID.cc:26
FEConfigMainInfo
Definition: FEConfigMainInfo.h:14
popcon::PopConSourceHandler< EcalTPGPhysicsConst >::Time_t
cond::Time_t Time_t
Definition: PopConSourceHandler.h:34
LocationDef
Definition: LocationDef.h:12
DeadROCCounter.getRunNumber
def getRunNumber(filename)
Definition: DeadROCCounter.py:7
FEConfigLUTParamDat::getTTThreshlow
float getTTThreshlow() const
Definition: FEConfigLUTParamDat.h:25
popcon::EcalTPGPhysicsConstHandler::m_i_physClin
int m_i_physClin
Definition: EcalTPGPhysicsConstHandler.h:82
FEConfigLUTParamDat::getETSat
float getETSat() const
Definition: FEConfigLUTParamDat.h:24
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
FEConfigLinInfo
Definition: FEConfigLinInfo.h:11
FEConfigMainInfo::setVersion
void setVersion(int id)
Definition: FEConfigMainInfo.h:78
popcon::EcalTPGPhysicsConstHandler::m_gentag
std::string m_gentag
Definition: EcalTPGPhysicsConstHandler.h:71
FEConfigLinParamDat
Definition: FEConfigLinParamDat.h:11
EcalBarrel
Definition: EcalSubdetector.h:10
FEConfigMainInfo::getFgrId
int getFgrId() const
Definition: FEConfigMainInfo.h:43
cond::TagInfo_t::name
std::string name
Definition: Types.h:72
popcon::EcalTPGPhysicsConstHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGPhysicsConstHandler.h:67
popcon::EcalTPGPhysicsConstHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGPhysicsConstHandler.h:79
DetId
Definition: DetId.h:17
RunTag::setGeneralTag
void setGeneralTag(std::string tag)
Definition: RunTag.cc:24
test_db_connect.my_rundef
my_rundef
Definition: test_db_connect.py:13
FEConfigFgrInfo::setId
void setId(int id)
Definition: FEConfigFgrInfo.h:24
popcon::EcalTPGPhysicsConstHandler::m_i_version
int m_i_version
Definition: EcalTPGPhysicsConstHandler.h:80
popcon::EcalTPGPhysicsConstHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGPhysicsConstHandler.h:75
popcon::EcalTPGPhysicsConstHandler::m_sid
std::string m_sid
Definition: EcalTPGPhysicsConstHandler.h:72
str
#define str(s)
Definition: TestProcessor.cc:53
p2
double p2[4]
Definition: TauolaWrapper.h:90
FEConfigFgrParamDat::getFGhighthresh
float getFGhighthresh() const
Definition: FEConfigFgrParamDat.h:26
EcalLogicID
Definition: EcalLogicID.h:7
popcon::EcalTPGPhysicsConstHandler::m_user
std::string m_user
Definition: EcalTPGPhysicsConstHandler.h:73
RunTPGConfigDat
Definition: RunTPGConfigDat.h:11
EcalTPGPhysicsConst::setValue
void setValue(const uint32_t &id, const Item &value)
Definition: EcalTPGPhysicsConst.cc:7
FEConfigLUTParamDat::getTTThreshhigh
float getTTThreshhigh() const
Definition: FEConfigLUTParamDat.h:26
FEConfigLinInfo::setId
void setId(int id)
Definition: FEConfigLinInfo.h:24
popcon::EcalTPGPhysicsConstHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGPhysicsConstHandler.h:68
EcalEndcap
Definition: EcalSubdetector.h:10
RunTypeDef
Definition: RunTypeDef.h:12
test_db_connect.my_locdef
my_locdef
Definition: test_db_connect.py:11
cppFunctionSkipper.exception
exception
Definition: cppFunctionSkipper.py:10
FEConfigFgrInfo
Definition: FEConfigFgrInfo.h:11
EgHLTOffHistBins_cfi.nr
nr
Definition: EgHLTOffHistBins_cfi.py:4
popcon::PopConSourceHandler< EcalTPGPhysicsConst >::tagInfo
cond::TagInfo_t const & tagInfo() const
Definition: PopConSourceHandler.h:78
EcalTPGPhysicsConst::Item
Definition: EcalTPGPhysicsConst.h:14
popcon::EcalTPGPhysicsConstHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGPhysicsConstHandler.h:59
EcalCondDBInterface::fetchGlobalRunListByLocation
RunList fetchGlobalRunListByLocation(const RunTag &tag, int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: EcalCondDBInterface.cc:804
popcon::EcalTPGPhysicsConstHandler::m_name
std::string m_name
Definition: EcalTPGPhysicsConstHandler.h:76
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
FEConfigLUTInfo
Definition: FEConfigLUTInfo.h:11
EcalCondDBInterface::fetchDataSet
void fetchDataSet(std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) noexcept(false)
Definition: EcalCondDBInterface.h:495
p1
double p1[4]
Definition: TauolaWrapper.h:89
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
DetId::Ecal
Definition: DetId.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigFgrParamDat::getFGlowratio
float getFGlowratio() const
Definition: FEConfigFgrParamDat.h:27
popcon::EcalTPGPhysicsConstHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGPhysicsConstHandler.cc:376
FEConfigFgrParamDat
Definition: FEConfigFgrParamDat.h:11
EcalTPGPhysicsConst
Definition: EcalTPGPhysicsConst.h:9
writedatasetfile.dataset
dataset
Definition: writedatasetfile.py:19
RunTPGConfigDat::getVersion
int getVersion() const
Definition: RunTPGConfigDat.h:22
RunTag::setLocationDef
void setLocationDef(const LocationDef &locDef)
Definition: RunTag.cc:33
reco::JetExtendedAssociation::Ref
edm::Ref< Container > Ref
Definition: JetExtendedAssociation.h:32
relativeConstraints.value
value
Definition: relativeConstraints.py:53
popcon::PopConSourceHandler< EcalTPGPhysicsConst >::lastPayload
Ref lastPayload() const
Definition: PopConSourceHandler.h:81
Exception
Definition: hltDiff.cc:245
RunList::getRuns
std::vector< RunIOV > getRuns()
Definition: RunList.cc:25
RunTPGConfigDat::getConfigTag
std::string getConfigTag() const
Definition: RunTPGConfigDat.h:20
popcon::EcalTPGPhysicsConstHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGPhysicsConstHandler.h:81
popcon::EcalTPGPhysicsConstHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGPhysicsConstHandler.h:56
dataset
Definition: dataset.py:1
RunTag::setRunTypeDef
void setRunTypeDef(const RunTypeDef &runTypeDef)
Definition: RunTag.cc:42
popcon::EcalTPGPhysicsConstHandler::m_i_physClut
int m_i_physClut
Definition: EcalTPGPhysicsConstHandler.h:83
popcon::EcalTPGPhysicsConstHandler::m_runtype
std::string m_runtype
Definition: EcalTPGPhysicsConstHandler.h:78
IODConfig::setConfigTag
void setConfigTag(std::string x)
Definition: IODConfig.h:29
FEConfigLUTInfo::setId
void setId(int id)
Definition: FEConfigLUTInfo.h:24
mps_splice.line
line
Definition: mps_splice.py:76
popcon::EcalTPGPhysicsConstHandler::m_i_physCfgr
int m_i_physCfgr
Definition: EcalTPGPhysicsConstHandler.h:84
popcon::EcalTPGPhysicsConstHandler::m_location
std::string m_location
Definition: EcalTPGPhysicsConstHandler.h:70
popcon::EcalTPGPhysicsConstHandler::m_pass
std::string m_pass
Definition: EcalTPGPhysicsConstHandler.h:74
cond::TagInfo_t::size
size_t size
Definition: Types.h:74
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
FEConfigMainInfo::getLUTId
int getLUTId() const
Definition: FEConfigMainInfo.h:40