#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 override |
double | volume () const override |
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 ddpolyhedra_rrz, Exception, mps_fire::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 ddpolyhedra_rz, Exception, mps_fire::i, and DDI::Solid::p_.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 173 of file Polyhedra.cc.
References gen::k, and DDI::Solid::p_.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 63 of file Polyhedra.cc.
References a, alpha, pfBoostedDoubleSVAK8TagInfos_cfi::beta, funct::cos(), ddpolyhedra_rrz, PVValHelper::dz, HcalTopologyMode::H2, mps_fire::i, createfilelist::int, heppy_loop::loop, DDI::Solid::p_, alignCSCRings::s, DDI::Solid::shape(), and funct::sin().