Main Page
Namespaces
Classes
Package Documentation
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
5
// system include files
6
#include <memory>
7
8
// user include files
9
#include "
FWCore/Framework/interface/ModuleFactory.h
"
10
#include "
FWCore/Framework/interface/ESProducer.h
"
11
12
#include "
FWCore/Framework/interface/ESTransientHandle.h
"
13
#include "
FWCore/Utilities/interface/ESGetToken.h
"
14
15
#include "
Geometry/Records/interface/IdealGeometryRecord.h
"
16
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
17
#include "
DetectorDescription/Core/interface/DDCompactView.h
"
18
#include "
Geometry/EcalTestBeam/plugins/EcalTBHodoscopeGeometryLoaderFromDDD.h
"
19
20
//
21
// class declaration
22
//
23
24
class
EcalTBHodoscopeGeometryEP
:
public
edm::ESProducer
{
25
public
:
26
EcalTBHodoscopeGeometryEP
(
const
edm::ParameterSet
&);
27
~EcalTBHodoscopeGeometryEP
()
override
=
default
;
28
29
typedef
std::unique_ptr<CaloSubdetectorGeometry>
ReturnType
;
30
31
ReturnType
produce
(
const
IdealGeometryRecord
&);
32
33
private
:
34
35
// ----------member data ---------------------------
36
EcalTBHodoscopeGeometryLoaderFromDDD
loader_
;
37
edm::ESGetToken<DDCompactView, IdealGeometryRecord>
cpvToken_
;
38
};
39
40
41
42
#endif
EcalTBHodoscopeGeometryLoaderFromDDD.h
EcalTBHodoscopeGeometryEP::produce
ReturnType produce(const IdealGeometryRecord &)
Definition:
EcalTBHodoscopeGeometryEP.cc:42
EcalTBHodoscopeGeometryEP::cpvToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
Definition:
EcalTBHodoscopeGeometryEP.h:37
EcalTBHodoscopeGeometryEP::EcalTBHodoscopeGeometryEP
EcalTBHodoscopeGeometryEP(const edm::ParameterSet &)
Definition:
EcalTBHodoscopeGeometryEP.cc:31
edm::ESProducer
Definition:
ESProducer.h:99
EcalTBHodoscopeGeometryEP::loader_
EcalTBHodoscopeGeometryLoaderFromDDD loader_
Definition:
EcalTBHodoscopeGeometryEP.h:36
edm::ESGetToken< DDCompactView, IdealGeometryRecord >
ESGetToken.h
CaloSubdetectorGeometry.h
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:27
EcalTBHodoscopeGeometryLoaderFromDDD
Definition:
EcalTBHodoscopeGeometryLoaderFromDDD.h:23
EcalTBHodoscopeGeometryEP::ReturnType
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
Definition:
EcalTBHodoscopeGeometryEP.h:29
ESProducer.h
EcalTBHodoscopeGeometryEP::~EcalTBHodoscopeGeometryEP
~EcalTBHodoscopeGeometryEP() override=default
IdealGeometryRecord.h
EcalTBHodoscopeGeometryEP
Definition:
EcalTBHodoscopeGeometryEP.h:24
ESTransientHandle.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
DDCompactView.h
Generated for CMSSW Reference Manual by
1.8.11