Functions | |
template<class NumType > | |
std::enable_if<!std::numeric_limits< NumType >::is_integer, bool >::type | almostEqual (NumType x, NumType y, int ulp) |
template<class NumType > | |
constexpr NumType | convertCm2ToMm2 (NumType centimeters) |
template<class NumType > | |
constexpr NumType | convertCmToMm (NumType centimeters) |
template<class NumType > | |
constexpr double | convertDegToRad (NumType degrees) |
template<class NumType > | |
constexpr NumType | convertGeVToKeV (NumType gev) |
template<class NumType > | |
constexpr NumType | convertGeVToMeV (NumType gev) |
template<class NumType > | |
constexpr NumType | convertMeVToGeV (NumType mev) |
template<class NumType > | |
constexpr NumType | convertMm3ToM3 (NumType mm3) |
template<class NumType > | |
constexpr NumType | convertMmToCm (NumType millimeters) |
template<class NumType > | |
constexpr NumType | convertRadToDeg (NumType radians) |
constexpr double | operator"" _deg (long double deg) |
constexpr double | operator"" _deg (unsigned long long int deg) |
constexpr double | operator"" _pi (long double x) |
constexpr double | operator"" _pi (unsigned long long int x) |
constexpr double | operator"" _rad (long double rad) |
std::enable_if<!std::numeric_limits<NumType>::is_integer, bool>::type angle_units::operators::almostEqual | ( | NumType | x, |
NumType | y, | ||
int | ulp | ||
) |
Definition at line 33 of file angle_units.h.
References geometryDiff::epsilon, SiStripPI::min, and x.
Referenced by GeometricDet::GeometricDet().
|
inline |
Definition at line 56 of file angle_units.h.
|
inline |
Definition at line 50 of file angle_units.h.
|
inline |
Definition at line 27 of file angle_units.h.
References angle_units::degPerRad, and degrees().
Referenced by algorithm(), GeometricDet::computeLegacyShapeParameters(), CSCLayerGeometry::CSCLayerGeometry(), CSCWireTopology::CSCWireTopology(), DDHGCalWafer::execute(), DDHGCalWaferAlgo::execute(), DDTrackerIrregularRingAlgo::execute(), and HoughGrouping::initialise().
|
inline |
Definition at line 80 of file angle_units.h.
|
inline |
Definition at line 74 of file angle_units.h.
Referenced by ETLDeviceSim::getHitsResponse(), and BTLDeviceSim::getHitsResponse().
|
inline |
Definition at line 68 of file angle_units.h.
|
inline |
Definition at line 62 of file angle_units.h.
|
inline |
Definition at line 44 of file angle_units.h.
Referenced by algorithm(), EtlSimHitsValidation::analyze(), BtlSimHitsValidation::analyze(), EtlLocalRecoValidation::analyze(), BtlLocalRecoValidation::analyze(), MtdTracksValidation::analyze(), GEMGeometryBuilderFromCondDB::boundPlane(), ME0GeometryBuilder::boundPlane(), GEMGeometryBuilder::boundPlane(), HcalParametersFromDD::build(), ME0GeometryBuilderFromCondDB::build(), CSCGeometryParsFromDD::build(), ME0GeometryBuilder::buildChamber(), GEMGeometryBuilder::buildChamber(), GEMGeometryBuilderFromCondDB::buildEtaPartition(), ME0GeometryBuilder::buildEtaPartition(), GEMGeometryBuilder::buildEtaPartition(), RPCGeometryBuilder::buildGeometry(), ME0GeometryBuilder::buildGeometry(), ME0GeometryBuilder::buildLayer(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromCondDB::buildLayer(), HcalSimParametersFromDD::buildParameters(), GEMGeometryBuilder::buildSuperChamber(), CSCLayerGeometry::CSCLayerGeometry(), CSCWireTopology::CSCWireTopology(), MtdTruthAccumulator::fillSimHits(), ETLDeviceSim::getHitsResponse(), BTLDeviceSim::getHitsResponse(), dtGeometryBuilder::getRecPlaneBounds(), DDBHMAngular::initialize(), DTGeometryBuilderFromDDD::plane(), DTGeometryParsFromDD::plane(), GeometricDet::positionBounds(), GeometricTimingDet::positionBounds(), DDI::Sphere::stream(), DDI::Torus::stream(), DDI::Tubs::stream(), DDI::Cons::stream(), DDI::TruncTubs::stream(), DDI::Polycone::stream(), DDI::Box::stream(), DDI::Polyhedra::stream(), DDI::EllipticalTube::stream(), DDI::ExtrudedPolygon::stream(), DDI::CutTubs::stream(), DDI::Trap::stream(), and DDI::PseudoTrap::stream().
|
inline |
Definition at line 21 of file angle_units.h.
References angle_units::degPerRad.
Referenced by algorithm(), GEMEfficiencyAnalyzer::analyze(), MtdTracksValidation::analyze(), HGCalDDDConstants::assignCellTrap(), PrintGeomInfoAction::beginRun(), CmsMTDConstruction< FilteredView >::btlOrderPhi(), CmsMTDConstruction< FilteredView >::btlOrderZ(), HcalParametersFromDD::build(), HGCalParametersFromDD::build(), GEMEfficiencyAnalyzer::computeDeltaPhi(), DDCmsMTDConstruction::construct(), DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructGeneralVolume(), HCalEndcapAlgo::constructGeneralVolume(), DDHCalEndcapModuleAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule(), HCalEndcapModuleAlgo::constructInsideModule(), HCalEndcapAlgo::constructInsideModule(), DDHCalEndcapModuleAlgo::constructInsideModule0(), DDHCalEndcapAlgo::constructInsideModule0(), HCalEndcapModuleAlgo::constructInsideModule0(), HCalEndcapAlgo::constructInsideModule0(), DDHCalBarrelAlgo::constructInsideSector(), DDHCalEndcapAlgo::constructInsideSector(), HCalEndcapAlgo::constructInsideSector(), DDHGCalModule::constructLayers(), DDHGCalModuleAlgo::constructLayers(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHGCalHEFileAlgo::constructLayers(), DDHGCalEEFileAlgo::constructLayers(), DDHGCalMixLayer::constructLayers(), DDHGCalSiliconModule::constructLayers(), DDHGCalMixRotatedCassette::constructLayers(), DDHGCalMixRotatedLayer::constructLayers(), DDHGCalSiliconRotatedCassette::constructLayers(), DDHGCalSiliconRotatedModule::constructLayers(), HGCalEEAlgo::ConstructLayers(), DDHCalBarrelAlgo::constructMidLayer(), HcalBarrelAlgo::constructMidLayer(), DDHCalEndcapModuleAlgo::constructScintLayer(), DDHCalEndcapAlgo::constructScintLayer(), HCalEndcapModuleAlgo::constructScintLayer(), HCalEndcapAlgo::constructScintLayer(), DDHCalBarrelAlgo::constructSideLayer(), HcalBarrelAlgo::constructSideLayer(), DDcreateRotationMatrix(), Geom::Phi< float >::degrees(), DDHtmlRoDetails::details(), PrintG4Solids::dumpSummary(), PrintG4Touch::dumpTouch(), PrintGeomInfoAction::dumpTouch(), DDAngular::execute(), DDTotemAngular::execute(), DDHCalTestBeamAlgo::execute(), DDHCalXtalAlgo::execute(), DDHCalAngular::execute(), DDHCalTBZposAlgo::execute(), DDGEMAngular::execute(), DDMuonAngular::execute(), DDHCalTBCableAlgo::execute(), DDHCalFibreBundle::execute(), DDTrackerIrregularRingAlgo::execute(), SimG4HcalValidation::fill(), MaterialBudgetHcalHistos::fillPerStep(), MaterialBudgetHcalHistos::fillStartTrack(), formatAsDegrees(), formatAsDegreesInInteger(), HcalDDDRecConstants::getOneEtaBin(), HcalDDDSimConstants::getPhis(), HcalDDDRecConstants::getPhis(), HcalDDDRecConstants::getThickActive(), HcalBarrelAlgo::HcalBarrelAlgo(), HCalEndcapAlgo::HCalEndcapAlgo(), HGCalEEAlgo::HGCalEEAlgo(), HGCalEEFileAlgo::HGCalEEFileAlgo(), HGCalHEAlgo::HGCalHEAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalMixRotatedCassette::HGCalMixRotatedCassette(), HGCalMixRotatedLayer::HGCalMixRotatedLayer(), HGCalMouseBite::HGCalMouseBite(), HGCalSiliconModule::HGCalSiliconModule(), HGCalSiliconRotatedCassette::HGCalSiliconRotatedCassette(), HGCalSiliconRotatedModule::HGCalSiliconRotatedModule(), DDLinear::initialize(), DDAngular::initialize(), DDTotemAngular::initialize(), DDMTDLinear::initialize(), DDHCalTestBeamAlgo::initialize(), DDHCalXtalAlgo::initialize(), DDHCalAngular::initialize(), DDGEMAngular::initialize(), DDHCalTBZposAlgo::initialize(), DDMuonAngular::initialize(), DDBHMAngular::initialize(), DDHCalFibreBundle::initialize(), DDHGCalEEAlgo::initialize(), DDHGCalHEAlgo::initialize(), DDHGCalHEFileAlgo::initialize(), DDHGCalEEFileAlgo::initialize(), DDHGCalMixLayer::initialize(), DDHGCalSiliconModule::initialize(), DDHGCalMixRotatedLayer::initialize(), DDHGCalMixRotatedCassette::initialize(), DDHGCalSiliconRotatedCassette::initialize(), DDHGCalSiliconRotatedModule::initialize(), DDTrackerIrregularRingAlgo::initialize(), DDHCalEndcapAlgo::initialize(), HcalDDDRecConstants::initialize(), DDLRotationAndReflection::isLeftHanded(), HGCalDDDConstants::locateCellTrap(), operator<<(), output(), DDHCalEndcapModuleAlgo::parameterLayer(), DDHCalEndcapAlgo::parameterLayer(), HCalEndcapModuleAlgo::parameterLayer(), HCalEndcapAlgo::parameterLayer(), DDHCalEndcapModuleAlgo::parameterLayer0(), DDHCalEndcapAlgo::parameterLayer0(), HCalEndcapModuleAlgo::parameterLayer0(), HCalEndcapAlgo::parameterLayer0(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedCassette::positionMix(), DDHGCalMixRotatedLayer::positionMix(), HGCalMixLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), HGCalMixRotatedCassette::positionMix(), DDHGCalSiliconRotatedCassette::positionPassive(), HGCalSiliconRotatedCassette::positionPassive(), DDHGCalEEAlgo::positionSensitive(), DDHGCalSiliconRotatedCassette::positionSensitive(), DDHGCalSiliconRotatedModule::positionSensitive(), HGCalSiliconRotatedModule::positionSensitive(), HGCalSiliconRotatedCassette::positionSensitive(), printRot(), HcalDDDSimConstants::printTileHB(), HcalDDDSimConstants::printTileHE(), DDCoreToDDXMLOutput::rotation(), HGCalSD::setDetUnitId(), DDCoreToDDXMLOutput::solid(), DDI::Sphere::stream(), DDI::Torus::stream(), DDI::Tubs::stream(), DDI::Cons::stream(), DDI::TruncTubs::stream(), DDI::Polycone::stream(), DDI::Polyhedra::stream(), DDI::CutTubs::stream(), DDI::Trap::stream(), and MaterialBudgetHcalProducer::update().
constexpr double angle_units::operators::operator"" _deg | ( | long double | deg | ) |
constexpr double angle_units::operators::operator"" _deg | ( | unsigned long long int | deg | ) |
constexpr double angle_units::operators::operator"" _pi | ( | long double | x | ) |
Definition at line 14 of file angle_units.h.
constexpr double angle_units::operators::operator"" _pi | ( | unsigned long long int | x | ) |
Definition at line 15 of file angle_units.h.
constexpr double angle_units::operators::operator"" _rad | ( | long double | rad | ) |
Definition at line 18 of file angle_units.h.