src
DetectorDescription
Core
src
Shapeless.h
Go to the documentation of this file.
1
#ifndef DDI_Shapeless_h
2
#define DDI_Shapeless_h
3
4
#include <iostream>
5
#include "
DetectorDescription/Core/interface/Solid.h
"
6
7
namespace
DDI
{
8
9
class
Shapeless
:
public
Solid
{
10
public
:
11
Shapeless
() :
Solid
(
DDSolidShape
::
ddshapeless
) {}
12
double
volume
()
const override
{
return
0; }
13
void
stream
(std::ostream& os)
const override
{ os <<
" shapeless"
; }
14
};
15
}
// namespace DDI
16
#endif
DDI::Shapeless
Definition:
Shapeless.h:9
DDI::Shapeless::stream
void stream(std::ostream &os) const override
Definition:
Shapeless.h:13
Solid.h
DDSolidShape::ddshapeless
DDI::Shapeless::volume
double volume() const override
Definition:
Shapeless.h:12
DDI
Definition:
Assembly.h:7
DDSolidShape
DDSolidShape
Definition:
DDSolidShapes.h:6
DDI::Solid
Definition:
Solid.h:10
DDI::Shapeless::Shapeless
Shapeless()
Definition:
Shapeless.h:11
Generated for CMSSW Reference Manual by
1.8.14