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