CondTools
RPC
plugins
RPCInverseTwinMuxLinkMapESProducer.h
Go to the documentation of this file.
1
#ifndef CondTools_RPC_RPCInverseTwinMuxLinkMapESProducer_h
2
#define CondTools_RPC_RPCInverseTwinMuxLinkMapESProducer_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/RPCInverseAMCLinkMap.h
"
13
#include "
CondFormats/RPCObjects/interface/RPCAMCLinkMap.h
"
14
15
namespace
edm
{
16
class
ParameterSet
;
17
class
ConfigurationDescriptions
;
18
}
// namespace edm
19
20
class
RPCTwinMuxLinkMapRcd
;
21
class
RPCInverseTwinMuxLinkMapRcd
;
22
23
class
RPCInverseTwinMuxLinkMapESProducer
:
public
edm::ESProducer
{
24
public
:
25
explicit
RPCInverseTwinMuxLinkMapESProducer
(
edm::ParameterSet
const
& _config);
26
27
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& _descs);
28
29
std::shared_ptr<RPCInverseAMCLinkMap>
produce
(
RPCInverseTwinMuxLinkMapRcd
const
& _rcd);
30
31
private
:
32
using
HostType
=
edm::ESProductHost<RPCInverseAMCLinkMap, RPCTwinMuxLinkMapRcd>
;
33
34
void
setupRPCTwinMuxLinkMap
(
RPCTwinMuxLinkMapRcd
const
&,
RPCInverseAMCLinkMap
*);
35
36
edm::ReusableObjectHolder<HostType>
holder_
;
37
38
edm::ESGetToken<RPCAMCLinkMap, RPCTwinMuxLinkMapRcd>
es_rpc_tm_l_map_token_
;
39
};
40
41
#endif // CondTools_RPC_RPCInverseTwinMuxLinkMapESProducer_h
RPCInverseTwinMuxLinkMapESProducer::RPCInverseTwinMuxLinkMapESProducer
RPCInverseTwinMuxLinkMapESProducer(edm::ParameterSet const &_config)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:14
RPCInverseAMCLinkMap
Definition:
RPCInverseAMCLinkMap.h:9
ESHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESProducer.h
RPCInverseTwinMuxLinkMapESProducer::es_rpc_tm_l_map_token_
edm::ESGetToken< RPCAMCLinkMap, RPCTwinMuxLinkMapRcd > es_rpc_tm_l_map_token_
Definition:
RPCInverseTwinMuxLinkMapESProducer.h:38
RPCInverseTwinMuxLinkMapESProducer::produce
std::shared_ptr< RPCInverseAMCLinkMap > produce(RPCInverseTwinMuxLinkMapRcd const &_rcd)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:35
ESGetToken.h
RPCInverseTwinMuxLinkMapESProducer
Definition:
RPCInverseTwinMuxLinkMapESProducer.h:23
RPCAMCLinkMap.h
edm::ReusableObjectHolder< HostType >
ReusableObjectHolder.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
RPCInverseTwinMuxLinkMapESProducer::holder_
edm::ReusableObjectHolder< HostType > holder_
Definition:
RPCInverseTwinMuxLinkMapESProducer.h:36
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
RPCInverseTwinMuxLinkMapESProducer::setupRPCTwinMuxLinkMap
void setupRPCTwinMuxLinkMap(RPCTwinMuxLinkMapRcd const &, RPCInverseAMCLinkMap *)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:24
edm::ESGetToken< RPCAMCLinkMap, RPCTwinMuxLinkMapRcd >
RPCInverseTwinMuxLinkMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &_descs)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:19
edm::ESProductHost
Definition:
ESProductHost.h:93
ConfigurationDescriptions
RPCInverseTwinMuxLinkMapRcd
Definition:
RPCInverseTwinMuxLinkMapRcd.h:9
edm::ESProducer
Definition:
ESProducer.h:104
ESProductHost.h
RPCInverseAMCLinkMap.h
RPCTwinMuxLinkMapRcd
Definition:
RPCTwinMuxLinkMapRcd.h:6
Generated for CMSSW Reference Manual by
1.8.16