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/Framework/interface/ESHandle.h
"
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
#include "
FWCore/Utilities/interface/ESGetToken.h
"
28
#include "
Geometry/Records/interface/IdealGeometryRecord.h
"
29
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
30
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
31
32
//
33
// class decleration
34
//
35
36
class
EcalTBGeometryBuilder
:
public
edm::ESProducer
{
37
public
:
38
EcalTBGeometryBuilder
(
const
edm::ParameterSet
&);
39
~EcalTBGeometryBuilder
()
override
;
40
41
typedef
std::unique_ptr<CaloGeometry>
ReturnType
;
42
43
ReturnType
produce
(
const
IdealGeometryRecord
&);
44
45
private
:
46
// ----------member data ---------------------------
47
edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord>
barrelToken_
;
48
edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord>
hodoscopeToken_
;
49
};
EcalTBGeometryBuilder::ReturnType
std::unique_ptr< CaloGeometry > ReturnType
Definition:
EcalTBGeometryBuilder.h:41
ESHandle.h
EcalTBGeometryBuilder::barrelToken_
edm::ESGetToken< CaloSubdetectorGeometry, IdealGeometryRecord > barrelToken_
Definition:
EcalTBGeometryBuilder.h:47
ESProducer.h
EcalTBGeometryBuilder::hodoscopeToken_
edm::ESGetToken< CaloSubdetectorGeometry, IdealGeometryRecord > hodoscopeToken_
Definition:
EcalTBGeometryBuilder.h:48
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:36
IdealGeometryRecord.h
EcalTBGeometryBuilder
Definition:
EcalTBGeometryBuilder.h:36
edm::ESGetToken< CaloSubdetectorGeometry, IdealGeometryRecord >
CaloGeometry.h
EcalTBGeometryBuilder::~EcalTBGeometryBuilder
~EcalTBGeometryBuilder() override
Definition:
EcalTBGeometryBuilder.cc:38
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:27
Generated for CMSSW Reference Manual by
1.8.16