CondTools
RPC
interface
RPCLBLinkMapHandler.h
Go to the documentation of this file.
1
#ifndef CondTools_RPC_RPCLBLinkMapHandler_h
2
#define CondTools_RPC_RPCLBLinkMapHandler_h
3
4
#include <string>
5
6
#include "
CondCore/CondDB/interface/ConnectionPool.h
"
7
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
8
#include "
CondFormats/Common/interface/Time.h
"
9
10
#include "
CondFormats/RPCObjects/interface/RPCLBLinkMap.h
"
11
12
namespace
edm
{
13
class
ParameterSet
;
14
class
ConfigurationDescriptions
;
15
}
// namespace edm
16
17
class
RPCLBLinkMapHandler
:
public
popcon::PopConSourceHandler
<RPCLBLinkMap> {
18
public
:
19
static
RPCDetId
getRPCDetId
(
20
int
region
,
int
disk_or_wheel,
int
layer,
int
sector,
std::string
subsector_string,
std::string
partition);
21
22
public
:
23
RPCLBLinkMapHandler
(
edm::ParameterSet
const
&
config
);
24
~RPCLBLinkMapHandler
()
override
;
25
26
void
getNewObjects
()
override
;
27
std::string
id
()
const override
;
28
29
protected
:
30
std::string
id_
;
31
std::string
data_tag_
;
32
cond::Time_t
since_run_
;
33
34
std::string
txt_file_
;
35
36
std::string
connect_
;
37
cond::persistency::ConnectionPool
connection_
;
38
};
39
40
#endif // CondTools_RPC_RPCLBLinkMapHandler_h
PopConSourceHandler.h
RPCLBLinkMapHandler::connection_
cond::persistency::ConnectionPool connection_
Definition:
RPCLBLinkMapHandler.h:37
ConnectionPool.h
RPCLBLinkMapHandler::getNewObjects
void getNewObjects() override
Definition:
RPCLBLinkMapHandler.cc:103
RPCLBLinkMapHandler::id_
std::string id_
Definition:
RPCLBLinkMapHandler.h:30
edm
HLT enums.
Definition:
AlignableModifier.h:19
Time.h
RPCLBLinkMapHandler::since_run_
cond::Time_t since_run_
Definition:
RPCLBLinkMapHandler.h:32
RPCDetId
Definition:
RPCDetId.h:16
RPCLBLinkMapHandler::id
std::string id() const override
Definition:
RPCLBLinkMapHandler.cc:237
RPCLBLinkMapHandler
Definition:
RPCLBLinkMapHandler.h:17
RPCLBLinkMapHandler::getRPCDetId
static RPCDetId getRPCDetId(int region, int disk_or_wheel, int layer, int sector, std::string subsector_string, std::string partition)
Definition:
RPCLBLinkMapHandler.cc:26
config
Definition:
config.py:1
RPCLBLinkMap.h
cond::persistency::ConnectionPool
Definition:
ConnectionPool.h:35
RPCLBLinkMapHandler::RPCLBLinkMapHandler
RPCLBLinkMapHandler(edm::ParameterSet const &config)
Definition:
RPCLBLinkMapHandler.cc:90
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RPCLBLinkMapHandler::connect_
std::string connect_
Definition:
RPCLBLinkMapHandler.h:36
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
RPCLBLinkMapHandler::data_tag_
std::string data_tag_
Definition:
RPCLBLinkMapHandler.h:31
cond::Time_t
unsigned long long Time_t
Definition:
Time.h:14
HLT_FULL_cff.region
region
Definition:
HLT_FULL_cff.py:88272
RPCLBLinkMapHandler::txt_file_
std::string txt_file_
Definition:
RPCLBLinkMapHandler.h:34
RPCLBLinkMapHandler::~RPCLBLinkMapHandler
~RPCLBLinkMapHandler() override
Definition:
RPCLBLinkMapHandler.cc:101
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
ConfigurationDescriptions
Generated for CMSSW Reference Manual by
1.8.16