#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) | |
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 void | stream (std::ostream &) const |
virtual | ~Solid () |
Additional Inherited Members | |
Protected Attributes inherited from DDI::Solid | |
std::vector< double > | p_ |
DDSolidShape | shape_ |
Definition at line 8 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 12 of file Polyhedra.cc.
References edm::hlt::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 36 of file Polyhedra.cc.
References edm::hlt::Exception, i, and DDI::Solid::p_.
|
virtual |
Reimplemented from DDI::Solid.
Definition at line 57 of file Polyhedra.cc.
References a, alpha, beta, funct::cos(), DCOUT, ddpolyhedra_rrz, HcalTopologyMode::H2, i, j, python.cmstools::loop(), m, DDI::Solid::p_, alignCSCRings::s, DDI::Solid::shape(), funct::sin(), and detailsBasic3DVector::z.