CondTools
RPC
plugins
RPCInverseLBLinkMapESProducer.h
Go to the documentation of this file.
1
#ifndef CondTools_RPC_RPCInverseLBLinkMapESProducer_h
2
#define CondTools_RPC_RPCInverseLBLinkMapESProducer_h
3
4
#include <memory>
5
6
#include "
FWCore/Framework/interface/ESProducer.h
"
7
#include "
FWCore/Framework/interface/ESProductHost.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
#include "
FWCore/Utilities/interface/ESGetToken.h
"
10
#include "
FWCore/Utilities/interface/ReusableObjectHolder.h
"
11
12
#include "
CondFormats/RPCObjects/interface/RPCInverseLBLinkMap.h
"
13
#include "
CondFormats/RPCObjects/interface/RPCLBLinkMap.h
"
14
15
namespace
edm
{
16
class
ParameterSet
;
17
class
ConfigurationDescriptions
;
18
}
// namespace edm
19
20
class
RPCLBLinkMapRcd
;
21
class
RPCInverseLBLinkMapRcd
;
22
23
class
RPCInverseLBLinkMapESProducer
:
public
edm::ESProducer
{
24
public
:
25
explicit
RPCInverseLBLinkMapESProducer
(
edm::ParameterSet
const
& _config);
26
27
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& _descs);
28
29
std::shared_ptr<RPCInverseLBLinkMap>
produce
(
RPCInverseLBLinkMapRcd
const
& _rcd);
30
31
private
:
32
using
HostType
=
edm::ESProductHost<RPCInverseLBLinkMap, RPCLBLinkMapRcd>
;
33
34
void
setupRPCLBLinkMap
(
RPCLBLinkMapRcd
const
&,
RPCInverseLBLinkMap
*);
35
36
edm::ReusableObjectHolder<HostType>
holder_
;
37
38
edm::ESGetToken<RPCLBLinkMap, RPCLBLinkMapRcd>
es_rpc_lb_map_token_
;
39
};
40
41
#endif // CondTools_RPC_RPCInverseLBLinkMapESProducer_h
RPCInverseLBLinkMapESProducer
Definition:
RPCInverseLBLinkMapESProducer.h:23
RPCInverseLBLinkMapESProducer::RPCInverseLBLinkMapESProducer
RPCInverseLBLinkMapESProducer(edm::ParameterSet const &_config)
Definition:
RPCInverseLBLinkMapESProducer.cc:16
RPCInverseLBLinkMapESProducer::es_rpc_lb_map_token_
edm::ESGetToken< RPCLBLinkMap, RPCLBLinkMapRcd > es_rpc_lb_map_token_
Definition:
RPCInverseLBLinkMapESProducer.h:38
ESHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
RPCInverseLBLinkMap
Definition:
RPCInverseLBLinkMap.h:11
ESProducer.h
ESGetToken.h
edm::ReusableObjectHolder< HostType >
ReusableObjectHolder.h
RPCLBLinkMap.h
RPCInverseLBLinkMap.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
RPCInverseLBLinkMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &_descs)
Definition:
RPCInverseLBLinkMapESProducer.cc:22
RPCInverseLBLinkMapESProducer::produce
std::shared_ptr< RPCInverseLBLinkMap > produce(RPCInverseLBLinkMapRcd const &_rcd)
Definition:
RPCInverseLBLinkMapESProducer.cc:39
RPCInverseLBLinkMapESProducer::setupRPCLBLinkMap
void setupRPCLBLinkMap(RPCLBLinkMapRcd const &, RPCInverseLBLinkMap *)
Definition:
RPCInverseLBLinkMapESProducer.cc:27
RPCInverseLBLinkMapRcd
Definition:
RPCInverseLBLinkMapRcd.h:9
RPCLBLinkMapRcd
Definition:
RPCLBLinkMapRcd.h:6
edm::ESGetToken< RPCLBLinkMap, RPCLBLinkMapRcd >
edm::ESProductHost
Definition:
ESProductHost.h:93
ConfigurationDescriptions
edm::ESProducer
Definition:
ESProducer.h:104
RPCInverseLBLinkMapESProducer::holder_
edm::ReusableObjectHolder< HostType > holder_
Definition:
RPCInverseLBLinkMapESProducer.h:36
ESProductHost.h
Generated for CMSSW Reference Manual by
1.8.16