#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 19 of file Polyhedra.cc.
References ddpolyhedra_rrz, SiPixelRawToDigiRegional_cfi::deltaPhi, 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 40 of file Polyhedra.cc.
References ddpolyhedra_rz, SiPixelRawToDigiRegional_cfi::deltaPhi, Exception, mps_fire::i, DDI::Solid::p_, and alignCSCRings::r.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 164 of file Polyhedra.cc.
References angle_units::operators::convertMmToCm(), angle_units::operators::convertRadToDeg(), and dqmdumpme::k.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 56 of file Polyhedra.cc.
References a, alpha, HLT_2022v12_cff::beta, funct::cos(), ddpolyhedra_rrz, PVValHelper::dz, HcalTopologyMode::H2, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, heppy_loop::loop, DDI::Solid::p_, alignCSCRings::s, fileinputsource_cfi::sec, DDI::Solid::shape(), and funct::sin().