Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DetectorDescription
Core
src
Reflection.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Core/src/Reflection.h
"
2
3
DDI::Reflection::Reflection
(
const
DDSolid
&
s
)
4
:
Solid
(
ddreflected
), s_(s)
5
{ }
6
7
8
double
DDI::Reflection::volume
()
const
9
{
10
return
s_.isDefined().second ? s_.volume() : -1.;
11
}
12
13
14
void
DDI::Reflection::stream
(std::ostream & os)
const
15
{
16
os <<
" reflection solid of "
<< s_;
17
}
ddreflected
Definition:
DDSolidShapes.h:12
DDSolid
A DDSolid represents the shape of a part.
Definition:
DDSolid.h:35
DDI::Reflection::stream
void stream(std::ostream &) const
Definition:
Reflection.cc:14
DDI::Reflection::volume
double volume() const
Definition:
Reflection.cc:8
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
DDI::Reflection::Reflection
Reflection(const DDSolid &s)
Definition:
Reflection.cc:3
DDI::Solid
Definition:
Solid.h:10
Reflection.h
Generated for CMSSW Reference Manual by
1.8.5