Geometry
CaloEventSetup
plugins
CaloTopologyBuilder.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: CaloTopologyBuilder
4
// Class: CaloTopologyBuilder
5
//
13
//
14
// Original Author: Paolo Meridiani
15
//
16
//
17
18
// system include files
19
#include <memory>
20
21
// user include files
22
#include "
FWCore/Framework/interface/ESProducer.h
"
23
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/Utilities/interface/ESGetToken.h
"
26
#include "
Geometry/Records/interface/CaloTopologyRecord.h
"
27
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
28
#include "
Geometry/CaloTopology/interface/CaloTopology.h
"
29
30
//
31
// class decleration
32
//
33
34
class
CaloTopologyBuilder
:
public
edm::ESProducer
{
35
public
:
36
CaloTopologyBuilder
(
const
edm::ParameterSet
& iP);
37
~CaloTopologyBuilder
()
override
;
38
39
using
ReturnType
= std::unique_ptr<CaloTopology>;
40
41
ReturnType
produceCalo
(
const
CaloTopologyRecord
&);
42
43
private
:
44
// ----------member data ---------------------------
45
edm::ESGetToken<CaloGeometry, CaloGeometryRecord>
geometryToken_
;
46
};
CaloTopologyBuilder::CaloTopologyBuilder
CaloTopologyBuilder(const edm::ParameterSet &iP)
Definition:
CaloTopologyBuilder.cc:8
CaloTopologyBuilder::geometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
Definition:
CaloTopologyBuilder.h:45
CaloTopologyBuilder::~CaloTopologyBuilder
~CaloTopologyBuilder() override
Definition:
CaloTopologyBuilder.cc:12
ESProducer.h
CaloTopologyRecord
Definition:
CaloTopologyRecord.h:10
ESGetToken.h
CaloTopologyBuilder::produceCalo
ReturnType produceCalo(const CaloTopologyRecord &)
Definition:
CaloTopologyBuilder.cc:19
edm::ParameterSet
Definition:
ParameterSet.h:47
CaloTopologyBuilder::ReturnType
std::unique_ptr< CaloTopology > ReturnType
Definition:
CaloTopologyBuilder.h:39
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
CaloTopology.h
CaloTopologyRecord.h
CaloGeometry.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
CaloTopologyBuilder
Definition:
CaloTopologyBuilder.h:34
Generated for CMSSW Reference Manual by
1.8.16