Main Page
Namespaces
Classes
Package Documentation
src
L1TriggerConfig
L1TConfigProducers
src
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>
9
#include "
CondTools/L1Trigger/interface/OMDSReader.h
"
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
16
class
OnlineDBqueryHelper
{
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
l1t
delete x;
Definition:
CaloConfig.h:22
crabWrapper.key
key
Definition:
crabWrapper.py:19
OMDSReader.h
l1t::OnlineDBqueryHelper::fetch
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)
Definition:
OnlineDBqueryHelper.cc:3
l1t::OnlineDBqueryHelper
Definition:
OnlineDBqueryHelper.h:16
l1t::OMDSReader
Definition:
OMDSReader.h:43
Generated for CMSSW Reference Manual by
1.8.11