Main Page
Namespaces
Classes
Package Documentation
Geometry
EcalMapping
plugins
EcalElectronicsMappingBuilder.h
Go to the documentation of this file.
1
#ifndef Geometry_EcalMapping_EcalElectronicsMappingBuilder
2
#define Geometry_EcalMapping_EcalElectronicsMappingBuilder
3
4
#include <memory>
5
#include <vector>
6
7
#include "
FWCore/Framework/interface/ModuleFactory.h
"
8
#include "
FWCore/Framework/interface/ESProducer.h
"
9
#include "
FWCore/Utilities/interface/ESGetToken.h
"
10
11
#include "
Geometry/EcalMapping/interface/EcalMappingRcd.h
"
12
#include "
Geometry/EcalMapping/interface/EcalElectronicsMapping.h
"
13
#include "
CondFormats/EcalObjects/interface/EcalMappingElectronics.h
"
14
15
namespace
edm
{
16
class
ParameterSet
;
17
}
18
19
class
EcalElectronicsMappingBuilder
:
public
edm::ESProducer
20
{
21
public
:
22
EcalElectronicsMappingBuilder
(
const
edm::ParameterSet
&);
23
24
using
ReturnType
= std::unique_ptr<EcalElectronicsMapping>;
25
26
ReturnType
produce(
const
EcalMappingRcd
&);
27
28
private
:
29
void
FillFromDatabase(
const
std::vector<EcalMappingElement>& ee,
30
EcalElectronicsMapping
& theMap);
31
32
edm::ESGetToken<EcalMappingElectronics, EcalMappingElectronicsRcd>
eeToken_
;
33
};
34
#endif
EcalElectronicsMapping.h
ParameterSet
Definition:
Functions.h:16
EcalMappingElectronics.h
EcalMappingRcd
Definition:
EcalMappingRcd.h:17
edm::ESProducer
Definition:
ESProducer.h:99
edm::ESGetToken
Definition:
EventSetup.h:48
EcalMappingRcd.h
ESGetToken.h
EcalElectronicsMappingBuilder::ReturnType
std::unique_ptr< EcalElectronicsMapping > ReturnType
Definition:
EcalElectronicsMappingBuilder.h:24
EcalElectronicsMapping
Definition:
EcalElectronicsMapping.h:29
ESProducer.h
EcalElectronicsMappingBuilder
Definition:
EcalElectronicsMappingBuilder.h:19
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
EcalElectronicsMappingBuilder::eeToken_
edm::ESGetToken< EcalMappingElectronics, EcalMappingElectronicsRcd > eeToken_
Definition:
EcalElectronicsMappingBuilder.h:32
Generated for CMSSW Reference Manual by
1.8.11