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
public
:
21
EcalElectronicsMappingBuilder
(
const
edm::ParameterSet
&);
22
23
using
ReturnType
= std::unique_ptr<EcalElectronicsMapping>;
24
25
ReturnType
produce
(
const
EcalMappingRcd
&);
26
27
private
:
28
void
FillFromDatabase
(
const
std::vector<EcalMappingElement>& ee,
EcalElectronicsMapping
& theMap);
29
30
edm::ESGetToken<EcalMappingElectronics, EcalMappingElectronicsRcd>
eeToken_
;
31
};
32
#endif
EcalElectronicsMapping
Definition:
EcalElectronicsMapping.h:28
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESProducer.h
ESGetToken.h
EcalMappingElectronics.h
EcalElectronicsMappingBuilder::EcalElectronicsMappingBuilder
EcalElectronicsMappingBuilder(const edm::ParameterSet &)
Definition:
EcalElectronicsMappingBuilder.cc:9
EcalMappingRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
EcalElectronicsMapping.h
EcalElectronicsMappingBuilder::FillFromDatabase
void FillFromDatabase(const std::vector< EcalMappingElement > &ee, EcalElectronicsMapping &theMap)
Definition:
EcalElectronicsMappingBuilder.cc:24
EcalElectronicsMappingBuilder
Definition:
EcalElectronicsMappingBuilder.h:19
edm::ESGetToken
Definition:
EventSetup.h:48
EcalElectronicsMappingBuilder::ReturnType
std::unique_ptr< EcalElectronicsMapping > ReturnType
Definition:
EcalElectronicsMappingBuilder.h:23
ModuleFactory.h
EcalMappingRcd
Definition:
EcalMappingRcd.h:15
EcalElectronicsMappingBuilder::eeToken_
edm::ESGetToken< EcalMappingElectronics, EcalMappingElectronicsRcd > eeToken_
Definition:
EcalElectronicsMappingBuilder.h:30
edm::ESProducer
Definition:
ESProducer.h:101
EcalElectronicsMappingBuilder::produce
ReturnType produce(const EcalMappingRcd &)
Definition:
EcalElectronicsMappingBuilder.cc:14
Generated for CMSSW Reference Manual by
1.8.16