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
EcalTestBeam
plugins
EcalTBHodoscopeGeometryEP.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: EcalTBHodoscopeGeometryEP
4
// Class: EcalTBHodoscopeGeometryEP
5
//
13
//
14
15
//
16
//
17
18
#include "
Geometry/EcalTestBeam/plugins/EcalTBHodoscopeGeometryEP.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
EcalTBHodoscopeGeometryEP::EcalTBHodoscopeGeometryEP
(
const
edm::ParameterSet
& iConfig)
32
: cpvToken_{
setWhatProduced
(
this
,
"EcalLaserPnDiode"
).consumes<
DDCompactView
>(
edm::ESInputTag
{})} {}
33
34
//
35
// member functions
36
//
37
38
// ------------ method called to produce the data ------------
39
EcalTBHodoscopeGeometryEP::ReturnType
EcalTBHodoscopeGeometryEP::produce
(
const
IdealGeometryRecord
& iRecord) {
40
edm::ESTransientHandle<DDCompactView>
cpv = iRecord.
getTransientHandle
(
cpvToken_
);
41
42
LogDebug
(
"EcalTBHodoscopeGeometryEP"
) <<
"[EcalTBHodoscopeGeometryEP]::Constructing EcalTBHodoscopeGeometry"
;
43
return
std::unique_ptr<CaloSubdetectorGeometry>(
loader_
.
load
(&(*cpv)));
44
}
edm::ESInputTag
Definition:
ESInputTag.h:87
EcalTBHodoscopeGeometryEP::produce
ReturnType produce(const IdealGeometryRecord &)
Definition:
EcalTBHodoscopeGeometryEP.cc:39
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
EcalTBHodoscopeGeometryEP.h
EcalTBHodoscopeGeometryLoaderFromDDD::load
std::unique_ptr< CaloSubdetectorGeometry > load(const DDCompactView *cpv)
Definition:
EcalTBHodoscopeGeometryLoaderFromDDD.cc:21
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:81
edm::eventsetup::DependentRecordImplementation::getTransientHandle
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition:
DependentRecordImplementation.h:98
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:233
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::ESTransientHandle
Definition:
ESTransientHandle.h:41
EcalTBHodoscopeGeometryEP::cpvToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
Definition:
EcalTBHodoscopeGeometryEP.h:35
EcalTBHodoscopeGeometryEP::ReturnType
std::unique_ptr< CaloSubdetectorGeometry > ReturnType
Definition:
EcalTBHodoscopeGeometryEP.h:28
EcalTBHodoscopeGeometryEP::loader_
EcalTBHodoscopeGeometryLoaderFromDDD loader_
Definition:
EcalTBHodoscopeGeometryEP.h:34
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:25
EcalTBHodoscopeGeometryEP::EcalTBHodoscopeGeometryEP
EcalTBHodoscopeGeometryEP(const edm::ParameterSet &)
Definition:
EcalTBHodoscopeGeometryEP.cc:31
Generated for CMSSW Reference Manual by
1.8.16