Geometry
EcalTestBeam
plugins
EcalTBHodoscopeGeometryEP.h
Go to the documentation of this file.
1
#ifndef GEOMETRY_ECALEVENTSETUP_ECALTBHODOSCOPEGEOMETRYEPEP_H
2
#define GEOMETRY_ECALEVENTSETUP_ECALTBHODOSCOPEGEOMETRYEPEP_H 1
3
4
// system include files
5
#include <memory>
6
7
// user include files
8
#include "
FWCore/Framework/interface/ModuleFactory.h
"
9
#include "
FWCore/Framework/interface/ESProducer.h
"
10
11
#include "
FWCore/Framework/interface/ESTransientHandle.h
"
12
#include "
FWCore/Utilities/interface/ESGetToken.h
"
13
14
#include "
Geometry/Records/interface/IdealGeometryRecord.h
"
15
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
16
#include "
DetectorDescription/Core/interface/DDCompactView.h
"
17
#include "
Geometry/EcalTestBeam/plugins/EcalTBHodoscopeGeometryLoaderFromDDD.h
"
18
19
//
20
// class declaration
21
//
22
23
class
EcalTBHodoscopeGeometryEP
:
public
edm::ESProducer
{
24
public
:
25
EcalTBHodoscopeGeometryEP
(
const
edm::ParameterSet
&);
26
~EcalTBHodoscopeGeometryEP
()
override
=
default
;
27
28
typedef
std::unique_ptr<CaloSubdetectorGeometry>
ReturnType
;
29
30
ReturnType
produce
(
const
IdealGeometryRecord
&);
31
32
private
:
33
// ----------member data ---------------------------
34
EcalTBHodoscopeGeometryLoaderFromDDD
loader_
;
35
edm::ESGetToken<DDCompactView, IdealGeometryRecord>
cpvToken_
;
36
};
37
38
#endif
ESTransientHandle.h
EcalTBHodoscopeGeometryEP::produce
ReturnType produce(const IdealGeometryRecord &)
Definition:
EcalTBHodoscopeGeometryEP.cc:39
ESProducer.h
ESGetToken.h
DDCompactView.h
EcalTBHodoscopeGeometryEP::~EcalTBHodoscopeGeometryEP
~EcalTBHodoscopeGeometryEP() override=default
EcalTBHodoscopeGeometryLoaderFromDDD.h
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:36
IdealGeometryRecord.h
edm::ESGetToken< DDCompactView, IdealGeometryRecord >
EcalTBHodoscopeGeometryEP
Definition:
EcalTBHodoscopeGeometryEP.h:23
ModuleFactory.h
EcalTBHodoscopeGeometryLoaderFromDDD
Definition:
EcalTBHodoscopeGeometryLoaderFromDDD.h:22
EcalTBHodoscopeGeometryEP::cpvToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
Definition:
EcalTBHodoscopeGeometryEP.h:35
EcalTBHodoscopeGeometryEP::ReturnType
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
Definition:
EcalTBHodoscopeGeometryEP.h:28
edm::ESProducer
Definition:
ESProducer.h:101
EcalTBHodoscopeGeometryEP::loader_
EcalTBHodoscopeGeometryLoaderFromDDD loader_
Definition:
EcalTBHodoscopeGeometryEP.h:34
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:27
EcalTBHodoscopeGeometryEP::EcalTBHodoscopeGeometryEP
EcalTBHodoscopeGeometryEP(const edm::ParameterSet &)
Definition:
EcalTBHodoscopeGeometryEP.cc:31
Generated for CMSSW Reference Manual by
1.8.16