CMS 3D CMS Logo

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

#include <EcalTPGFineGrainEBIdMapHandler.h>

Inheritance diagram for popcon::EcalTPGFineGrainEBIdMapHandler:
popcon::PopConSourceHandler< EcalTPGFineGrainEBIdMap >

Public Member Functions

 EcalTPGFineGrainEBIdMapHandler (edm::ParameterSet const &)
 
void getNewObjects () override
 
std::string id () const override
 
void readFromFile (const char *inputFile)
 
void writeFile (const char *inputFile)
 
 ~EcalTPGFineGrainEBIdMapHandler () override
 
- Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGFineGrainEBIdMap >
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_fgrIdMap
 
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
 
const EcalTPGFineGrainEBIdMapmypedestals
 

Additional Inherited Members

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

Detailed Description

Definition at line 44 of file EcalTPGFineGrainEBIdMapHandler.h.

Constructor & Destructor Documentation

◆ EcalTPGFineGrainEBIdMapHandler()

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

Definition at line 21 of file EcalTPGFineGrainEBIdMapHandler.cc.

22  : m_name(ps.getUntrackedParameter<std::string>("name", "EcalTPGFineGrainEBIdMapHandler")) {
23  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "EcalTPGFineGrainEBIdMap Source handler constructor.";
24  m_firstRun = static_cast<unsigned int>(atoi(ps.getParameter<std::string>("firstRun").c_str()));
25  m_lastRun = static_cast<unsigned int>(atoi(ps.getParameter<std::string>("lastRun").c_str()));
26  m_sid = ps.getParameter<std::string>("OnlineDBSID");
27  m_user = ps.getParameter<std::string>("OnlineDBUser");
28  m_pass = ps.getParameter<std::string>("OnlineDBPassword");
29  m_locationsource = ps.getParameter<std::string>("LocationSource");
30  m_location = ps.getParameter<std::string>("Location");
31  m_gentag = ps.getParameter<std::string>("GenTag");
32  m_runtype = ps.getParameter<std::string>("RunType");
33 
34  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << m_sid << "/" << m_user << "/" << m_location << "/" << m_gentag;
35 }

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.

◆ ~EcalTPGFineGrainEBIdMapHandler()

popcon::EcalTPGFineGrainEBIdMapHandler::~EcalTPGFineGrainEBIdMapHandler ( )
override

Definition at line 37 of file EcalTPGFineGrainEBIdMapHandler.cc.

37 {}

Member Function Documentation

◆ getNewObjects()

void popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects ( )
overridevirtual

Implements popcon::PopConSourceHandler< EcalTPGFineGrainEBIdMap >.

Definition at line 39 of file EcalTPGFineGrainEBIdMapHandler.cc.

39  {
40  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "Started GetNewObjects!!!";
41 
42  //check whats already inside of database
43  if (tagInfo().size) {
44  //check whats already inside of database
45  std::cout << "got offlineInfo = " << std::endl;
46  std::cout << "tag name = " << tagInfo().name << std::endl;
47  std::cout << "size = " << tagInfo().size << std::endl;
48  } else {
49  std::cout << " First object for this tag " << std::endl;
50  }
51 
52  unsigned int max_since = 0;
53  max_since = static_cast<unsigned int>(tagInfo().lastInterval.since);
54  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "max_since : " << max_since;
55  Ref fgrIdMap_db = lastPayload();
56 
57  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "retrieved last payload ";
58 
59  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "WOW: we just retrieved the last valid record from DB ";
60 
61  // here we retrieve all the runs after the last from online DB
62 
63  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "Retrieving run list from ONLINE DB ... ";
64 
65  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "Making connection...";
67  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "Done.";
68 
69  if (!econn) {
70  std::cout << " connection parameters " << m_sid << "/" << m_user << std::endl;
71  // cerr << e.what() << std::endl;
72  throw cms::Exception("OMDS not available");
73  }
74 
76  my_locdef.setLocation(m_location);
77 
79  my_rundef.setRunType(m_runtype);
80 
81  RunTag my_runtag;
82  my_runtag.setLocationDef(my_locdef);
83  my_runtag.setRunTypeDef(my_rundef);
84  my_runtag.setGeneralTag(m_gentag);
85 
86  readFromFile("last_tpg_fgrIdMap_settings.txt");
87 
88  unsigned int min_run = m_i_run_number + 1;
89 
90  if (m_firstRun < m_i_run_number) {
91  min_run = m_i_run_number + 1;
92  } else {
93  min_run = m_firstRun;
94  }
95  if (min_run < max_since) {
96  min_run = max_since + 1; // we have to add 1 to the last transferred one
97  }
98 
99  std::cout << "m_i_run_number" << m_i_run_number << "m_firstRun " << m_firstRun << "max_since " << max_since
100  << std::endl;
101 
102  unsigned int max_run = m_lastRun;
103  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "min_run= " << min_run << "max_run= " << max_run;
104 
105  RunList my_list;
106  my_list = econn->fetchGlobalRunListByLocation(my_runtag, min_run, max_run, my_locdef);
107  // my_list=econn->fetchRunListByLocation(my_runtag,min_run,max_run,my_locdef);
108  printf("after fetchRunList\n");
109  fflush(stdout);
110 
111  std::vector<RunIOV> run_vec = my_list.getRuns();
112  size_t num_runs = run_vec.size();
113 
114  std::cout << "number of runs is : " << num_runs << std::endl;
115 
116  unsigned int irun;
117  if (num_runs > 0) {
118  for (size_t kr = 0; kr < run_vec.size(); kr++) {
119  irun = static_cast<unsigned int>(run_vec[kr].getRunNumber());
120 
121  std::cout << " **************** " << std::endl;
122  std::cout << " **************** " << std::endl;
123  std::cout << " run= " << irun << std::endl;
124 
125  // retrieve the data :
126  std::map<EcalLogicID, RunTPGConfigDat> dataset;
127  econn->fetchDataSet(&dataset, &run_vec[kr]);
128 
129  std::string the_config_tag = "";
130  int the_config_version = 0;
131 
132  std::map<EcalLogicID, RunTPGConfigDat>::const_iterator it;
133 
134  int nr = 0;
135  for (it = dataset.begin(); it != dataset.end(); it++) {
136  ++nr;
137  EcalLogicID ecalid = it->first;
138  RunTPGConfigDat dat = it->second;
139  the_config_tag = dat.getConfigTag();
140  the_config_version = dat.getVersion();
141  }
142 
143  // it is all the same for all SM... get the last one
144 
145  std::cout << " run= " << irun << " tag " << the_config_tag << " version=" << the_config_version << std::endl;
146 
147  // here we should check if it is the same as previous run.
148 
149  if ((the_config_tag != m_i_tag || the_config_version != m_i_version) && nr > 0) {
150  std::cout << "the tag is different from last transferred run ... retrieving last config set from DB"
151  << std::endl;
152 
153  FEConfigMainInfo fe_main_info;
154  fe_main_info.setConfigTag(the_config_tag);
155  fe_main_info.setVersion(the_config_version);
156 
157  try {
158  std::cout << " before fetch config set" << std::endl;
159  econn->fetchConfigSet(&fe_main_info);
160  std::cout << " after fetch config set" << std::endl;
161 
162  // now get TPGFineGrainEBIdMap
163  int fgrId = fe_main_info.getFgrId();
164  if (fgrId != m_i_fgrIdMap) {
165  FEConfigFgrInfo fe_fgr_info;
166  fe_fgr_info.setId(fgrId);
167  econn->fetchConfigSet(&fe_fgr_info);
168  std::map<EcalLogicID, FEConfigFgrGroupDat> dataset_TpgFineGrainEB;
169  econn->fetchDataSet(&dataset_TpgFineGrainEB, &fe_fgr_info);
170  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "Got object!";
172  typedef std::map<EcalLogicID, FEConfigFgrGroupDat>::const_iterator CIfefgr;
173  EcalLogicID ecid_xt;
174  FEConfigFgrGroupDat rd_fgr;
175 
176  int igroups = 0;
177  for (CIfefgr p = dataset_TpgFineGrainEB.begin(); p != dataset_TpgFineGrainEB.end(); p++) {
178  ecid_xt = p->first;
179  rd_fgr = p->second;
180 
181  std::string ecid_name = ecid_xt.getName();
182 
184  unsigned int ThrL = (unsigned int)rd_fgr.getThreshLow();
185  unsigned int ThrH = (unsigned int)rd_fgr.getThreshHigh();
186  unsigned int RatioL = (unsigned int)rd_fgr.getRatioLow();
187  unsigned int RatioH = (unsigned int)rd_fgr.getRatioHigh();
188  unsigned int LutConfId = (unsigned int)rd_fgr.getLUTValue();
189  // I have exchanged the values to see if it works
190  f.setValues(RatioL, RatioH, ThrL, ThrH, LutConfId);
191  fgrMap->setValue(rd_fgr.getFgrGroupId(), f);
192  ++igroups;
193  }
194 
195  Time_t snc = (Time_t)irun;
196  m_to_transfer.push_back(std::make_pair((EcalTPGFineGrainEBIdMap *)fgrMap, snc));
197 
198  m_i_run_number = irun;
199  m_i_tag = the_config_tag;
200  m_i_version = the_config_version;
201  m_i_fgrIdMap = fgrId;
202 
203  writeFile("last_tpg_fgrIdMap_settings.txt");
204 
205  } else {
206  m_i_run_number = irun;
207  m_i_tag = the_config_tag;
208  m_i_version = the_config_version;
209 
210  writeFile("last_tpg_fgrIdMap_settings.txt");
211 
212  std::cout << " even if the tag/version is not the same, the fgrIdMap is the same -> no transfer needed "
213  << std::endl;
214  }
215 
216  }
217 
218  catch (std::exception &e) {
219  std::cout << "ERROR: THIS CONFIG DOES NOT EXIST: tag=" << the_config_tag << " version=" << the_config_version
220  << std::endl;
221  std::cout << e.what() << std::endl;
222  m_i_run_number = irun;
223  }
224  std::cout << " **************** " << std::endl;
225 
226  } else if (nr == 0) {
227  m_i_run_number = irun;
228  std::cout << " no tag saved to RUN_TPGCONFIG_DAT by EcalSupervisor -> no transfer needed " << std::endl;
229  std::cout << " **************** " << std::endl;
230  } else {
231  m_i_run_number = irun;
232  m_i_tag = the_config_tag;
233  m_i_version = the_config_version;
234  std::cout << " the tag/version is the same -> no transfer needed " << std::endl;
235  std::cout << " **************** " << std::endl;
236  writeFile("last_tpg_fgrIdMap_settings.txt");
237  }
238  }
239  }
240 
241  delete econn;
242  edm::LogInfo("EcalTPGFineGrainEBIdMapHandler") << "Ecal - > end of getNewObjects -----------";
243 }

References gather_cfg::cout, writedatasetfile::dataset, MillePedeFileConverter_cfg::e, test_db_connect::econn, cppFunctionSkipper::exception, Exception, f, RunTPGConfigDat::getConfigTag(), FEConfigFgrGroupDat::getFgrGroupId(), FEConfigMainInfo::getFgrId(), FEConfigFgrGroupDat::getLUTValue(), EcalLogicID::getName(), FEConfigFgrGroupDat::getRatioHigh(), FEConfigFgrGroupDat::getRatioLow(), DeadROCCounter::getRunNumber(), RunList::getRuns(), FEConfigFgrGroupDat::getThreshHigh(), FEConfigFgrGroupDat::getThreshLow(), RunTPGConfigDat::getVersion(), createfilelist::int, 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(), EcalTPGFineGrainEBIdMap::setValue(), FEConfigMainInfo::setVersion(), findQualityFiles::size, mps_setup::stdout, AlCaHLTBitMon_QueryRunRegistry::string, and dumpRecoGeometry_cfg::tagInfo.

◆ id()

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

Implements popcon::PopConSourceHandler< EcalTPGFineGrainEBIdMap >.

Definition at line 51 of file EcalTPGFineGrainEBIdMapHandler.h.

51 { return m_name; }

References m_name.

◆ readFromFile()

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

Definition at line 245 of file EcalTPGFineGrainEBIdMapHandler.cc.

245  {
246  //-------------------------------------------------------------
247 
248  m_i_tag = "";
249  m_i_version = 0;
250  m_i_run_number = 0;
251  m_i_fgrIdMap = 0;
252 
253  FILE *inpFile; // input file
254  inpFile = fopen(inputFile, "r");
255  if (!inpFile) {
256  edm::LogError("EcalTPGFineGrainEBIdMapHandler") << "*** Can not open file: " << inputFile;
257  return;
258  }
259 
260  char line[256];
261 
262  std::ostringstream str;
263 
264  fgets(line, 255, inpFile);
266  str << "gen tag " << m_i_tag << std::endl; // should I use this?
267 
268  fgets(line, 255, inpFile);
269  m_i_version = atoi(line);
270  str << "version= " << m_i_version << std::endl;
271 
272  fgets(line, 255, inpFile);
273  m_i_run_number = atoi(line);
274  str << "run_number= " << m_i_run_number << std::endl;
275 
276  fgets(line, 255, inpFile);
277  m_i_fgrIdMap = atoi(line);
278  str << "fgrIdMap_config= " << m_i_fgrIdMap << std::endl;
279 
280  fclose(inpFile); // close inp. file
281 }

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

◆ to_string()

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

Definition at line 59 of file EcalTPGFineGrainEBIdMapHandler.h.

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

References relativeConstraints::value.

◆ writeFile()

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

Definition at line 283 of file EcalTPGFineGrainEBIdMapHandler.cc.

283  {
284  //-------------------------------------------------------------
285 
286  std::ofstream myfile;
287  myfile.open(inputFile);
288  myfile << m_i_tag << std::endl;
289  myfile << m_i_version << std::endl;
290  myfile << m_i_run_number << std::endl;
291  myfile << m_i_fgrIdMap << std::endl;
292 
293  myfile.close();
294 }

References dtResolutionTest_cfi::inputFile.

Member Data Documentation

◆ econn

EcalCondDBInterface* popcon::EcalTPGFineGrainEBIdMapHandler::econn

Definition at line 56 of file EcalTPGFineGrainEBIdMapHandler.h.

◆ m_firstRun

unsigned int popcon::EcalTPGFineGrainEBIdMapHandler::m_firstRun
private

Definition at line 67 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_gentag

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_gentag
private

Definition at line 71 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_i_fgrIdMap

int popcon::EcalTPGFineGrainEBIdMapHandler::m_i_fgrIdMap
private

Definition at line 82 of file EcalTPGFineGrainEBIdMapHandler.h.

◆ m_i_run_number

unsigned int popcon::EcalTPGFineGrainEBIdMapHandler::m_i_run_number
private

Definition at line 81 of file EcalTPGFineGrainEBIdMapHandler.h.

◆ m_i_tag

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_i_tag
private

Definition at line 79 of file EcalTPGFineGrainEBIdMapHandler.h.

◆ m_i_version

int popcon::EcalTPGFineGrainEBIdMapHandler::m_i_version
private

Definition at line 80 of file EcalTPGFineGrainEBIdMapHandler.h.

◆ m_lastRun

unsigned int popcon::EcalTPGFineGrainEBIdMapHandler::m_lastRun
private

Definition at line 68 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_location

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_location
private

Definition at line 70 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_locationsource

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_locationsource
private

Definition at line 75 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_name

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_name
private

Definition at line 76 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by id().

◆ m_pass

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_pass
private

Definition at line 74 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_runnr

unsigned int popcon::EcalTPGFineGrainEBIdMapHandler::m_runnr
private

Definition at line 77 of file EcalTPGFineGrainEBIdMapHandler.h.

◆ m_runtype

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_runtype
private

Definition at line 78 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_sid

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_sid
private

Definition at line 72 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ m_user

std::string popcon::EcalTPGFineGrainEBIdMapHandler::m_user
private

Definition at line 73 of file EcalTPGFineGrainEBIdMapHandler.h.

Referenced by EcalTPGFineGrainEBIdMapHandler().

◆ mypedestals

const EcalTPGFineGrainEBIdMap* popcon::EcalTPGFineGrainEBIdMapHandler::mypedestals
private

Definition at line 65 of file EcalTPGFineGrainEBIdMapHandler.h.

EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
FEConfigFgrGroupDat
Definition: FEConfigFgrGroupDat.h:11
popcon::EcalTPGFineGrainEBIdMapHandler::m_pass
std::string m_pass
Definition: EcalTPGFineGrainEBIdMapHandler.h:74
popcon::PopConSourceHandler< EcalTPGFineGrainEBIdMap >::m_to_transfer
OldContainer m_to_transfer
Definition: PopConSourceHandler.h:162
popcon::EcalTPGFineGrainEBIdMapHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGFineGrainEBIdMapHandler.h:68
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
RunList
Definition: RunList.h:16
FEConfigFgrGroupDat::getThreshLow
float getThreshLow() const
Definition: FEConfigFgrGroupDat.h:24
popcon::EcalTPGFineGrainEBIdMapHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGFineGrainEBIdMapHandler.h:67
RunTag
Definition: RunTag.h:13
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
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
FEConfigFgrGroupDat::getFgrGroupId
int getFgrGroupId() const
Definition: FEConfigFgrGroupDat.h:21
EcalTPGFineGrainEBIdMap
Definition: EcalTPGFineGrainEBIdMap.h:10
EcalTPGFineGrainEBIdMap::setValue
void setValue(const uint32_t &id, const EcalTPGFineGrainConstEB &value)
Definition: EcalTPGFineGrainEBIdMap.cc:7
popcon::PopConSourceHandler< EcalTPGFineGrainEBIdMap >::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
EcalTPGFineGrainConstEB
Definition: EcalTPGFineGrainConstEB.h:7
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
FEConfigMainInfo::setVersion
void setVersion(int id)
Definition: FEConfigMainInfo.h:66
popcon::EcalTPGFineGrainEBIdMapHandler::m_runtype
std::string m_runtype
Definition: EcalTPGFineGrainEBIdMapHandler.h:78
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGFineGrainEBIdMapHandler.h:79
FEConfigMainInfo::getFgrId
int getFgrId() const
Definition: FEConfigMainInfo.h:43
cond::TagInfo_t::name
std::string name
Definition: Types.h:72
popcon::EcalTPGFineGrainEBIdMapHandler::m_gentag
std::string m_gentag
Definition: EcalTPGFineGrainEBIdMapHandler.h:71
popcon::EcalTPGFineGrainEBIdMapHandler::m_name
std::string m_name
Definition: EcalTPGFineGrainEBIdMapHandler.h:76
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
str
#define str(s)
Definition: TestProcessor.cc:51
popcon::EcalTPGFineGrainEBIdMapHandler::m_sid
std::string m_sid
Definition: EcalTPGFineGrainEBIdMapHandler.h:72
EcalLogicID
Definition: EcalLogicID.h:7
RunTPGConfigDat
Definition: RunTPGConfigDat.h:11
popcon::EcalTPGFineGrainEBIdMapHandler::m_location
std::string m_location
Definition: EcalTPGFineGrainEBIdMapHandler.h:70
popcon::EcalTPGFineGrainEBIdMapHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGFineGrainEBIdMapHandler.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RunTypeDef
Definition: RunTypeDef.h:12
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_version
int m_i_version
Definition: EcalTPGFineGrainEBIdMapHandler.h:80
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< EcalTPGFineGrainEBIdMap >::tagInfo
cond::TagInfo_t const & tagInfo() const
Definition: PopConSourceHandler.h:78
mps_setup.stdout
stdout
Definition: mps_setup.py:250
FEConfigFgrGroupDat::getRatioLow
float getRatioLow() const
Definition: FEConfigFgrGroupDat.h:28
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
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGFineGrainEBIdMapHandler.h:81
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
popcon::EcalTPGFineGrainEBIdMapHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGFineGrainEBIdMapHandler.h:59
EcalCondDBInterface::fetchDataSet
void fetchDataSet(std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) noexcept(false)
Definition: EcalCondDBInterface.h:495
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
FEConfigFgrGroupDat::getLUTValue
int getLUTValue() const
Definition: FEConfigFgrGroupDat.h:32
popcon::EcalTPGFineGrainEBIdMapHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGFineGrainEBIdMapHandler.cc:283
popcon::EcalTPGFineGrainEBIdMapHandler::m_user
std::string m_user
Definition: EcalTPGFineGrainEBIdMapHandler.h:73
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< EcalTPGFineGrainEBIdMap >::lastPayload
Ref lastPayload() const
Definition: PopConSourceHandler.h:81
Exception
Definition: hltDiff.cc:246
FEConfigFgrGroupDat::getRatioHigh
float getRatioHigh() const
Definition: FEConfigFgrGroupDat.h:30
RunList::getRuns
std::vector< RunIOV > getRuns()
Definition: RunList.cc:25
FEConfigFgrGroupDat::getThreshHigh
float getThreshHigh() const
Definition: FEConfigFgrGroupDat.h:26
RunTPGConfigDat::getConfigTag
std::string getConfigTag() const
Definition: RunTPGConfigDat.h:20
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_fgrIdMap
int m_i_fgrIdMap
Definition: EcalTPGFineGrainEBIdMapHandler.h:82
dataset
Definition: dataset.py:1
RunTag::setRunTypeDef
void setRunTypeDef(const RunTypeDef &runTypeDef)
Definition: RunTag.cc:42
IODConfig::setConfigTag
void setConfigTag(std::string x)
Definition: IODConfig.h:29
mps_splice.line
line
Definition: mps_splice.py:76
popcon::EcalTPGFineGrainEBIdMapHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGFineGrainEBIdMapHandler.cc:245
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
popcon::EcalTPGFineGrainEBIdMapHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGFineGrainEBIdMapHandler.h:75