#include <Polyhedra.h>
Public Member Functions | |
Polyhedra (int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax) | |
Polyhedra (int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &r) | |
void | stream (std::ostream &) const |
double | volume () const |
Public Member Functions inherited from DDI::Solid | |
const std::vector< double > & | parameters () const |
void | setParameters (std::vector< double > const &p) |
DDSolidShape | shape () const |
Solid () | |
Solid (DDSolidShape shape) | |
virtual | ~Solid () |
Additional Inherited Members | |
Protected Attributes inherited from DDI::Solid | |
std::vector< double > | p_ |
DDSolidShape | shape_ |
Definition at line 11 of file Polyhedra.h.
Polyhedra::Polyhedra | ( | int | sides, |
double | startPhi, | ||
double | deltaPhi, | ||
const std::vector< double > & | z, | ||
const std::vector< double > & | rmin, | ||
const std::vector< double > & | rmax | ||
) |
Definition at line 18 of file Polyhedra.cc.
References Exception, i, and DDI::Solid::p_.
Polyhedra::Polyhedra | ( | int | sides, |
double | startPhi, | ||
double | deltaPhi, | ||
const std::vector< double > & | z, | ||
const std::vector< double > & | r | ||
) |
Definition at line 42 of file Polyhedra.cc.
References Exception, i, and DDI::Solid::p_.
|
virtual |
Reimplemented from DDI::Solid.
Definition at line 155 of file Polyhedra.cc.
References gen::k, and DDI::Solid::p_.
|
virtual |
Reimplemented from DDI::Solid.
Definition at line 63 of file Polyhedra.cc.
References a, alpha, beta, funct::cos(), ddpolyhedra_rrz, allConversions_cfi::dz, HcalTopologyMode::H2, i, createfilelist::int, j, heppy_loop::loop, DDI::Solid::p_, alignCSCRings::s, DDI::Solid::shape(), and funct::sin().