CMS 3D CMS Logo

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

#include <EcalTPGFineGrainStripEEHandler.h>

Inheritance diagram for popcon::EcalTPGFineGrainStripEEHandler:
popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >

Public Member Functions

 EcalTPGFineGrainStripEEHandler (edm::ParameterSet const &)
 
void getNewObjects () override
 
std::string id () const override
 
std::map< std::string, int > makeStripIdEB ()
 
std::map< std::string, int > makeStripIdEE ()
 
void readFromFile (const char *inputFile)
 
void writeFile (const char *inputFile)
 
 ~EcalTPGFineGrainStripEEHandler () override
 
- Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >
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

std::map< std::string, int > correspEBId
 
std::map< std::string, int > correspEEId
 
unsigned int m_firstRun
 
std::string m_gentag
 
int m_i_fgrStripEE
 
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
 
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< EcalTPGFineGrainStripEE >
typedef std::vector< Triplet > Container
 
typedef std::vector< std::pair< EcalTPGFineGrainStripEE *, cond::Time_t > > OldContainer
 
typedef PopConSourceHandler< EcalTPGFineGrainStripEEself
 
typedef cond::Summary Summary
 
typedef cond::Time_t Time_t
 
typedef EcalTPGFineGrainStripEE value_type
 
- Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >
int add (value_type *payload, Summary *summary, Time_t time)
 
cond::persistency::SessiondbSession () const
 
- Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >
OldContainer m_to_transfer
 
std::string m_userTextLog
 

Detailed Description

Definition at line 46 of file EcalTPGFineGrainStripEEHandler.h.

Constructor & Destructor Documentation

◆ EcalTPGFineGrainStripEEHandler()

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

Definition at line 27 of file EcalTPGFineGrainStripEEHandler.cc.

28  : m_name(ps.getUntrackedParameter<std::string>("name", "EcalTPGFineGrainStripEEHandler")) {
29  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "EcalTPGFineGrainStripEEHandler Source handler constructor";
30  m_firstRun = static_cast<unsigned int>(atoi(ps.getParameter<std::string>("firstRun").c_str()));
31  m_lastRun = static_cast<unsigned int>(atoi(ps.getParameter<std::string>("lastRun").c_str()));
32  m_sid = ps.getParameter<std::string>("OnlineDBSID");
33  m_user = ps.getParameter<std::string>("OnlineDBUser");
34  m_pass = ps.getParameter<std::string>("OnlineDBPassword");
35  m_locationsource = ps.getParameter<std::string>("LocationSource");
36  m_location = ps.getParameter<std::string>("Location");
37  m_gentag = ps.getParameter<std::string>("GenTag");
38  m_runtype = ps.getParameter<std::string>("RunType");
39 
40  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << m_sid << "/" << m_user << "/" << m_location << "/" << m_gentag;
41 }

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.

◆ ~EcalTPGFineGrainStripEEHandler()

popcon::EcalTPGFineGrainStripEEHandler::~EcalTPGFineGrainStripEEHandler ( )
override

Definition at line 43 of file EcalTPGFineGrainStripEEHandler.cc.

43 {}

Member Function Documentation

◆ getNewObjects()

void popcon::EcalTPGFineGrainStripEEHandler::getNewObjects ( )
overridevirtual

Implements popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >.

Definition at line 45 of file EcalTPGFineGrainStripEEHandler.cc.

45  {
46  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "Started GetNewObjects!!!";
47 
48  //check whats already inside of database
49  if (tagInfo().size) {
50  //check whats already inside of database
51  std::cout << "got offlineInfo = " << std::endl;
52  std::cout << "tag name = " << tagInfo().name << std::endl;
53  std::cout << "size = " << tagInfo().size << std::endl;
54  } else {
55  std::cout << " First object for this tag " << std::endl;
56  }
57 
58  unsigned int max_since = 0;
59  max_since = static_cast<unsigned int>(tagInfo().lastInterval.since);
60  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "max_since : " << max_since;
61  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "retrieved last payload ";
62 
63  // here we retrieve all the runs after the last from online DB
64 
65  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "Retrieving run list from ONLINE DB ... ";
66 
67  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "Making connection...";
69  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "Done.";
70 
71  if (!econn) {
72  std::cout << " connection parameters " << m_sid << "/" << m_user << std::endl;
73  throw cms::Exception("OMDS not available");
74  }
75 
77  my_locdef.setLocation(m_location);
78 
80  my_rundef.setRunType(m_runtype);
81 
82  RunTag my_runtag;
83  my_runtag.setLocationDef(my_locdef);
84  my_runtag.setRunTypeDef(my_rundef);
85  my_runtag.setGeneralTag(m_gentag);
86 
87  readFromFile("last_tpg_fgrStripEE_settings.txt");
88 
89  unsigned int min_run = m_i_run_number + 1;
90 
91  if (m_firstRun < m_i_run_number) {
92  min_run = m_i_run_number + 1;
93  } else {
94  min_run = m_firstRun;
95  }
96  if (min_run < max_since) {
97  min_run = max_since + 1; // we have to add 1 to the last transferred one
98  }
99 
100  std::cout << "m_i_run_number" << m_i_run_number << "m_firstRun " << m_firstRun << "max_since " << max_since
101  << std::endl;
102 
103  unsigned int max_run = m_lastRun;
104  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "min_run= " << min_run << "max_run= " << max_run;
105 
106  RunList my_list;
107  my_list = econn->fetchGlobalRunListByLocation(my_runtag, min_run, max_run, my_locdef);
108  // my_list=econn->fetchRunListByLocation(my_runtag,min_run,max_run, my_locdef);
109 
110  std::vector<RunIOV> run_vec = my_list.getRuns();
111  size_t num_runs = run_vec.size();
112 
113  std::cout << "number of runs is : " << num_runs << std::endl;
114 
115  unsigned int irun = 0;
116  if (num_runs > 0) {
117  // going to query the ecal logic id
118  std::vector<EcalLogicID> my_StripEcalLogicId_EE;
119  my_StripEcalLogicId_EE =
120  econn->getEcalLogicIDSetOrdered("ECAL_readout_strip", 1, 1000, 1, 100, 0, 5, "EE_offline_stripid", 123);
121  std::cout << " GOT the logic ID for the EE trigger strips " << std::endl;
122 
123  for (size_t kr = 0; kr < run_vec.size(); kr++) {
124  irun = static_cast<unsigned int>(run_vec[kr].getRunNumber());
125 
126  std::cout << " **************** " << std::endl;
127  std::cout << " **************** " << std::endl;
128  std::cout << " run= " << irun << std::endl;
129 
130  // retrieve the data :
131  std::map<EcalLogicID, RunTPGConfigDat> dataset;
132  econn->fetchDataSet(&dataset, &run_vec[kr]);
133 
134  std::string the_config_tag = "";
135  int the_config_version = 0;
136 
137  std::map<EcalLogicID, RunTPGConfigDat>::const_iterator it;
138 
139  int nr = 0;
140  for (it = dataset.begin(); it != dataset.end(); it++) {
141  ++nr;
142  //EcalLogicID ecalid = it->first;
143  RunTPGConfigDat dat = it->second;
144  the_config_tag = dat.getConfigTag();
145  the_config_version = dat.getVersion();
146  }
147 
148  // it is all the same for all SM... get the last one
149 
150  std::cout << " run= " << irun << " tag " << the_config_tag << " version=" << the_config_version << std::endl;
151 
152  // here we should check if it is the same as previous run.
153 
154  if ((the_config_tag != m_i_tag || the_config_version != m_i_version) && nr > 0) {
155  std::cout << "the tag is different from last transferred run ... retrieving last config set from DB"
156  << std::endl;
157 
158  FEConfigMainInfo fe_main_info;
159  fe_main_info.setConfigTag(the_config_tag);
160  fe_main_info.setVersion(the_config_version);
161 
162  try {
163  std::cout << " before fetch config set" << std::endl;
164  econn->fetchConfigSet(&fe_main_info);
165  std::cout << " after fetch config set" << std::endl;
166 
167  // now get TPGFineGrainStripEE
168  int fgrId = fe_main_info.getFgrId();
169 
170  if (fgrId != m_i_fgrStripEE) {
171  FEConfigFgrInfo fe_fgr_info;
172  fe_fgr_info.setId(fgrId);
173  econn->fetchConfigSet(&fe_fgr_info);
174  std::map<EcalLogicID, FEConfigFgrEEStripDat> dataset_TpgFineGrainStripEE;
175  econn->fetchDataSet(&dataset_TpgFineGrainStripEE, &fe_fgr_info);
176 
178  typedef std::map<EcalLogicID, FEConfigFgrEEStripDat>::const_iterator CIfefgr;
179  EcalLogicID ecid_xt;
180  FEConfigFgrEEStripDat rd_fgr;
181 
182  int icells = 0;
183 
184  for (CIfefgr p = dataset_TpgFineGrainStripEE.begin(); p != dataset_TpgFineGrainStripEE.end(); p++) {
185  ecid_xt = p->first;
186  rd_fgr = p->second;
187 
188  std::string ecid_name = ecid_xt.getName();
189 
190  // EB data
191  if (ecid_name == "EB_VFE") {
192  int sm = ecid_xt.getID1();
193  int tt = ecid_xt.getID2();
194  int strip = ecid_xt.getID3();
195  int tcc = sm + 54;
196  if (sm > 18)
197  tcc = sm + 18;
198 
199  // simple formula to calculate the Srip EB identifier
200 
201  unsigned int stripEBId = 303176 + (tt - 1) * 64 + (strip - 1) * 8 + (tcc - 37) * 8192;
202 
204  item.threshold = (unsigned int)rd_fgr.getThreshold();
205  item.lut = (unsigned int)rd_fgr.getLUTFgr();
206 
207  fgrStripEE->setValue(stripEBId, item);
208 
209  ++icells;
210  } else if (ecid_name == "ECAL_readout_strip") {
211  // EE data
212  // fed
213  int id1 = ecid_xt.getID1();
214  // ccu
215  int id2 = ecid_xt.getID2();
216  // Strip
217  int id3 = ecid_xt.getID3();
218 
219  bool set_the_strip = false;
220  int stripEEId;
221  for (size_t istrip = 0; istrip < my_StripEcalLogicId_EE.size(); istrip++) {
222  if (!set_the_strip) {
223  if (my_StripEcalLogicId_EE[istrip].getID1() == id1 &&
224  my_StripEcalLogicId_EE[istrip].getID2() == id2 &&
225  my_StripEcalLogicId_EE[istrip].getID3() == id3) {
226  stripEEId = my_StripEcalLogicId_EE[istrip].getLogicID();
227  set_the_strip = true;
228  break;
229  }
230  }
231  }
232 
234  item.threshold = (unsigned int)rd_fgr.getThreshold();
235  item.lut = (unsigned int)rd_fgr.getLUTFgr();
236 
237  if (set_the_strip) {
238  fgrStripEE->setValue(stripEEId, item);
239  } else {
240  std::cout << " these may be the additional towers TCC/TT " << id1 << "/" << id2 << std::endl;
241  }
242 
243  ++icells;
244  }
245  }
246 
247  Time_t snc = (Time_t)irun;
248  m_to_transfer.push_back(std::make_pair((EcalTPGFineGrainStripEE*)fgrStripEE, snc));
249 
250  m_i_run_number = irun;
251  m_i_tag = the_config_tag;
252  m_i_version = the_config_version;
253  m_i_fgrStripEE = fgrId;
254 
255  writeFile("last_tpg_fgrStripEE_settings.txt");
256 
257  } else {
258  m_i_run_number = irun;
259  m_i_tag = the_config_tag;
260  m_i_version = the_config_version;
261 
262  writeFile("last_tpg_fgrStripEE_settings.txt");
263 
264  std::cout << " even if the tag/version is not the same, the fgrStripEEestals id is the same -> no transfer "
265  "needed "
266  << std::endl;
267  }
268 
269  }
270 
271  catch (std::exception& e) {
272  std::cout << "ERROR: THIS CONFIG DOES NOT EXIST: tag=" << the_config_tag << " version=" << the_config_version
273  << std::endl;
274  std::cout << e.what() << std::endl;
275  m_i_run_number = irun;
276  }
277  std::cout << " **************** " << std::endl;
278 
279  } else if (nr == 0) {
280  m_i_run_number = irun;
281  std::cout << " no tag saved to RUN_TPGCONFIG_DAT by EcalSupervisor -> no transfer needed " << std::endl;
282  std::cout << " **************** " << std::endl;
283  } else {
284  m_i_run_number = irun;
285  m_i_tag = the_config_tag;
286  m_i_version = the_config_version;
287  std::cout << " the tag/version is the same -> no transfer needed " << std::endl;
288  std::cout << " **************** " << std::endl;
289  writeFile("last_tpg_fgrStripEE_settings.txt");
290  }
291  }
292  }
293 
294  delete econn;
295 
296  edm::LogInfo("EcalTPGFineGrainStripEEHandler") << "Ecal - > end of getNewObjects -----------";
297 }

References gather_cfg::cout, writedatasetfile::dataset, MillePedeFileConverter_cfg::e, test_db_connect::econn, cppFunctionSkipper::exception, Exception, RunTPGConfigDat::getConfigTag(), FEConfigMainInfo::getFgrId(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getID3(), FEConfigFgrEEStripDat::getLUTFgr(), EcalLogicID::getName(), DeadROCCounter::getRunNumber(), RunList::getRuns(), FEConfigFgrEEStripDat::getThreshold(), RunTPGConfigDat::getVersion(), globals_cff::id1, globals_cff::id2, createfilelist::int, B2GTnPMonitor_cfi::item, test_db_connect::my_locdef, test_db_connect::my_rundef, EgHLTOffHistBins_cfi::nr, AlCaHLTBitMon_ParallelJobs::p, l1tpf_impl::readFromFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigFgrInfo::setId(), RunTag::setLocationDef(), RunTag::setRunTypeDef(), EcalTPGFineGrainStripEE::setValue(), FEConfigMainInfo::setVersion(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, digitizers_cfi::strip, dumpRecoGeometry_cfg::tagInfo, and groupFilesInBlocks::tt.

◆ id()

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

Implements popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >.

Definition at line 56 of file EcalTPGFineGrainStripEEHandler.h.

56 { return m_name; }

References m_name.

◆ makeStripIdEB()

std::map<std::string, int> popcon::EcalTPGFineGrainStripEEHandler::makeStripIdEB ( )

◆ makeStripIdEE()

std::map<std::string, int> popcon::EcalTPGFineGrainStripEEHandler::makeStripIdEE ( )

◆ readFromFile()

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

Definition at line 299 of file EcalTPGFineGrainStripEEHandler.cc.

299  {
300  //-------------------------------------------------------------
301 
302  m_i_tag = "";
303  m_i_version = 0;
304  m_i_run_number = 0;
305  m_i_fgrStripEE = 0;
306 
307  FILE* inpFile; // input file
308  inpFile = fopen(inputFile, "r");
309  if (!inpFile) {
310  edm::LogError("EcalTPGFineGrainStripEEHandler") << "*** Can not open file: " << inputFile;
311  return;
312  }
313 
314  char line[256];
315 
316  std::ostringstream str;
317 
318  fgets(line, 255, inpFile);
320  str << "gen tag " << m_i_tag << std::endl; // should I use this?
321 
322  fgets(line, 255, inpFile);
323  m_i_version = atoi(line);
324  str << "version= " << m_i_version << std::endl;
325 
326  fgets(line, 255, inpFile);
327  m_i_run_number = atoi(line);
328  str << "run_number= " << m_i_run_number << std::endl;
329 
330  fgets(line, 255, inpFile);
331  m_i_fgrStripEE = atoi(line);
332  str << "fgrStripEE_config= " << m_i_fgrStripEE << std::endl;
333 
334  fclose(inpFile); // close inp. file
335 }

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

◆ to_string()

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

Definition at line 64 of file EcalTPGFineGrainStripEEHandler.h.

64  {
65  std::ostringstream streamOut;
66  streamOut << value;
67  return streamOut.str();
68  }

References relativeConstraints::value.

◆ writeFile()

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

Definition at line 337 of file EcalTPGFineGrainStripEEHandler.cc.

337  {
338  //-------------------------------------------------------------
339 
340  std::ofstream myfile;
341  myfile.open(inputFile);
342  myfile << m_i_tag << std::endl;
343  myfile << m_i_version << std::endl;
344  myfile << m_i_run_number << std::endl;
345  myfile << m_i_fgrStripEE << std::endl;
346 
347  myfile.close();
348 }

References dtResolutionTest_cfi::inputFile.

Member Data Documentation

◆ correspEBId

std::map<std::string, int> popcon::EcalTPGFineGrainStripEEHandler::correspEBId
private

Definition at line 72 of file EcalTPGFineGrainStripEEHandler.h.

◆ correspEEId

std::map<std::string, int> popcon::EcalTPGFineGrainStripEEHandler::correspEEId
private

Definition at line 73 of file EcalTPGFineGrainStripEEHandler.h.

◆ econn

EcalCondDBInterface* popcon::EcalTPGFineGrainStripEEHandler::econn

Definition at line 61 of file EcalTPGFineGrainStripEEHandler.h.

◆ m_firstRun

unsigned int popcon::EcalTPGFineGrainStripEEHandler::m_firstRun
private

Definition at line 70 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_gentag

std::string popcon::EcalTPGFineGrainStripEEHandler::m_gentag
private

Definition at line 76 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_i_fgrStripEE

int popcon::EcalTPGFineGrainStripEEHandler::m_i_fgrStripEE
private

Definition at line 87 of file EcalTPGFineGrainStripEEHandler.h.

◆ m_i_run_number

unsigned int popcon::EcalTPGFineGrainStripEEHandler::m_i_run_number
private

Definition at line 86 of file EcalTPGFineGrainStripEEHandler.h.

◆ m_i_tag

std::string popcon::EcalTPGFineGrainStripEEHandler::m_i_tag
private

Definition at line 84 of file EcalTPGFineGrainStripEEHandler.h.

◆ m_i_version

int popcon::EcalTPGFineGrainStripEEHandler::m_i_version
private

Definition at line 85 of file EcalTPGFineGrainStripEEHandler.h.

◆ m_lastRun

unsigned int popcon::EcalTPGFineGrainStripEEHandler::m_lastRun
private

Definition at line 71 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_location

std::string popcon::EcalTPGFineGrainStripEEHandler::m_location
private

Definition at line 75 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_locationsource

std::string popcon::EcalTPGFineGrainStripEEHandler::m_locationsource
private

Definition at line 80 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_name

std::string popcon::EcalTPGFineGrainStripEEHandler::m_name
private

Definition at line 81 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by id().

◆ m_pass

std::string popcon::EcalTPGFineGrainStripEEHandler::m_pass
private

Definition at line 79 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_runnr

unsigned int popcon::EcalTPGFineGrainStripEEHandler::m_runnr
private

Definition at line 82 of file EcalTPGFineGrainStripEEHandler.h.

◆ m_runtype

std::string popcon::EcalTPGFineGrainStripEEHandler::m_runtype
private

Definition at line 83 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_sid

std::string popcon::EcalTPGFineGrainStripEEHandler::m_sid
private

Definition at line 77 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

◆ m_user

std::string popcon::EcalTPGFineGrainStripEEHandler::m_user
private

Definition at line 78 of file EcalTPGFineGrainStripEEHandler.h.

Referenced by EcalTPGFineGrainStripEEHandler().

popcon::EcalTPGFineGrainStripEEHandler::m_user
std::string m_user
Definition: EcalTPGFineGrainStripEEHandler.h:78
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >::m_to_transfer
OldContainer m_to_transfer
Definition: PopConSourceHandler.h:162
popcon::EcalTPGFineGrainStripEEHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGFineGrainStripEEHandler.h:61
groupFilesInBlocks.tt
int tt
Definition: groupFilesInBlocks.py:144
RunList
Definition: RunList.h:16
popcon::EcalTPGFineGrainStripEEHandler::m_runtype
std::string m_runtype
Definition: EcalTPGFineGrainStripEEHandler.h:83
popcon::EcalTPGFineGrainStripEEHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGFineGrainStripEEHandler.h:71
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
RunTag
Definition: RunTag.h:13
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
EcalTPGFineGrainStripEE
Definition: EcalTPGFineGrainStripEE.h:9
globals_cff.id1
id1
Definition: globals_cff.py:32
EcalCondDBInterface::fetchConfigSet
void fetchConfigSet(ICONF *iconf) noexcept(false)
Definition: EcalCondDBInterface.h:387
gather_cfg.cout
cout
Definition: gather_cfg.py:144
EcalLogicID::getName
std::string getName() const
Definition: EcalLogicID.cc:26
FEConfigMainInfo
Definition: FEConfigMainInfo.h:14
edm::LogInfo
Definition: MessageLogger.h:254
popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >::Time_t
cond::Time_t Time_t
Definition: PopConSourceHandler.h:34
popcon::EcalTPGFineGrainStripEEHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGFineGrainStripEEHandler.h:80
FEConfigFgrEEStripDat::getLUTFgr
unsigned int getLUTFgr() const
Definition: FEConfigFgrEEStripDat.h:25
LocationDef
Definition: LocationDef.h:12
DeadROCCounter.getRunNumber
def getRunNumber(filename)
Definition: DeadROCCounter.py:7
EcalTPGFineGrainStripEE::Item
Definition: EcalTPGFineGrainStripEE.h:14
popcon::EcalTPGFineGrainStripEEHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGFineGrainStripEEHandler.cc:299
EcalLogicID::getID1
int getID1() const
Definition: EcalLogicID.cc:30
popcon::EcalTPGFineGrainStripEEHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGFineGrainStripEEHandler.h:64
FEConfigMainInfo::setVersion
void setVersion(int id)
Definition: FEConfigMainInfo.h:66
FEConfigMainInfo::getFgrId
int getFgrId() const
Definition: FEConfigMainInfo.h:43
cond::TagInfo_t::name
std::string name
Definition: Types.h:72
EcalLogicID::getID2
int getID2() const
Definition: EcalLogicID.cc:32
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
EcalTPGFineGrainStripEE::setValue
void setValue(const uint32_t &id, const Item &value)
Definition: EcalTPGFineGrainStripEE.cc:7
str
#define str(s)
Definition: TestProcessor.cc:48
EcalLogicID
Definition: EcalLogicID.h:7
RunTPGConfigDat
Definition: RunTPGConfigDat.h:11
popcon::EcalTPGFineGrainStripEEHandler::m_sid
std::string m_sid
Definition: EcalTPGFineGrainStripEEHandler.h:77
popcon::EcalTPGFineGrainStripEEHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGFineGrainStripEEHandler.h:70
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
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
edm::LogError
Definition: MessageLogger.h:183
EgHLTOffHistBins_cfi.nr
nr
Definition: EgHLTOffHistBins_cfi.py:4
popcon::PopConSourceHandler< EcalTPGFineGrainStripEE >::tagInfo
cond::TagInfo_t const & tagInfo() const
Definition: PopConSourceHandler.h:78
FEConfigFgrEEStripDat
Definition: FEConfigFgrEEStripDat.h:11
EcalCondDBInterface::fetchGlobalRunListByLocation
RunList fetchGlobalRunListByLocation(const RunTag &tag, int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: EcalCondDBInterface.cc:804
createfilelist.int
int
Definition: createfilelist.py:10
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
EcalCondDBInterface::fetchDataSet
void fetchDataSet(std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) noexcept(false)
Definition: EcalCondDBInterface.h:495
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
popcon::EcalTPGFineGrainStripEEHandler::m_i_fgrStripEE
int m_i_fgrStripEE
Definition: EcalTPGFineGrainStripEEHandler.h:87
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
popcon::EcalTPGFineGrainStripEEHandler::m_gentag
std::string m_gentag
Definition: EcalTPGFineGrainStripEEHandler.h:76
relativeConstraints.value
value
Definition: relativeConstraints.py:53
Exception
Definition: hltDiff.cc:246
RunList::getRuns
std::vector< RunIOV > getRuns()
Definition: RunList.cc:25
RunTPGConfigDat::getConfigTag
std::string getConfigTag() const
Definition: RunTPGConfigDat.h:20
EcalLogicID::getID3
int getID3() const
Definition: EcalLogicID.cc:34
dataset
Definition: dataset.py:1
RunTag::setRunTypeDef
void setRunTypeDef(const RunTypeDef &runTypeDef)
Definition: RunTag.cc:42
popcon::EcalTPGFineGrainStripEEHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGFineGrainStripEEHandler.cc:337
popcon::EcalTPGFineGrainStripEEHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGFineGrainStripEEHandler.h:84
popcon::EcalTPGFineGrainStripEEHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGFineGrainStripEEHandler.h:86
IODConfig::setConfigTag
void setConfigTag(std::string x)
Definition: IODConfig.h:29
popcon::EcalTPGFineGrainStripEEHandler::m_location
std::string m_location
Definition: EcalTPGFineGrainStripEEHandler.h:75
popcon::EcalTPGFineGrainStripEEHandler::m_pass
std::string m_pass
Definition: EcalTPGFineGrainStripEEHandler.h:79
globals_cff.id2
id2
Definition: globals_cff.py:33
popcon::EcalTPGFineGrainStripEEHandler::m_name
std::string m_name
Definition: EcalTPGFineGrainStripEEHandler.h:81
mps_splice.line
line
Definition: mps_splice.py:76
FEConfigFgrEEStripDat::getThreshold
unsigned int getThreshold() const
Definition: FEConfigFgrEEStripDat.h:21
popcon::EcalTPGFineGrainStripEEHandler::m_i_version
int m_i_version
Definition: EcalTPGFineGrainStripEEHandler.h:85
EcalCondDBInterface::getEcalLogicIDSetOrdered
std::vector< EcalLogicID > getEcalLogicIDSetOrdered(std::string name, int fromId1, int toId1, int fromId2=EcalLogicID::NULLID, int toId2=EcalLogicID::NULLID, int fromId3=EcalLogicID::NULLID, int toId3=EcalLogicID::NULLID, std::string mapsTo="", int orderedBy=EcalLogicID::NULLID) noexcept(false)
Definition: EcalCondDBInterface.cc:388
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