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 std::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 &)
 
std::shared_ptr< l1t::CaloParamsproduce (const L1TCaloParamsO2ORcd &iRecord)
 
 ~L1ConfigOnlineProdBaseExt ()
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
virtual ~ESProducer ()(false)
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
virtual void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)
 overrides DataProxyProvider method More...
 
virtual ~ESProxyFactoryProducer () noexcept(false)
 
- 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 () noexcept(false)
 

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, std::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::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_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

std::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 218 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.

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