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
n
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
c
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
src
SimG4CMS
HGCalTestBeam
interface
AHCalGeometry.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HGCalTestBeam_AHCALGEOMETRY_H
2
#define SimG4CMS_HGCalTestBeam_AHCALGEOMETRY_H 1
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
SimG4CMS/HGCalTestBeam/interface/AHCalDetId.h
"
6
#include "
Geometry/HGCalCommonData/interface/AHCalParameters.h
"
7
12
class
AHCalGeometry
{
13
public
:
15
AHCalGeometry
(
edm::ParameterSet
const
&);
16
AHCalGeometry
() =
delete
;
17
~AHCalGeometry
() {}
18
20
int
maxDepth
()
const
{
return
ahcal_
->maxDepth(); }
21
23
std::pair<double, double>
getXY
(
const
AHCalDetId
&
id
)
const
;
24
double
getZ
(
const
AHCalDetId
&
id
)
const
;
25
26
private
:
27
std::unique_ptr<AHCalParameters>
ahcal_
;
28
};
29
#endif
ParameterSet.h
AHCalDetId.h
AHCalGeometry::getZ
double getZ(const AHCalDetId &id) const
Definition:
AHCalGeometry.cc:16
AHCalParameters.h
AHCalGeometry::ahcal_
std::unique_ptr< AHCalParameters > ahcal_
Definition:
AHCalGeometry.h:27
AHCalGeometry::getXY
std::pair< double, double > getXY(const AHCalDetId &id) const
get the local coordinate in the plane and along depth
Definition:
AHCalGeometry.cc:8
AHCalGeometry::maxDepth
int maxDepth() const
get maximum number of layers
Definition:
AHCalGeometry.h:20
AHCalGeometry
Definition:
AHCalGeometry.h:12
AHCalDetId
Definition:
AHCalDetId.h:13
AHCalGeometry::~AHCalGeometry
~AHCalGeometry()
Definition:
AHCalGeometry.h:17
edm::ParameterSet
Definition:
ParameterSet.h:48
AHCalGeometry::AHCalGeometry
AHCalGeometry()=delete
Generated for CMSSW Reference Manual by
1.8.14