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/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
RPCCPPFLinkMapRcd
;
21
class
RPCInverseCPPFLinkMapRcd
;
22
23
class
RPCInverseCPPFLinkMapESProducer
:
public
edm::ESProducer
{
24
public
:
25
explicit
RPCInverseCPPFLinkMapESProducer
(
edm::ParameterSet
const
& _config);
26
27
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& _descs);
28
29
std::shared_ptr<RPCInverseAMCLinkMap>
produce
(
RPCInverseCPPFLinkMapRcd
const
& _rcd);
30
31
private
:
32
using
HostType
=
edm::ESProductHost<RPCInverseAMCLinkMap, RPCCPPFLinkMapRcd>
;
33
34
void
setupRPCCPPFLinkMap
(
RPCCPPFLinkMapRcd
const
&,
RPCInverseAMCLinkMap
*);
35
36
edm::ReusableObjectHolder<HostType>
holder_
;
37
38
edm::ESGetToken<RPCAMCLinkMap, RPCCPPFLinkMapRcd>
es_rpc_cppf_l_map_token_
;
39
};
40
41
#endif // CondTools_RPC_RPCInverseCPPFLinkMapESProducer_h
RPCInverseCPPFLinkMapESProducer::setupRPCCPPFLinkMap
void setupRPCCPPFLinkMap(RPCCPPFLinkMapRcd const &, RPCInverseAMCLinkMap *)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:24
RPCInverseAMCLinkMap
Definition:
RPCInverseAMCLinkMap.h:9
RPCInverseCPPFLinkMapESProducer::RPCInverseCPPFLinkMapESProducer
RPCInverseCPPFLinkMapESProducer(edm::ParameterSet const &_config)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:14
ESHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESProducer.h
RPCInverseCPPFLinkMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &_descs)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:19
ESGetToken.h
RPCAMCLinkMap.h
edm::ReusableObjectHolder< HostType >
RPCInverseCPPFLinkMapESProducer::produce
std::shared_ptr< RPCInverseAMCLinkMap > produce(RPCInverseCPPFLinkMapRcd const &_rcd)
Definition:
RPCInverseCPPFLinkMapESProducer.cc:36
ReusableObjectHolder.h
RPCInverseCPPFLinkMapESProducer
Definition:
RPCInverseCPPFLinkMapESProducer.h:23
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
RPCInverseCPPFLinkMapESProducer::holder_
edm::ReusableObjectHolder< HostType > holder_
Definition:
RPCInverseCPPFLinkMapESProducer.h:36
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd >
RPCInverseCPPFLinkMapRcd
Definition:
RPCInverseCPPFLinkMapRcd.h:9
edm::ESProductHost
Definition:
ESProductHost.h:93
ConfigurationDescriptions
RPCCPPFLinkMapRcd
Definition:
RPCCPPFLinkMapRcd.h:6
edm::ESProducer
Definition:
ESProducer.h:104
ESProductHost.h
RPCInverseAMCLinkMap.h
RPCInverseCPPFLinkMapESProducer::es_rpc_cppf_l_map_token_
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > es_rpc_cppf_l_map_token_
Definition:
RPCInverseCPPFLinkMapESProducer.h:38
Generated for CMSSW Reference Manual by
1.8.16