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
FastSimulation
SimplifiedGeometryPropagator
src
SimplifiedGeometry.cc
Go to the documentation of this file.
1
#include "
FastSimulation/SimplifiedGeometryPropagator/interface/SimplifiedGeometry.h
"
2
3
#include <iostream>
4
#include <TH1F.h>
5
6
std::ostream&
fastsim::operator<<
(std::ostream& os,
const
SimplifiedGeometry
&
layer
) {
7
os << (
layer
.isForward() ?
"ForwardSimplifiedGeometry"
:
"BarrelSimplifiedGeometry"
) <<
" index="
<<
layer
.index_
8
<< (
layer
.isForward() ?
" z="
:
" radius="
) <<
layer
.geomProperty_;
9
return
os;
10
}
11
12
// note: define destructor and constructor in .cc file,
13
// otherwise one cannot forward declare TH1F in the header file
14
// w/o compilation issues
15
fastsim::SimplifiedGeometry::~SimplifiedGeometry
() {}
16
17
fastsim::SimplifiedGeometry::SimplifiedGeometry
(
double
geomProperty)
18
: geomProperty_(geomProperty),
19
index_(-1),
20
detLayer_(nullptr),
21
nuclearInteractionThicknessFactor_(1.),
22
caloType_(
fastsim
::
SimplifiedGeometry
::
NONE
) {}
fastsim::SimplifiedGeometry
Implementation of a generic detector layer (base class for forward/barrel layers).
Definition:
SimplifiedGeometry.h:35
SimplifiedGeometry.h
fastsim
Definition:
BarrelSimplifiedGeometry.h:15
fastsim::operator<<
std::ostream & operator<<(std::ostream &os, const fastsim::Geometry &geometry)
Definition:
Geometry.cc:160
nano_mu_digi_cff.layer
layer
Definition:
nano_mu_digi_cff.py:28
fastsim::SimplifiedGeometry::SimplifiedGeometry
SimplifiedGeometry(double geomProperty)
Default constructor.
Definition:
SimplifiedGeometry.cc:17
NONE
Definition:
TkAlStyle.h:43
fastsim::SimplifiedGeometry::~SimplifiedGeometry
virtual ~SimplifiedGeometry()
Default destructor.
Definition:
SimplifiedGeometry.cc:15
Generated for CMSSW Reference Manual by
1.8.14