src
DetectorDescription
Core
interface
Polyhedra.h
Go to the documentation of this file.
1
#ifndef DDI_Polyhedra_h
2
#define DDI_Polyhedra_h
3
4
#include <iosfwd>
5
#include <vector>
6
7
#include "
Solid.h
"
8
9
namespace
DDI
{
10
11
class
Polyhedra
:
public
Solid
{
12
public
:
13
Polyhedra
(
int
sides,
14
double
startPhi,
15
double
deltaPhi
,
16
const
std::vector<double> &z,
17
const
std::vector<double> &rmin,
18
const
std::vector<double> &rmax);
19
20
Polyhedra
(
int
sides,
double
startPhi,
double
deltaPhi
,
const
std::vector<double> &z,
const
std::vector<double> &r);
21
22
double
volume
()
const override
;
23
void
stream
(std::ostream &)
const override
;
24
};
25
}
// namespace DDI
26
#endif // DDI_Polyhedra_h
Solid.h
DDI
Definition:
Assembly.h:7
DDI::Polyhedra::Polyhedra
Polyhedra(int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Definition:
Polyhedra.cc:19
DDI::Solid
Definition:
Solid.h:10
DDI::Polyhedra::volume
double volume() const override
Definition:
Polyhedra.cc:56
srCondWrite_cfg.deltaPhi
deltaPhi
Definition:
srCondWrite_cfg.py:54
DDI::Polyhedra
Definition:
Polyhedra.h:11
DDI::Polyhedra::stream
void stream(std::ostream &) const override
Definition:
Polyhedra.cc:164
Generated for CMSSW Reference Manual by
1.8.14