Geometry
EcalTestBeam
plugins
EcalTBGeometryBuilder.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: EcalTBGeometryBuilder
4
// Class: EcalTBGeometryBuilder
5
//
13
//
14
// Original Author: Jeremiah Mans
15
// Created: Mon Oct 3 11:35:27 CDT 2005
16
//
17
//
18
19
// system include files
20
#include <memory>
21
22
// user include files
23
#include "
FWCore/Framework/interface/ESProducer.h
"
24
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Utilities/interface/ESGetToken.h
"
27
#include "
Geometry/Records/interface/IdealGeometryRecord.h
"
28
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
29
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
30
31
//
32
// class decleration
33
//
34
35
class
EcalTBGeometryBuilder
:
public
edm::ESProducer
{
36
public
:
37
EcalTBGeometryBuilder
(
const
edm::ParameterSet
&);
38
~EcalTBGeometryBuilder
()
override
;
39
40
typedef
std::unique_ptr<CaloGeometry>
ReturnType
;
41
42
ReturnType
produce
(
const
IdealGeometryRecord
&);
43
44
private
:
45
// ----------member data ---------------------------
46
edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord>
barrelToken_
;
47
edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord>
hodoscopeToken_
;
48
};
EcalTBGeometryBuilder::ReturnType
std::unique_ptr< CaloGeometry > ReturnType
Definition:
EcalTBGeometryBuilder.h:40
EcalTBGeometryBuilder::barrelToken_
edm::ESGetToken< CaloSubdetectorGeometry, IdealGeometryRecord > barrelToken_
Definition:
EcalTBGeometryBuilder.h:46
ESProducer.h
EcalTBGeometryBuilder::hodoscopeToken_
edm::ESGetToken< CaloSubdetectorGeometry, IdealGeometryRecord > hodoscopeToken_
Definition:
EcalTBGeometryBuilder.h:47
ESGetToken.h
EcalTBGeometryBuilder::produce
ReturnType produce(const IdealGeometryRecord &)
Definition:
EcalTBGeometryBuilder.cc:45
EcalTBGeometryBuilder::EcalTBGeometryBuilder
EcalTBGeometryBuilder(const edm::ParameterSet &)
Definition:
EcalTBGeometryBuilder.cc:27
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:47
IdealGeometryRecord.h
EcalTBGeometryBuilder
Definition:
EcalTBGeometryBuilder.h:35
edm::ESGetToken< CaloSubdetectorGeometry, IdealGeometryRecord >
CaloGeometry.h
EcalTBGeometryBuilder::~EcalTBGeometryBuilder
~EcalTBGeometryBuilder() override
Definition:
EcalTBGeometryBuilder.cc:38
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:25
Generated for CMSSW Reference Manual by
1.8.16