Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
EcalTBHodoscopeGeometryLoaderFromDDD.h
EcalTBHodoscopeGeometryEP::produce
ReturnType produce(const IdealGeometryRecord &)
Definition:
EcalTBHodoscopeGeometryEP.cc:39
EcalTBHodoscopeGeometryEP::cpvToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
Definition:
EcalTBHodoscopeGeometryEP.h:35
EcalTBHodoscopeGeometryEP::EcalTBHodoscopeGeometryEP
EcalTBHodoscopeGeometryEP(const edm::ParameterSet &)
Definition:
EcalTBHodoscopeGeometryEP.cc:31
edm::ESProducer
Definition:
ESProducer.h:104
EcalTBHodoscopeGeometryEP::loader_
EcalTBHodoscopeGeometryLoaderFromDDD loader_
Definition:
EcalTBHodoscopeGeometryEP.h:34
edm::ESGetToken< DDCompactView, IdealGeometryRecord >
ESGetToken.h
CaloSubdetectorGeometry.h
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:25
EcalTBHodoscopeGeometryLoaderFromDDD
Definition:
EcalTBHodoscopeGeometryLoaderFromDDD.h:22
EcalTBHodoscopeGeometryEP::ReturnType
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
Definition:
EcalTBHodoscopeGeometryEP.h:28
ESProducer.h
EcalTBHodoscopeGeometryEP::~EcalTBHodoscopeGeometryEP
~EcalTBHodoscopeGeometryEP() override=default
IdealGeometryRecord.h
EcalTBHodoscopeGeometryEP
Definition:
EcalTBHodoscopeGeometryEP.h:23
ESTransientHandle.h
edm::ParameterSet
Definition:
ParameterSet.h:47
ModuleFactory.h
DDCompactView.h
Generated for CMSSW Reference Manual by
1.8.5