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/Utilities/interface/ReusableObjectHolder.h
"
9
10
#include "
CondFormats/RPCObjects/interface/RPCInverseLBLinkMap.h
"
11
12
namespace
edm
{
13
class
ParameterSet
;
14
class
ConfigurationDescriptions
;
15
}
// namespace edm
16
17
class
RPCLBLinkMapRcd
;
18
class
RPCInverseLBLinkMapRcd
;
19
20
class
RPCInverseLBLinkMapESProducer
:
public
edm::ESProducer
{
21
public
:
22
explicit
RPCInverseLBLinkMapESProducer
(
edm::ParameterSet
const
& _config);
23
24
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& _descs);
25
26
std::shared_ptr<RPCInverseLBLinkMap>
produce
(
RPCInverseLBLinkMapRcd
const
& _rcd);
27
28
private
:
29
using
HostType
=
edm::ESProductHost<RPCInverseLBLinkMap, RPCLBLinkMapRcd>
;
30
31
void
setupRPCLBLinkMap
(
RPCLBLinkMapRcd
const
&,
RPCInverseLBLinkMap
*);
32
33
edm::ReusableObjectHolder<HostType>
holder_
;
34
};
35
36
#endif // CondTools_RPC_RPCInverseLBLinkMapESProducer_h
RPCInverseLBLinkMapESProducer
Definition:
RPCInverseLBLinkMapESProducer.h:20
RPCInverseLBLinkMapESProducer::RPCInverseLBLinkMapESProducer
RPCInverseLBLinkMapESProducer(edm::ParameterSet const &_config)
Definition:
RPCInverseLBLinkMapESProducer.cc:14
edm
HLT enums.
Definition:
AlignableModifier.h:19
RPCInverseLBLinkMap
Definition:
RPCInverseLBLinkMap.h:11
ESProducer.h
edm::ReusableObjectHolder< HostType >
ReusableObjectHolder.h
RPCInverseLBLinkMap.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
RPCInverseLBLinkMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &_descs)
Definition:
RPCInverseLBLinkMapESProducer.cc:18
RPCInverseLBLinkMapESProducer::produce
std::shared_ptr< RPCInverseLBLinkMap > produce(RPCInverseLBLinkMapRcd const &_rcd)
Definition:
RPCInverseLBLinkMapESProducer.cc:36
RPCInverseLBLinkMapESProducer::setupRPCLBLinkMap
void setupRPCLBLinkMap(RPCLBLinkMapRcd const &, RPCInverseLBLinkMap *)
Definition:
RPCInverseLBLinkMapESProducer.cc:23
RPCInverseLBLinkMapRcd
Definition:
RPCInverseLBLinkMapRcd.h:9
RPCLBLinkMapRcd
Definition:
RPCLBLinkMapRcd.h:6
edm::ESProductHost
Definition:
ESProductHost.h:93
ConfigurationDescriptions
edm::ESProducer
Definition:
ESProducer.h:101
RPCInverseLBLinkMapESProducer::holder_
edm::ReusableObjectHolder< HostType > holder_
Definition:
RPCInverseLBLinkMapESProducer.h:33
ESProductHost.h
Generated for CMSSW Reference Manual by
1.8.16