CondTools
RPC
plugins
RPCInverseCPPFLinkMapESProducer.h
Go to the documentation of this file.
1
#ifndef CondTools_RPC_RPCInverseCPPFLinkMapESProducer_h
2
#define CondTools_RPC_RPCInverseCPPFLinkMapESProducer_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
RPCCPPFLinkMapRcd
;
18
class
RPCInverseCPPFLinkMapRcd
;
19
20
class
RPCInverseCPPFLinkMapESProducer
:
public
edm::ESProducer
{
21
public
:
22
explicit
RPCInverseCPPFLinkMapESProducer
(
edm::ParameterSet
const
& _config);
23
24
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& _descs);
25
26
std::shared_ptr<RPCInverseAMCLinkMap>
produce
(
RPCInverseCPPFLinkMapRcd
const
& _rcd);
27
28
private
:
29
using
HostType
=
edm::ESProductHost<RPCInverseAMCLinkMap, RPCCPPFLinkMapRcd>
;
30
31
void
setupRPCCPPFLinkMap
(
RPCCPPFLinkMapRcd
const
&,
RPCInverseAMCLinkMap
*);
32
33
edm::ReusableObjectHolder<HostType>
holder_
;
34
};
35
36
#endif // CondTools_RPC_RPCInverseCPPFLinkMapESProducer_h
RPCInverseCPPFLinkMapESProducer::setupRPCCPPFLinkMap
void setupRPCCPPFLinkMap(RPCCPPFLinkMapRcd const &, RPCInverseAMCLinkMap *)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:21
RPCInverseAMCLinkMap
Definition:
RPCInverseAMCLinkMap.h:9
RPCInverseCPPFLinkMapESProducer::RPCInverseCPPFLinkMapESProducer
RPCInverseCPPFLinkMapESProducer(edm::ParameterSet const &_config)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:12
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESProducer.h
RPCInverseCPPFLinkMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &_descs)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:16
edm::ReusableObjectHolder< HostType >
RPCInverseCPPFLinkMapESProducer::produce
std::shared_ptr< RPCInverseAMCLinkMap > produce(RPCInverseCPPFLinkMapRcd const &_rcd)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:34
ReusableObjectHolder.h
RPCInverseCPPFLinkMapESProducer
Definition:
RPCInverseCPPFLinkMapESProducer.h:20
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
RPCInverseCPPFLinkMapESProducer::holder_
edm::ReusableObjectHolder< HostType > holder_
Definition:
RPCInverseCPPFLinkMapESProducer.h:33
RPCInverseCPPFLinkMapRcd
Definition:
RPCInverseCPPFLinkMapRcd.h:9
edm::ESProductHost
Definition:
ESProductHost.h:93
ConfigurationDescriptions
RPCCPPFLinkMapRcd
Definition:
RPCCPPFLinkMapRcd.h:6
edm::ESProducer
Definition:
ESProducer.h:101
ESProductHost.h
RPCInverseAMCLinkMap.h
Generated for CMSSW Reference Manual by
1.8.16