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::ReturnType
std::unique_ptr< CaloTopology > ReturnType
Definition:
CaloTopologyBuilder.h:39
CaloTopologyBuilder::geometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
Definition:
CaloTopologyBuilder.h:45
CaloTopologyBuilder
Definition:
CaloTopologyBuilder.h:34
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
CaloTopologyBuilder::~CaloTopologyBuilder
~CaloTopologyBuilder() override
Definition:
CaloTopologyBuilder.cc:12
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
ESGetToken.h
CaloTopologyRecord
Definition:
CaloTopologyRecord.h:10
CaloTopologyBuilder::produceCalo
ReturnType produceCalo(const CaloTopologyRecord &)
Definition:
CaloTopologyBuilder.cc:19
CaloTopologyBuilder::CaloTopologyBuilder
CaloTopologyBuilder(const edm::ParameterSet &iP)
Definition:
CaloTopologyBuilder.cc:8
CaloGeometry.h
ESProducer.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CaloTopologyRecord.h
CaloTopology.h
Generated for CMSSW Reference Manual by
1.8.14