CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OnlineDBqueryHelper.h
Go to the documentation of this file.
1 #ifndef L1TriggerConfig_L1TConfigProducers_QueryHelper_h
2 #define L1TriggerConfig_L1TConfigProducers_QueryHelper_h
3 
4 #include <map>
5 #include <vector>
6 #include <string>
7 #include <numeric>
8 #include <algorithm>
10 
11 namespace l1t {
12 
13 // The following class encloses some of the conventions for the online DB model:
14 // https://indico.cern.ch/event/591003/contributions/2384788/attachments/1378957/2095301/L1TriggerDatabase_v2.pdf
15 
17 public:
18 
19  static std::map<std::string,std::string> fetch(
20  const std::vector<std::string> &queryColumns,
21  const std::string &table,
22  const std::string &key,
23  l1t::OMDSReader &m_omdsReader);
24 };
25 
26 } // end of namespace
27 #endif
delete x;
Definition: CaloConfig.h:22
static std::map< std::string, std::string > fetch(const std::vector< std::string > &queryColumns, const std::string &table, const std::string &key, l1t::OMDSReader &m_omdsReader)