Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Geometry
HcalEventSetup
src
CaloTowerTopologyEP.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: CaloTowerTopologyEP
4
// Class: CaloTowerTopologyEP
5
//
14
#include "
Geometry/HcalEventSetup/interface/CaloTowerTopologyEP.h
"
15
#include "
FWCore/Utilities/interface/Exception.h
"
16
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
17
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
19
20
//
21
// constants, enums and typedefs
22
//
23
24
//
25
// static data member definitions
26
//
27
28
//
29
// constructors and destructor
30
//
31
CaloTowerTopologyEP::CaloTowerTopologyEP
(
const
edm::ParameterSet
& conf)
32
: topoToken_{
setWhatProduced
(
this
).consumes<
HcalTopology
>(
edm::ESInputTag
{})} {
33
edm::LogInfo
(
"HCAL"
) <<
"CaloTowerTopologyEP::CaloTowerTopologyEP"
;
34
}
35
36
CaloTowerTopologyEP::~CaloTowerTopologyEP
() {}
37
38
void
CaloTowerTopologyEP::fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions) {
39
edm::ParameterSetDescription
desc
;
40
descriptions.
add
(
"CaloTowerTopology"
,
desc
);
41
}
42
43
//
44
// member functions
45
//
46
47
// ------------ method called to produce the data ------------
48
CaloTowerTopologyEP::ReturnType
CaloTowerTopologyEP::produce
(
const
HcalRecNumberingRecord
& iRecord) {
49
const
auto
& hcaltopo = iRecord.
get
(
topoToken_
);
50
51
edm::LogInfo
(
"HCAL"
) <<
"CaloTowerTopologyEP::produce(const HcalRecNumberingRecord& iRecord)"
;
52
53
return
std::make_unique<CaloTowerTopology>(&hcaltopo);
54
}
ConfigurationDescriptions.h
edm::ESInputTag
Definition:
ESInputTag.h:87
CaloTowerTopologyEP::CaloTowerTopologyEP
CaloTowerTopologyEP(const edm::ParameterSet &)
Definition:
CaloTowerTopologyEP.cc:31
MessageLogger.h
HcalTopology
Definition:
HcalTopology.h:26
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
edm::LogInfo
Log< level::Info, false > LogInfo
Definition:
MessageLogger.h:125
CaloTowerTopologyEP::ReturnType
std::unique_ptr< CaloTowerTopology > ReturnType
Definition:
CaloTowerTopologyEP.h:29
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition:
ConfigurationDescriptions.cc:57
CaloTowerTopologyEP.h
ParameterSetDescription.h
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition:
DependentRecordImplementation.h:103
HcalRecNumberingRecord
Definition:
HcalRecNumberingRecord.h:23
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
CaloTowerTopologyEP::topoToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken_
Definition:
CaloTowerTopologyEP.h:37
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
CaloTowerTopologyEP::produce
ReturnType produce(const HcalRecNumberingRecord &)
Definition:
CaloTowerTopologyEP.cc:48
CaloTowerTopologyEP::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CaloTowerTopologyEP.cc:38
Exception.h
CaloTowerTopologyEP::~CaloTowerTopologyEP
~CaloTowerTopologyEP() override
Definition:
CaloTowerTopologyEP.cc:36
Generated for CMSSW Reference Manual by
1.8.16