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
DetectorDescription
Parser
src
DDLCone.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Parser/src/DDLCone.h
"
2
#include "
DetectorDescription/Core/interface/DDSolid.h
"
3
#include "
DetectorDescription/Core/interface/ClhepEvaluator.h
"
4
#include "
DetectorDescription/Parser/interface/DDLElementRegistry.h
"
5
#include "
DetectorDescription/Parser/src/DDLSolid.h
"
6
#include "
DetectorDescription/Parser/src/DDXMLElement.h
"
7
8
class
DDCompactView
;
9
10
DDLCone::DDLCone
(
DDLElementRegistry
* myreg) :
DDLSolid
(myreg) {}
11
12
void
DDLCone::processElement
(
const
std::string
&
name
,
const
std::string
& nmspace,
DDCompactView
& cpv) {
13
ClhepEvaluator
&
ev
=
myRegistry_
->
evaluator
();
14
DDXMLAttribute
atts =
getAttributeSet
();
15
16
DDSolid
ddcone =
DDSolidFactory::cons
(
getDDName
(nmspace),
17
ev
.eval(nmspace, atts.find(
"dz"
)->second),
18
ev
.eval(nmspace, atts.find(
"rMin1"
)->second),
19
ev
.eval(nmspace, atts.find(
"rMax1"
)->second),
20
ev
.eval(nmspace, atts.find(
"rMin2"
)->second),
21
ev
.eval(nmspace, atts.find(
"rMax2"
)->second),
22
ev
.eval(nmspace, atts.find(
"startPhi"
)->second),
23
ev
.eval(nmspace, atts.find(
"deltaPhi"
)->second));
24
25
DDLSolid::setReference
(nmspace, cpv);
26
}
DDLSolid::setReference
void setReference(const std::string &nmspace, DDCompactView &cpv)
Definition:
DDLSolid.cc:13
DDLSolid
DDLSolid processes Box elements.
Definition:
DDLSolid.h:30
ClhepEvaluator.h
DDLCone::processElement
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Definition:
DDLCone.cc:12
DDLElementRegistry
The main class for processing parsed elements.
Definition:
DDLElementRegistry.h:23
ClhepEvaluator
Definition:
ClhepEvaluator.h:8
DDSolidFactory::cons
static DDSolid cons(const DDName &name, double zhalf, double rInMinusZ, double rOutMinusZ, double rInPlusZ, double rOutPlusZ, double phiFrom, double deltaPhi)
Definition:
DDSolid.cc:650
DDXMLElement::getAttributeSet
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
Definition:
DDXMLElement.cc:54
DDLElementRegistry::evaluator
ClhepEvaluator & evaluator()
Definition:
DDLElementRegistry.h:42
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:81
DDSolid.h
DDLCone.h
DDXMLAttribute
std::map< std::string, std::string > DDXMLAttribute
Definition:
DDXMLElement.h:45
DDLCone::DDLCone
DDLCone(DDLElementRegistry *myreg)
Definition:
DDLCone.cc:10
DDLElementRegistry.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DDLSolid.h
DDXMLElement::getDDName
const virtual DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
Definition:
DDXMLElement.cc:56
DDXMLElement.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:97
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
DDSolid
A DDSolid represents the shape of a part.
Definition:
DDSolid.h:39
DDXMLElement::myRegistry_
DDLElementRegistry * myRegistry_
Definition:
DDXMLElement.h:173
Generated for CMSSW Reference Manual by
1.8.16