test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
L1TCaloParamsOnlineProd Class Reference
Inheritance diagram for L1TCaloParamsOnlineProd:
L1ConfigOnlineProdBaseExt< L1TCaloParamsO2ORcd, l1t::CaloParams > edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Member Functions

 L1TCaloParamsOnlineProd (const edm::ParameterSet &)
 
virtual boost::shared_ptr
< l1t::CaloParams
newObject (const std::string &objectKey, const L1TCaloParamsO2ORcd &record) override
 
 ~L1TCaloParamsOnlineProd (void)
 
- Public Member Functions inherited from L1ConfigOnlineProdBaseExt< L1TCaloParamsO2ORcd, l1t::CaloParams >
 L1ConfigOnlineProdBaseExt (const edm::ParameterSet &)
 
boost::shared_ptr
< l1t::CaloParams
produce (const L1TCaloParamsO2ORcd &iRecord)
 
 ~L1ConfigOnlineProdBaseExt ()
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
virtual ~ESProducer ()
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
virtual void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)
 overrides DataProxyProvider method More...
 
virtual ~ESProxyFactoryProducer ()
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
 DataProxyProvider ()
 
const ComponentDescriptiondescription () const
 
bool isUsingRecord (const EventSetupRecordKey &) const
 
const KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey) const
 
void resetProxies (const EventSetupRecordKey &iRecordType)
 
void resetProxiesIfTransient (const EventSetupRecordKey &iRecordType)
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider ()
 

Additional Inherited Members

- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair
< DataKey,
edm::propagate_const
< std::shared_ptr< DataProxy > > > > 
KeyedProxies
 
typedef std::vector
< EventSetupRecordKey
Keys
 
typedef std::map
< EventSetupRecordKey,
KeyedProxies
RecordProxies
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from L1ConfigOnlineProdBaseExt< L1TCaloParamsO2ORcd, l1t::CaloParams >
bool getObjectKey (const L1TCaloParamsO2ORcd &record, boost::shared_ptr< l1t::CaloParams > data, std::string &objectKey)
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
void setWhatProduced (T *iThis, const es::Label &iLabel=es::Label())
 
template<typename T >
void setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
void setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
void setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label())
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string())
 
virtual void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList)
 override DataProxyProvider method More...
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
void eraseAll (const EventSetupRecordKey &iRecordKey)
 deletes all the Proxies in aStream More...
 
void invalidateProxies (const EventSetupRecordKey &iRecordKey)
 
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &)
 
- Protected Attributes inherited from L1ConfigOnlineProdBaseExt< L1TCaloParamsO2ORcd, l1t::CaloParams >
bool m_copyFromCondDB
 
cond::persistency::Session m_dbSession
 
bool m_forceGeneration
 
l1t::OMDSReader m_omdsReader
 

Detailed Description

Definition at line 17 of file L1TCaloParamsOnlineProd.cc.

Constructor & Destructor Documentation

L1TCaloParamsOnlineProd::L1TCaloParamsOnlineProd ( const edm::ParameterSet iConfig)
L1TCaloParamsOnlineProd::~L1TCaloParamsOnlineProd ( void  )
inline

Definition at line 23 of file L1TCaloParamsOnlineProd.cc.

23 {}

Member Function Documentation

boost::shared_ptr< l1t::CaloParams > L1TCaloParamsOnlineProd::newObject ( const std::string &  objectKey,
const L1TCaloParamsO2ORcd record 
)
overridevirtual

return boost::shared_ptr< l1t::CaloParams > ( new l1t::CaloParams( *(baseSettings.product()) ) );

return boost::shared_ptr< l1t::CaloParams > ( new l1t::CaloParams( *(baseSettings.product()) ) );

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams( *(baseSettings.product()) ) ) ;

Implements L1ConfigOnlineProdBaseExt< L1TCaloParamsO2ORcd, l1t::CaloParams >.

Definition at line 203 of file L1TCaloParamsOnlineProd.cc.

References l1t::TrigSystem::addProcRole(), bitset_utilities::append(), l1t::OMDSReader::basicQuery(), begin, L1ConfigOnlineProdBaseExt< L1TCaloParamsO2ORcd, l1t::CaloParams >::m_omdsReader, convertSQLitetoXML_cfg::output, tauJetCorrections_cff::payloads, readCaloLayer1OnlineSettings(), readCaloLayer2OnlineSettings(), l1t::XmlConfigReader::readDOMFromString(), edm::second(), l1t::OMDSReader::singleAttribute(), and AlCaHLTBitMon_QueryRunRegistry::string.

203  {
204  using namespace edm::es;
205 
206  const L1TCaloStage2ParamsRcd& baseRcd = record.template getRecord< L1TCaloStage2ParamsRcd >() ;
207  edm::ESHandle< l1t::CaloParams > baseSettings ;
208  baseRcd.get( baseSettings ) ;
209 
210 
211  if( objectKey.empty() ){
212  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Key is empty, returning empty l1t::CaloParams";
213  throw std::runtime_error("Empty objectKey");
215  }
216 
217  std::string tscKey = objectKey.substr(0, objectKey.find(":") );
218  std::string rsKey = objectKey.substr( objectKey.find(":")+1, std::string::npos );
219 
220 
221  std::string stage2Schema = "CMS_TRG_L1_CONF" ;
222  edm::LogInfo( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Producing L1TCaloParamsOnlineProd with TSC key =" << tscKey << " and RS key = " << rsKey ;
223 
224  // first, find keys for the algo and RS tables
225 
226  // ALGO
227  std::vector< std::string > queryStrings ;
228  queryStrings.push_back( "CALOL1_KEY" ) ;
229  queryStrings.push_back( "CALOL2_KEY" ) ;
230 
231  std::string calol1_conf_key, calol2_conf_key;
232 
233  // select CALOL1_KEY,CALOL2_KEY from CMS_TRG_L1_CONF.L1_TRG_CONF_KEYS where ID = tscKey ;
234  l1t::OMDSReader::QueryResults queryResult =
235  m_omdsReader.basicQuery( queryStrings,
236  stage2Schema,
237  "L1_TRG_CONF_KEYS",
238  "L1_TRG_CONF_KEYS.ID",
240  ) ;
241 
242  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
243  edm::LogError( "L1-O2O" ) << "Cannot get L1_TRG_CONF_KEYS.{CALOL1_KEY,CALOL2_KEY} for ID = " << tscKey ;
244  throw std::runtime_error("Broken tscKey");
246  }
247 
248  if( !queryResult.fillVariable( "CALOL1_KEY", calol1_conf_key) ) calol1_conf_key = "";
249  if( !queryResult.fillVariable( "CALOL2_KEY", calol2_conf_key) ) calol2_conf_key = "";
250 
251  // At this point we have two config keys; now query the payloads' keys for these config keys
252  std::string calol1_algo_key, calol2_algo_key;
253  queryStrings.clear();
254  queryStrings.push_back( "ALGO" );
255 
256  // query ALGO configurations
257  queryResult =
258  m_omdsReader.basicQuery( queryStrings,
259  stage2Schema,
260  "CALOL1_KEYS",
261  "CALOL1_KEYS.ID",
262  m_omdsReader.singleAttribute(calol1_conf_key)
263  ) ;
264 
265  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
266  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL1_KEYS.ALGO for ID="<<calol1_conf_key;
267  throw std::runtime_error("Broken key");
269  }
270 
271  if( !queryResult.fillVariable( "ALGO", calol1_algo_key ) ) calol1_algo_key = "";
272 
273  queryStrings.push_back( "HW" );
274 // No Layer2 for the moment
275  queryResult =
276  m_omdsReader.basicQuery( queryStrings,
277  stage2Schema,
278  "CALOL2_KEYS",
279  "CALOL2_KEYS.ID",
280  m_omdsReader.singleAttribute(calol2_conf_key)
281  ) ;
282 
283  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
284  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_KEYS.ALGO for ID="<<calol2_conf_key;
285  throw std::runtime_error("Broken key");
287  }
288 
289  std::string calol2_hw_key;
290  if( !queryResult.fillVariable( "ALGO", calol2_algo_key ) ) calol2_algo_key = "";
291  if( !queryResult.fillVariable( "HW", calol2_hw_key ) ) calol2_hw_key = "";
292 
293 
294  // Now querry the actual payloads
295  enum {kCONF=0, kRS, kHW, NUM_TYPES};
296  std::map<std::string,std::string> payloads[NUM_TYPES]; // associates key -> XML payload for a given type of payloads
297  std::string xmlPayload;
298 
299  queryStrings.clear();
300  queryStrings.push_back( "CONF" );
301 
302  // query CALOL1 ALGO configuration
303  queryResult =
304  m_omdsReader.basicQuery( queryStrings,
305  stage2Schema,
306  "CALOL1_ALGO",
307  "CALOL1_ALGO.ID",
308  m_omdsReader.singleAttribute(calol1_algo_key)
309  ) ;
310 
311  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
312  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL1_ALGO.CONF for ID="<<calol1_algo_key;
313  throw std::runtime_error("Broken key");
315  }
316 
317  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
318  // remember ALGO configuration
319  payloads[kCONF][calol1_algo_key.append("_L1")] = xmlPayload;
320 
321  std::string calol2_demux_key, calol2_mps_common_key, calol2_mps_jet_key, calol2_mp_egamma_key, calol2_mp_sum_key, calol2_mp_tau_key;
322 
323  queryStrings.clear();
324  queryStrings.push_back( "DEMUX" );
325  queryStrings.push_back( "MPS_COMMON" );
326  queryStrings.push_back( "MPS_JET" );
327  queryStrings.push_back( "MP_EGAMMA" );
328  queryStrings.push_back( "MP_SUM" );
329  queryStrings.push_back( "MP_TAU" );
330 
331  // No CALOL2 ALGO configuration for the moment
332  queryResult =
333  m_omdsReader.basicQuery( queryStrings,
334  stage2Schema,
335  "CALOL2_ALGO_KEYS",
336  "CALOL2_ALGO_KEYS.ID",
337  m_omdsReader.singleAttribute(calol2_algo_key)
338  ) ;
339 
340  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
341  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_ALGO_KEYS.{DEMUX,MPS_COMMON,MPS_JET,MP_EGAMMA,MP_SUM,MP_TAU} for ID="<<calol2_algo_key;
342  throw std::runtime_error("Broken key");
344  }
345 
346  if( !queryResult.fillVariable( "DEMUX", calol2_demux_key ) ) calol2_demux_key = "";
347  if( !queryResult.fillVariable( "MPS_COMMON", calol2_mps_common_key ) ) calol2_mps_common_key = "";
348  if( !queryResult.fillVariable( "MPS_JET", calol2_mps_jet_key ) ) calol2_mps_jet_key = "";
349  if( !queryResult.fillVariable( "MP_EGAMMA", calol2_mp_egamma_key ) ) calol2_mp_egamma_key = "";
350  if( !queryResult.fillVariable( "MP_SUM", calol2_mp_sum_key ) ) calol2_mp_sum_key = "";
351  if( !queryResult.fillVariable( "MP_TAU", calol2_mp_tau_key ) ) calol2_mp_tau_key = "";
352 
353  queryStrings.clear();
354  queryStrings.push_back( "CONF" );
355 
356  // query CALOL2 ALGO configuration
357  queryResult =
358  m_omdsReader.basicQuery( queryStrings,
359  stage2Schema,
360  "CALOL2_ALGO",
361  "CALOL2_ALGO.ID",
362  m_omdsReader.singleAttribute(calol2_demux_key)
363  ) ;
364 
365  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
366  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_ALGO.CONF for ID="<<calol2_demux_key;
367  throw std::runtime_error("Broken key");
369  }
370 
371  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
372  // remember ALGO configuration
373  payloads[kCONF][calol2_demux_key.append("_L2")] = xmlPayload;
374 
375  // query CALOL2 ALGO configuration
376  queryResult =
377  m_omdsReader.basicQuery( queryStrings,
378  stage2Schema,
379  "CALOL2_ALGO",
380  "CALOL2_ALGO.ID",
381  m_omdsReader.singleAttribute(calol2_mps_common_key)
382  ) ;
383 
384  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
385  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_ALGO.CONF for ID="<<calol2_mps_common_key;
386  throw std::runtime_error("Broken key");
388  }
389 
390  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
391  // remember ALGO configuration
392  payloads[kCONF][calol2_mps_common_key.append("_L2")] = xmlPayload;
393 
394  // query CALOL2 ALGO configuration
395  queryResult =
396  m_omdsReader.basicQuery( queryStrings,
397  stage2Schema,
398  "CALOL2_ALGO",
399  "CALOL2_ALGO.ID",
400  m_omdsReader.singleAttribute(calol2_mps_jet_key)
401  ) ;
402 
403  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
404  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_ALGO.CONF for ID="<<calol2_mps_jet_key;
405  throw std::runtime_error("Broken key");
407  }
408 
409  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
410  // remember ALGO configuration
411  payloads[kCONF][calol2_mps_jet_key.append("_L2")] = xmlPayload;
412 
413  // query CALOL2 ALGO configuration
414  queryResult =
415  m_omdsReader.basicQuery( queryStrings,
416  stage2Schema,
417  "CALOL2_ALGO",
418  "CALOL2_ALGO.ID",
419  m_omdsReader.singleAttribute(calol2_mp_egamma_key)
420  ) ;
421 
422  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
423  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_ALGO.CONF for ID="<<calol2_mp_egamma_key;
424  throw std::runtime_error("Broken key");
426  }
427 
428  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
429  // remember ALGO configuration
430  payloads[kCONF][calol2_mp_egamma_key.append("_L2")] = xmlPayload;
431 
432  // query CALOL2 ALGO configuration
433  queryResult =
434  m_omdsReader.basicQuery( queryStrings,
435  stage2Schema,
436  "CALOL2_ALGO",
437  "CALOL2_ALGO.ID",
438  m_omdsReader.singleAttribute(calol2_mp_sum_key)
439  ) ;
440 
441  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
442  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_ALGO.CONF for ID="<<calol2_mp_sum_key;
443  throw std::runtime_error("Broken key");
445  }
446 
447  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
448  // remember ALGO configuration
449  payloads[kCONF][calol2_mp_sum_key.append("_L2")] = xmlPayload;
450 
451  // query CALOL2 ALGO configuration
452  queryResult =
453  m_omdsReader.basicQuery( queryStrings,
454  stage2Schema,
455  "CALOL2_ALGO",
456  "CALOL2_ALGO.ID",
457  m_omdsReader.singleAttribute(calol2_mp_tau_key)
458  ) ;
459 
460  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
461  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_ALGO.CONF for ID="<<calol2_mp_tau_key;
462  throw std::runtime_error("Broken key");
464  }
465 
466  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
467  // remember ALGO configuration
468  payloads[kCONF][calol2_mp_tau_key.append("_L2")] = xmlPayload;
469 
470  queryResult =
471  m_omdsReader.basicQuery( queryStrings,
472  stage2Schema,
473  "CALOL2_HW",
474  "CALOL2_HW.ID",
475  m_omdsReader.singleAttribute(calol2_hw_key)
476  ) ;
477 
478  if( queryResult.queryFailed() || queryResult.numberRows() != 1 ){
479  edm::LogError( "L1-O2O: L1TCaloParamsOnlineProd" ) << "Cannot get CALOL2_HW.CONF for ID="<<calol2_hw_key;
480  throw std::runtime_error("Broken key");
481  }
482 
483  if( !queryResult.fillVariable( "CONF", xmlPayload ) ) xmlPayload = "";
484  // remember HW configuration
485  payloads[kHW][calol2_hw_key] = xmlPayload;
486 
487  // for debugging purposes dump the configs to local files
488  for(auto &conf : payloads[kCONF]){
489  std::ofstream output(std::string("/tmp/").append(conf.first.substr(0,conf.first.find("/"))).append(".xml"));
490  output<<conf.second;
491  output.close();
492  }
493  for(auto &conf : payloads[kHW]){
494  std::ofstream output(std::string("/tmp/").append(conf.first.substr(0,conf.first.find("/"))).append(".xml"));
495  output<<conf.second;
496  output.close();
497  }
498 
499 
500  l1t::XmlConfigReader xmlReader1;
501  xmlReader1.readDOMFromString( payloads[kCONF][calol1_algo_key] );
502 
503  l1t::TrigSystem calol1;
504  calol1.addProcRole("processors", "processors");
505  xmlReader1.readRootElement( calol1, "calol1" );
506  calol1.setConfigured();
507 
508  std::map<std::string, l1t::Setting> calol1_conf = calol1.getSettings("processors");
509  std::map<std::string, l1t::Mask> calol1_rs ;//= calol1.getMasks ("processors");
510 
511  l1t::TrigSystem calol2;
512 // calol2.addProcRole("processors", "MainProcessor");
513 
514  l1t::XmlConfigReader xmlReader2;
515  xmlReader2.readDOMFromString( payloads[kHW].begin()->second );
516  xmlReader2.readRootElement( calol2, "calol2" );
517 
518  for(auto &conf : payloads[kCONF]){
519  if( conf.first.find("_L2") != std::string::npos ){
520  xmlReader2.readDOMFromString( conf.second );
521  xmlReader2.readRootElement( calol2, "calol2" );
522  }
523  }
524 
525 // calol2.setSystemId("calol2");
526  calol2.setConfigured();
527 
528  // Perhaps layer 2 has to look at settings for demux and mp separately? // => No demux settings required
529  std::map<std::string, l1t::Setting> calol2_conf = calol2.getSettings("MP1");
530  std::map<std::string, l1t::Mask> calol2_rs ;//= calol2.getMasks ("processors");
531 
532  l1t::CaloParamsHelper m_params_helper(*(baseSettings.product()));
533 
534  readCaloLayer1OnlineSettings(m_params_helper, calol1_conf, calol1_rs);
535  readCaloLayer2OnlineSettings(m_params_helper, calol2_conf, calol2_rs);
536 
537  return boost::shared_ptr< l1t::CaloParams >( new l1t::CaloParams ( m_params_helper ) ) ;
538 }
const QueryResults singleAttribute(const T &data) const
Definition: OMDSReader.h:296
bool readCaloLayer1OnlineSettings(l1t::CaloParamsHelper &paramsHelper, std::map< std::string, l1t::Setting > &conf, std::map< std::string, l1t::Mask > &)
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
U second(std::pair< T, U > const &p)
void addProcRole(const std::string &processor, const std::string &role)
Definition: TrigSystem.cc:39
const QueryResults basicQuery(const std::vector< std::string > &columnNames, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
Definition: OMDSReader.cc:86
bool readCaloLayer2OnlineSettings(l1t::CaloParamsHelper &paramsHelper, std::map< std::string, l1t::Setting > &conf, std::map< std::string, l1t::Mask > &)
#define begin
Definition: vmac.h:30
void readDOMFromString(const std::string &str, xercesc::DOMDocument *&doc)