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