Functions | |
template<class NumType > | |
constexpr NumType | convertCmToMm (NumType centimeters) |
template<class NumType > | |
constexpr long double | convertDegToRad (NumType degrees) |
template<class NumType > | |
constexpr NumType | convertMm3ToM3 (NumType mm3) |
template<class NumType > | |
constexpr NumType | convertMmToCm (NumType millimeters) |
template<class NumType > | |
constexpr NumType | convertRadToDeg (NumType radians) |
template<class NumType > | |
constexpr NumType | convertUnitsTo (long double desiredUnits, NumType val) |
constexpr long double | operator""_cm (long double length) |
constexpr long double | operator""_cm3 (long double length) |
constexpr long double | operator""_deg (long double deg) |
constexpr long double | operator""_deg (unsigned long long int deg) |
constexpr long double | operator""_eV (long double energy) |
constexpr long double | operator""_g (long double mass) |
constexpr long double | operator""_g_per_cm3 (long double density) |
constexpr long double | operator""_g_per_mole (long double mass) |
constexpr long double | operator""_GeV (long double energy) |
constexpr long double | operator""_kg (long double mass) |
constexpr long double | operator""_m (long double length) |
constexpr long double | operator""_m3 (long double length) |
constexpr long double | operator""_MeV (long double energy) |
constexpr long double | operator""_mg (long double mass) |
constexpr long double | operator""_mg_per_cm3 (long double density) |
constexpr long double | operator""_mm (long double length) |
constexpr long double | operator""_mole (long double mass) |
constexpr long double | operator""_ns (long double x) |
constexpr long double | operator""_pi (long double x) |
constexpr long double | operator""_pi (unsigned long long int x) |
constexpr long double | operator""_rad (long double rad) |
constexpr long double | operator""_s (long double x) |
constexpr long double | operator""_TeV (long double energy) |
|
inline |
Definition at line 116 of file GeantUnits.h.
|
inline |
Definition at line 104 of file GeantUnits.h.
Referenced by algorithm(), CSCLayerGeometry::CSCLayerGeometry(), CSCWireTopology::CSCWireTopology(), DDHGCalWaferAlgo::execute(), and DDHGCalWafer::execute().
|
inline |
Definition at line 122 of file GeantUnits.h.
|
inline |
Definition at line 110 of file GeantUnits.h.
Referenced by EtlSimHitsValidation::analyze(), BtlSimHitsValidation::analyze(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromCondDB::buildLayer(), CSCLayerGeometry::CSCLayerGeometry(), CSCWireTopology::CSCWireTopology(), dtGeometryBuilder::getRecPlaneBounds(), DTGeometryParsFromDD::plane(), DTGeometryBuilderFromDDD::plane(), DDI::Tubs::stream(), DDI::Sphere::stream(), DDI::Cons::stream(), DDI::Torus::stream(), DDI::CutTubs::stream(), DDI::Trap::stream(), DDI::TruncTubs::stream(), DDI::Polycone::stream(), DDI::Polyhedra::stream(), DDI::ExtrudedPolygon::stream(), DDI::Box::stream(), DDI::EllipticalTube::stream(), and DDI::PseudoTrap::stream().
|
inline |
Definition at line 98 of file GeantUnits.h.
Referenced by algorithm(), DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalEndcapModuleAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalEndcapModuleAlgo::constructInsideModule0(), DDHCalEndcapAlgo::constructInsideModule0(), DDHCalBarrelAlgo::constructInsideSector(), DDHCalEndcapAlgo::constructInsideSector(), DDHGCalModule::constructLayers(), DDHGCalModuleAlgo::constructLayers(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHCalBarrelAlgo::constructMidLayer(), DDHCalEndcapModuleAlgo::constructScintLayer(), DDHCalEndcapAlgo::constructScintLayer(), DDHCalBarrelAlgo::constructSideLayer(), DDcreateRotationMatrix(), DDHtmlRoDetails::details(), DDHCalAngular::execute(), DDGEMAngular::execute(), DDMuonAngular::execute(), DDHCalTBCableAlgo::execute(), DDHCalTBZposAlgo::execute(), DDHCalTestBeamAlgo::execute(), DDHCalXtalAlgo::execute(), DDHCalFibreBundle::execute(), DDAngular::execute(), formatAsDegrees(), formatAsDegreesInInteger(), FastTimeDDDConstants::getEtaPhi(), HcalDDDRecConstants::getOneEtaBin(), HcalDDDSimConstants::getPhis(), HcalDDDRecConstants::getPhis(), HcalDDDRecConstants::getThickActive(), FastTimeDDDConstants::getZPhi(), DDHCalAngular::initialize(), DDMuonAngular::initialize(), DDHCalTBZposAlgo::initialize(), DDHCalTestBeamAlgo::initialize(), DDHCalXtalAlgo::initialize(), DDGEMAngular::initialize(), DDHCalFibreBundle::initialize(), DDHGCalEEAlgo::initialize(), DDHGCalHEAlgo::initialize(), DDLinear::initialize(), DDAngular::initialize(), FastTimeDDDConstants::initialize(), DDHCalEndcapAlgo::initialize(), HcalDDDRecConstants::initialize(), DDLRotationAndReflection::isLeftHanded(), operator<<(), output(), DDHCalEndcapModuleAlgo::parameterLayer(), DDHCalEndcapAlgo::parameterLayer(), DDHCalEndcapModuleAlgo::parameterLayer0(), DDHCalEndcapAlgo::parameterLayer0(), printRot(), HcalDDDSimConstants::printTileHB(), HcalDDDSimConstants::printTileHE(), DDCoreToDDXMLOutput::rotation(), DDCoreToDDXMLOutput::solid(), DDI::Tubs::stream(), DDI::Sphere::stream(), DDI::Torus::stream(), DDI::CutTubs::stream(), DDI::Cons::stream(), DDI::TruncTubs::stream(), DDI::Trap::stream(), DDI::Polyhedra::stream(), and DDI::Polycone::stream().
|
inline |
Definition at line 128 of file GeantUnits.h.
Referenced by EtlSimHitsValidation::analyze(), BtlSimHitsValidation::analyze(), DDMaterial::density(), DDHtmlMaDetails::details(), and DDCoreToDDXMLOutput::material().
constexpr long double geant_units::operators::operator""_cm | ( | long double | length | ) |
Definition at line 46 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_cm3 | ( | long double | length | ) |
Definition at line 54 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_deg | ( | long double | deg | ) |
constexpr long double geant_units::operators::operator""_deg | ( | unsigned long long int | deg | ) |
constexpr long double geant_units::operators::operator""_eV | ( | long double | energy | ) |
Definition at line 72 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_g | ( | long double | mass | ) |
Definition at line 82 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_g_per_cm3 | ( | long double | density | ) |
Definition at line 92 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_g_per_mole | ( | long double | mass | ) |
Definition at line 94 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_GeV | ( | long double | energy | ) |
Definition at line 76 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_kg | ( | long double | mass | ) |
constexpr long double geant_units::operators::operator""_m | ( | long double | length | ) |
Definition at line 50 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_m3 | ( | long double | length | ) |
Definition at line 58 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_MeV | ( | long double | energy | ) |
Definition at line 70 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_mg | ( | long double | mass | ) |
Definition at line 84 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_mg_per_cm3 | ( | long double | density | ) |
Definition at line 90 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_mm | ( | long double | length | ) |
Definition at line 42 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_mole | ( | long double | mass | ) |
Definition at line 86 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_ns | ( | long double | x | ) |
Definition at line 66 of file GeantUnits.h.
References geant_units::nanoseconds().
constexpr long double geant_units::operators::operator""_pi | ( | long double | x | ) |
Definition at line 24 of file GeantUnits.h.
References geant_units::piRadians().
constexpr long double geant_units::operators::operator""_pi | ( | unsigned long long int | x | ) |
Definition at line 26 of file GeantUnits.h.
References geant_units::piRadians().
constexpr long double geant_units::operators::operator""_rad | ( | long double | rad | ) |
Definition at line 36 of file GeantUnits.h.
constexpr long double geant_units::operators::operator""_s | ( | long double | x | ) |
Definition at line 64 of file GeantUnits.h.
References geant_units::seconds().
constexpr long double geant_units::operators::operator""_TeV | ( | long double | energy | ) |
Definition at line 74 of file GeantUnits.h.