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/Utilities/interface/ReusableObjectHolder.h
"
9
10
#include "
CondFormats/RPCObjects/interface/RPCInverseAMCLinkMap.h
"
11
12
namespace
edm
{
13
class
ParameterSet
;
14
class
ConfigurationDescriptions
;
15
}
// namespace edm
16
17
class
RPCTwinMuxLinkMapRcd
;
18
class
RPCInverseTwinMuxLinkMapRcd
;
19
20
class
RPCInverseTwinMuxLinkMapESProducer
:
public
edm::ESProducer
{
21
public
:
22
explicit
RPCInverseTwinMuxLinkMapESProducer
(
edm::ParameterSet
const
& _config);
23
24
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& _descs);
25
26
std::shared_ptr<RPCInverseAMCLinkMap>
produce
(
RPCInverseTwinMuxLinkMapRcd
const
& _rcd);
27
28
private
:
29
using
HostType
=
edm::ESProductHost<RPCInverseAMCLinkMap, RPCTwinMuxLinkMapRcd>
;
30
31
void
setupRPCTwinMuxLinkMap
(
RPCTwinMuxLinkMapRcd
const
&,
RPCInverseAMCLinkMap
*);
32
33
edm::ReusableObjectHolder<HostType>
holder_
;
34
};
35
36
#endif // CondTools_RPC_RPCInverseTwinMuxLinkMapESProducer_h
RPCInverseTwinMuxLinkMapESProducer::RPCInverseTwinMuxLinkMapESProducer
RPCInverseTwinMuxLinkMapESProducer(edm::ParameterSet const &_config)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:12
RPCInverseAMCLinkMap
Definition:
RPCInverseAMCLinkMap.h:9
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESProducer.h
RPCInverseTwinMuxLinkMapESProducer::produce
std::shared_ptr< RPCInverseAMCLinkMap > produce(RPCInverseTwinMuxLinkMapRcd const &_rcd)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:34
RPCInverseTwinMuxLinkMapESProducer
Definition:
RPCInverseTwinMuxLinkMapESProducer.h:20
edm::ReusableObjectHolder< HostType >
ReusableObjectHolder.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
RPCInverseTwinMuxLinkMapESProducer::holder_
edm::ReusableObjectHolder< HostType > holder_
Definition:
RPCInverseTwinMuxLinkMapESProducer.h:33
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
RPCInverseTwinMuxLinkMapESProducer::setupRPCTwinMuxLinkMap
void setupRPCTwinMuxLinkMap(RPCTwinMuxLinkMapRcd const &, RPCInverseAMCLinkMap *)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:21
RPCInverseTwinMuxLinkMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &_descs)
Definition:
RPCInverseTwinMuxLinkMapESProducer.cc:16
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