src
Geometry
HcalEventSetup
interface
HcalHardcodeGeometryEP.h
Go to the documentation of this file.
1
#ifndef Geometry_HcalEventSetup_HcalHardcodeGeometryEP_H
2
#define Geometry_HcalEventSetup_HcalHardcodeGeometryEP_H 1
3
4
#include <memory>
5
6
#include "
FWCore/Framework/interface/ESProducer.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Utilities/interface/ESGetToken.h
"
9
10
class
CaloSubdetectorGeometry
;
11
class
HcalRecNumberingRecord
;
12
class
HcalGeometryRecord
;
13
class
HcalDDDRecConstants
;
14
class
HcalTopology
;
15
16
class
HcalHardcodeGeometryEP
:
public
edm::ESProducer
{
17
public
:
18
HcalHardcodeGeometryEP
(
const
edm::ParameterSet
&);
19
20
using
ReturnType
= std::unique_ptr<CaloSubdetectorGeometry>;
21
22
ReturnType
produceAligned
(
const
HcalGeometryRecord
&);
23
24
private
:
25
edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord>
consToken_
;
26
edm::ESGetToken<HcalTopology, HcalRecNumberingRecord>
topologyToken_
;
27
bool
useOld_
;
28
};
29
#endif
HcalHardcodeGeometryEP::HcalHardcodeGeometryEP
HcalHardcodeGeometryEP(const edm::ParameterSet &)
Definition:
HcalHardcodeGeometryEP.cc:32
HcalHardcodeGeometryEP
Definition:
HcalHardcodeGeometryEP.h:16
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
HcalHardcodeGeometryEP::ReturnType
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
Definition:
HcalHardcodeGeometryEP.h:20
HcalTopology
Definition:
HcalTopology.h:26
HcalHardcodeGeometryEP::useOld_
bool useOld_
Definition:
HcalHardcodeGeometryEP.h:27
HcalHardcodeGeometryEP::topologyToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topologyToken_
Definition:
HcalHardcodeGeometryEP.h:26
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord >
HcalGeometryRecord
Definition:
HcalGeometryRecord.h:23
HcalHardcodeGeometryEP::consToken_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > consToken_
Definition:
HcalHardcodeGeometryEP.h:25
HcalHardcodeGeometryEP::produceAligned
ReturnType produceAligned(const HcalGeometryRecord &)
Definition:
HcalHardcodeGeometryEP.cc:43
HcalDDDRecConstants
Definition:
HcalDDDRecConstants.h:23
HcalRecNumberingRecord
Definition:
HcalRecNumberingRecord.h:23
edm::ParameterSet
Definition:
ParameterSet.h:47
ESGetToken.h
Generated for CMSSW Reference Manual by
1.8.14