![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
Utility namespace to support TGeo units. More...
Variables | |
static const double | millimeter = 0.1 |
static const double | millimeter2 = millimeter * millimeter |
static const double | millimeter3 = millimeter * millimeter * millimeter |
static const double | centimeter = 10. * millimeter |
static const double | centimeter2 = centimeter * centimeter |
static const double | centimeter3 = centimeter * centimeter * centimeter |
static const double | meter = 1000. * millimeter |
static const double | meter2 = meter * meter |
static const double | meter3 = meter * meter * meter |
static const double | kilometer = 1000. * meter |
static const double | kilometer2 = kilometer * kilometer |
static const double | kilometer3 = kilometer * kilometer * kilometer |
static const double | parsec = 3.0856775807e+16 * meter |
static const double | micrometer = 1.e-6 * meter |
static const double | nanometer = 1.e-9 * meter |
static const double | angstrom = 1.e-10 * meter |
static const double | fermi = 1.e-15 * meter |
static const double | barn = 1.e-28 * meter2 |
static const double | millibarn = 1.e-3 * barn |
static const double | microbarn = 1.e-6 * barn |
static const double | nanobarn = 1.e-9 * barn |
static const double | picobarn = 1.e-12 * barn |
static const double | nm = nanometer |
static const double | um = micrometer |
static const double | mm = millimeter |
static const double | mm2 = millimeter2 |
static const double | mm3 = millimeter3 |
static const double | cm = centimeter |
static const double | cm2 = centimeter2 |
static const double | cm3 = centimeter3 |
static const double | m = meter |
static const double | m2 = meter2 |
static const double | m3 = meter3 |
static const double | km = kilometer |
static const double | km2 = kilometer2 |
static const double | km3 = kilometer3 |
static const double | pc = parsec |
static const double | radian = 1. |
static const double | milliradian = 1.e-3 * radian |
static const double | degree = (3.14159265358979323846/180.0)*radian |
static const double | steradian = 1. |
static const double | rad = radian |
static const double | mrad = milliradian |
static const double | sr = steradian |
static const double | deg = degree |
static const double | nanosecond = 1.e-9 |
static const double | second = 1.e+9 * nanosecond |
static const double | millisecond = 1.e-3 * second |
static const double | microsecond = 1.e-6 * second |
static const double | picosecond = 1.e-12 * second |
static const double | hertz = 1. / second |
static const double | kilohertz = 1.e+3 * hertz |
static const double | megahertz = 1.e+6 * hertz |
static const double | ns = nanosecond |
static const double | s = second |
static const double | ms = millisecond |
static const double | eplus = 1. |
static const double | e_SI = 1.602176487e-19 |
static const double | coulomb = eplus / e_SI |
static const double | megaelectronvolt = 1.e-3 |
static const double | electronvolt = 1.e-6 * megaelectronvolt |
static const double | kiloelectronvolt = 1.e-3 * megaelectronvolt |
static const double | gigaelectronvolt = 1.e+3 * megaelectronvolt |
static const double | teraelectronvolt = 1.e+6 * megaelectronvolt |
static const double | petaelectronvolt = 1.e+9 * megaelectronvolt |
static const double | joule = electronvolt / e_SI |
static const double | MeV = megaelectronvolt |
static const double | eV = electronvolt |
static const double | keV = kiloelectronvolt |
static const double | GeV = gigaelectronvolt |
static const double | TeV = teraelectronvolt |
static const double | PeV = petaelectronvolt |
static const double | kilogram = joule * second * second / (meter * meter) |
static const double | gram = 1.e-3 * kilogram |
static const double | milligram = 1.e-3 * gram |
static const double | kg = kilogram |
static const double | g = gram |
static const double | mg = milligram |
static const double | watt = joule / second |
static const double | newton = joule / meter |
static const double | hep_pascal = newton / m2 |
static const double | bar = 100000 * pascal |
static const double | atmosphere = 101325 * pascal |
static const double | ampere = coulomb / second |
static const double | milliampere = 1.e-3 * ampere |
static const double | microampere = 1.e-6 * ampere |
static const double | nanoampere = 1.e-9 * ampere |
static const double | megavolt = megaelectronvolt / eplus |
static const double | kilovolt = 1.e-3 * megavolt |
static const double | volt = 1.e-6 * megavolt |
static const double | ohm = volt / ampere |
static const double | farad = coulomb / volt |
static const double | millifarad = 1.e-3 * farad |
static const double | microfarad = 1.e-6 * farad |
static const double | nanofarad = 1.e-9 * farad |
static const double | picofarad = 1.e-12 * farad |
static const double | weber = volt * second |
static const double | tesla = volt * second / meter2 |
static const double | gauss = 1.e-4 * tesla |
static const double | kilogauss = 1.e-1 * tesla |
static const double | henry = weber / ampere |
static const double | kelvin = 1. |
static const double | mole = 1. |
static const double | becquerel = 1. / second |
static const double | curie = 3.7e+10 * becquerel |
static const double | gray = joule / kilogram |
static const double | kilogray = 1.e+3 * gray |
static const double | milligray = 1.e-3 * gray |
static const double | microgray = 1.e-6 * gray |
static const double | candela = 1. |
static const double | lumen = candela * steradian |
static const double | lux = lumen / meter2 |
static const double | perCent = 0.01 |
static const double | perThousand = 0.001 |
static const double | perMillion = 0.000001 |
static const double | pi = 3.14159265358979323846 |
static const double | twopi = 2 * pi |
static const double | halfpi = pi / 2 |
static const double | pi2 = pi * pi |
static const double | Avogadro = 6.02214179e+23 / mole |
static const double | c_light = 2.99792458e+8 * m / s |
static const double | c_squared = c_light * c_light |
static const double | h_Planck = 6.62606896e-34 * joule * s |
static const double | hbar_Planck = h_Planck / twopi |
static const double | hbarc = hbar_Planck * c_light |
static const double | hbarc_squared = hbarc * hbarc |
static const double | electron_charge = -eplus |
static const double | e_squared = eplus * eplus |
static const double | electron_mass_c2 = 0.510998910 * MeV |
static const double | proton_mass_c2 = 938.272013 * MeV |
static const double | neutron_mass_c2 = 939.56536 * MeV |
static const double | amu_c2 = 931.494028 * MeV |
static const double | amu = amu_c2 / c_squared |
static const double | mu0 = 4 * pi * 1.e-7 * henry / m |
static const double | epsilon0 = 1. / (c_squared * mu0) |
static const double | elm_coupling = e_squared / (4 * pi * epsilon0) |
static const double | fine_structure_const = elm_coupling / hbarc |
static const double | classic_electr_radius = elm_coupling / electron_mass_c2 |
static const double | electron_Compton_length = hbarc / electron_mass_c2 |
static const double | Bohr_radius = electron_Compton_length / fine_structure_const |
static const double | alpha_rcl2 = fine_structure_const * classic_electr_radius * classic_electr_radius |
static const double | twopi_mc2_rcl2 = twopi * electron_mass_c2 * classic_electr_radius * classic_electr_radius |
static const double | k_Boltzmann = 8.617343e-11 * MeV / kelvin |
static const double | STP_Temperature = 273.15 * kelvin |
static const double | STP_Pressure = 1. * atmosphere |
static const double | kGasThreshold = 10. * mg / cm3 |
static const double | universe_mean_density = 1.e-25 * g / cm3 |
Utility namespace to support TGeo units.
|
static |
Definition at line 374 of file DD4hepUnits.h.
Definition at line 186 of file DD4hepUnits.h.
Definition at line 356 of file DD4hepUnits.h.
|
static |
Definition at line 355 of file DD4hepUnits.h.
Definition at line 56 of file DD4hepUnits.h.
|
static |
Definition at line 181 of file DD4hepUnits.h.
|
static |
Definition at line 322 of file DD4hepUnits.h.
|
static |
Definition at line 180 of file DD4hepUnits.h.
Referenced by DD4hep::Display::Display().
Definition at line 59 of file DD4hepUnits.h.
|
static |
Definition at line 243 of file DD4hepUnits.h.
|
static |
Definition at line 372 of file DD4hepUnits.h.
|
static |
Definition at line 328 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::boostInteraction().
Definition at line 329 of file DD4hepUnits.h.
|
static |
Definition at line 257 of file DD4hepUnits.h.
|
static |
Definition at line 40 of file DD4hepUnits.h.
|
static |
Definition at line 41 of file DD4hepUnits.h.
|
static |
Definition at line 42 of file DD4hepUnits.h.
|
static |
Definition at line 370 of file DD4hepUnits.h.
|
static |
Definition at line 73 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4MaterialScanner::end(), and DD4hep::Simulation::HepMC::read_units().
|
static |
Definition at line 74 of file DD4hepUnits.h.
|
static |
Definition at line 75 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4MaterialScanner::end(), and DD4hep::Simulation::Geant4Converter::handleMaterial().
Definition at line 131 of file DD4hepUnits.h.
|
static |
Definition at line 244 of file DD4hepUnits.h.
|
static |
Definition at line 106 of file DD4hepUnits.h.
Referenced by DD4hep::Geometry::ConeSegment::ConeSegment(), DD4hep::DDRec::createGearForCLIC(), DD4hep::DDRec::createGearForILD(), DD4hep::Geometry::Hyperboloid::Hyperboloid(), DD4hep::Geometry::Trap::make(), DD4hep::Geometry::Torus::make(), DD4hep::Geometry::Polycone::Polycone(), DD4hep::Geometry::PolyhedraRegular::PolyhedraRegular(), DD4hep::Geometry::ConeSegment::setDimensions(), DD4hep::Geometry::Tube::setDimensions(), DD4hep::Geometry::Trap::setDimensions(), DD4hep::Geometry::Torus::setDimensions(), DD4hep::Geometry::Sphere::setDimensions(), DD4hep::Geometry::Hyperboloid::setDimensions(), DD4hep::Geometry::Sphere::Sphere(), and DD4hep::Geometry::Trap::Trap().
|
static |
Definition at line 98 of file DD4hepUnits.h.
|
static |
Definition at line 130 of file DD4hepUnits.h.
Definition at line 345 of file DD4hepUnits.h.
|
static |
Definition at line 344 of file DD4hepUnits.h.
|
static |
Definition at line 371 of file DD4hepUnits.h.
|
static |
Definition at line 352 of file DD4hepUnits.h.
|
static |
Definition at line 137 of file DD4hepUnits.h.
Definition at line 368 of file DD4hepUnits.h.
|
static |
Definition at line 129 of file DD4hepUnits.h.
Definition at line 363 of file DD4hepUnits.h.
|
static |
Definition at line 147 of file DD4hepUnits.h.
Definition at line 206 of file DD4hepUnits.h.
Definition at line 57 of file DD4hepUnits.h.
|
static |
Definition at line 369 of file DD4hepUnits.h.
|
static |
Definition at line 162 of file DD4hepUnits.h.
Referenced by DD4hep::OpaqueDataBlock::bind(), DD4hep::DDRec::IDDecoder::cellID(), DD4hep::DDRec::IDDecoder::cellIDFromLocal(), DD4hep::Utilities::createEveShape(), DD4hep::DDRec::createGearForILD(), DD4hep::Conditions::Condition::descriptor(), DD4hep::eval_pair(), DD4hep::fill_data(), DD4hep::Simulation::Geant4Converter::handleElement(), DD4hep::Simulation::Geant4Converter::handleVis(), DD4hep::Geometry::SimpleGDMLWriter::handleVisualisation(), DD4hep::DDRec::VolSurfaceBase::localToGlobal(), DD4hep::DDRec::Surface::localToGlobal(), DD4hep::Property::make(), DD4hep::DDRec::IDDecoder::position(), DD4hep::Property::set(), and DD4hep::Property::value().
Definition at line 222 of file DD4hepUnits.h.
|
static |
Definition at line 149 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4ParticleGun::operator()(), DD4hep::Simulation::Geant4ParticleGenerator::operator()(), DD4hep::Simulation::Geant4ParticleGenerator::printInteraction(), DD4hep::Simulation::HepMC::read_units(), DD4hep::Simulation::LCIOEventReader::readParticles(), DD4hep::Simulation::Geant4EventReaderHepEvt::readParticles(), and DD4hep::Simulation::Geant4Output2LCIO::saveParticles().
|
static |
Definition at line 139 of file DD4hepUnits.h.
Definition at line 157 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4MaterialScanner::end(), and DD4hep::Simulation::Geant4Converter::handleMaterial().
Definition at line 249 of file DD4hepUnits.h.
|
static |
Definition at line 336 of file DD4hepUnits.h.
|
static |
Definition at line 316 of file DD4hepUnits.h.
Definition at line 337 of file DD4hepUnits.h.
|
static |
Definition at line 338 of file DD4hepUnits.h.
Definition at line 339 of file DD4hepUnits.h.
Definition at line 228 of file DD4hepUnits.h.
Definition at line 179 of file DD4hepUnits.h.
|
static |
Definition at line 117 of file DD4hepUnits.h.
|
static |
Definition at line 143 of file DD4hepUnits.h.
|
static |
Definition at line 380 of file DD4hepUnits.h.
|
static |
Definition at line 233 of file DD4hepUnits.h.
|
static |
Definition at line 148 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::TrackerWeighted::extractHit(), and DD4hep::Simulation::HepMC::read_units().
|
static |
Definition at line 161 of file DD4hepUnits.h.
Referenced by DD4hep::DDRec::createGearForILD().
Definition at line 387 of file DD4hepUnits.h.
|
static |
Definition at line 138 of file DD4hepUnits.h.
Definition at line 223 of file DD4hepUnits.h.
Definition at line 156 of file DD4hepUnits.h.
Definition at line 250 of file DD4hepUnits.h.
Definition at line 118 of file DD4hepUnits.h.
|
static |
Definition at line 48 of file DD4hepUnits.h.
Definition at line 49 of file DD4hepUnits.h.
Definition at line 50 of file DD4hepUnits.h.
Definition at line 195 of file DD4hepUnits.h.
|
static |
Definition at line 81 of file DD4hepUnits.h.
|
static |
Definition at line 82 of file DD4hepUnits.h.
|
static |
Definition at line 83 of file DD4hepUnits.h.
Definition at line 262 of file DD4hepUnits.h.
Definition at line 267 of file DD4hepUnits.h.
|
static |
Definition at line 77 of file DD4hepUnits.h.
|
static |
Definition at line 78 of file DD4hepUnits.h.
|
static |
Definition at line 79 of file DD4hepUnits.h.
Referenced by DD4hep::DDRec::createGearForILD().
|
static |
Definition at line 136 of file DD4hepUnits.h.
Definition at line 119 of file DD4hepUnits.h.
|
static |
Definition at line 194 of file DD4hepUnits.h.
|
static |
Definition at line 44 of file DD4hepUnits.h.
Definition at line 45 of file DD4hepUnits.h.
Definition at line 46 of file DD4hepUnits.h.
|
static |
Definition at line 146 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4ParticleHandle::dumpWithMomentum(), DD4hep::Simulation::Geant4ParticleHandle::dumpWithMomentumAndVertex(), DD4hep::Simulation::TrackerCombine::extractHit(), DD4hep::Simulation::Geant4ParticleGenerator::Geant4ParticleGenerator(), DD4hep::Simulation::Geant4ParticleHandler::Geant4ParticleHandler(), DD4hep::Simulation::Geant4UserParticleHandler::Geant4UserParticleHandler(), DD4hep::Simulation::Geant4Converter::handleLimitSet(), DD4hep::Simulation::Geant4Converter::handleRegion(), DD4hep::Simulation::Geant4EscapeCounter::process(), DD4hep::Simulation::HepMC::read_units(), DD4hep::Simulation::Geant4EventReaderHepMC::readParticles(), and DD4hep::Simulation::HepMC::EventStream::use_default_units().
|
static |
Definition at line 163 of file DD4hepUnits.h.
Definition at line 188 of file DD4hepUnits.h.
Definition at line 61 of file DD4hepUnits.h.
Definition at line 208 of file DD4hepUnits.h.
Definition at line 252 of file DD4hepUnits.h.
Definition at line 54 of file DD4hepUnits.h.
Definition at line 114 of file DD4hepUnits.h.
Definition at line 187 of file DD4hepUnits.h.
Definition at line 60 of file DD4hepUnits.h.
Definition at line 207 of file DD4hepUnits.h.
Definition at line 158 of file DD4hepUnits.h.
Definition at line 251 of file DD4hepUnits.h.
|
static |
Definition at line 36 of file DD4hepUnits.h.
|
static |
Definition at line 37 of file DD4hepUnits.h.
|
static |
Definition at line 38 of file DD4hepUnits.h.
Definition at line 97 of file DD4hepUnits.h.
Definition at line 113 of file DD4hepUnits.h.
|
static |
Definition at line 69 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4DefaultRangeCut::constructProcesses(), DD4hep::DDRec::createGearForCLIC(), DD4hep::DDRec::createGearForILD(), DD4hep::Simulation::Geant4ParticleHandle::dumpWithMomentumAndVertex(), DD4hep::Simulation::Geant4ParticleHandle::dumpWithVertex(), DD4hep::Simulation::TrackerWeighted::extractHit(), DD4hep::Simulation::TrackerCombine::extractHit(), DD4hep::Simulation::Geant4FieldTrackingSetup::Geant4FieldTrackingSetup(), DD4hep::Simulation::Geant4ParticleHandler::Geant4ParticleHandler(), DD4hep::Simulation::generatePrimaries(), DD4hep::Simulation::Geant4Field::GetFieldValue(), DD4hep::Simulation::Geant4Converter::handleLimitSet(), DD4hep::Simulation::Geant4Converter::handleRegion(), DD4hep::Simulation::Geant4StepHandler::localToGlobal(), DD4hep::Simulation::Geant4ParticleGun::operator()(), DD4hep::Simulation::Geant4ParticleGenerator::printInteraction(), DD4hep::Simulation::HepMC::read_units(), DD4hep::Simulation::LCIOEventReader::readParticles(), DD4hep::Simulation::Geant4Output2LCIO::saveParticles(), and DD4hep::Simulation::HepMC::EventStream::use_default_units().
|
static |
Definition at line 70 of file DD4hepUnits.h.
|
static |
Definition at line 71 of file DD4hepUnits.h.
|
static |
Definition at line 238 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4Converter::handleElement().
|
static |
Definition at line 104 of file DD4hepUnits.h.
|
static |
Definition at line 124 of file DD4hepUnits.h.
Definition at line 362 of file DD4hepUnits.h.
Definition at line 189 of file DD4hepUnits.h.
Definition at line 62 of file DD4hepUnits.h.
Definition at line 209 of file DD4hepUnits.h.
Definition at line 55 of file DD4hepUnits.h.
|
static |
Definition at line 111 of file DD4hepUnits.h.
|
static |
Definition at line 354 of file DD4hepUnits.h.
Definition at line 173 of file DD4hepUnits.h.
|
static |
Definition at line 66 of file DD4hepUnits.h.
|
static |
Definition at line 122 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4ParticleHandle::dumpWithMomentum(), DD4hep::Simulation::Geant4ParticleHandle::dumpWithVertex(), DD4hep::Simulation::generatePrimaries(), DD4hep::Simulation::Geant4Converter::handleLimitSet(), DD4hep::XML::Tag_t::operator=(), DD4hep::Simulation::LCIOEventReader::readParticles(), DD4hep::Simulation::Geant4EventReaderHepMC::readParticles(), and DD4hep::Simulation::Geant4Output2LCIO::saveParticles().
Definition at line 201 of file DD4hepUnits.h.
|
static |
Definition at line 52 of file DD4hepUnits.h.
|
static |
Definition at line 85 of file DD4hepUnits.h.
Referenced by DD4hep::Geometry::DetElementObject::clone().
|
static |
Definition at line 272 of file DD4hepUnits.h.
|
static |
Definition at line 274 of file DD4hepUnits.h.
|
static |
Definition at line 273 of file DD4hepUnits.h.
|
static |
Definition at line 141 of file DD4hepUnits.h.
|
static |
Definition at line 151 of file DD4hepUnits.h.
|
static |
Definition at line 314 of file DD4hepUnits.h.
Definition at line 317 of file DD4hepUnits.h.
Definition at line 63 of file DD4hepUnits.h.
Definition at line 210 of file DD4hepUnits.h.
Definition at line 115 of file DD4hepUnits.h.
|
static |
Definition at line 353 of file DD4hepUnits.h.
|
static |
Definition at line 103 of file DD4hepUnits.h.
|
static |
Definition at line 96 of file DD4hepUnits.h.
|
static |
Definition at line 123 of file DD4hepUnits.h.
|
static |
Definition at line 112 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::Geant4StackingActionSequence::get(), DD4hep::Simulation::Geant4SteppingActionSequence::get(), DD4hep::Simulation::Geant4GeneratorActionSequence::get(), DD4hep::Simulation::Geant4TrackingActionSequence::get(), DD4hep::Simulation::Geant4RunActionSequence::get(), DD4hep::Simulation::Geant4EventActionSequence::get(), DD4hep::DDRec::Surface::getLines(), and DD4hep::Simulation::Geant4ParticlePrint::printParticleTree().
|
static |
Definition at line 105 of file DD4hepUnits.h.
|
static |
Definition at line 100 of file DD4hepUnits.h.
|
static |
Definition at line 386 of file DD4hepUnits.h.
|
static |
Definition at line 385 of file DD4hepUnits.h.
|
static |
Definition at line 140 of file DD4hepUnits.h.
Definition at line 220 of file DD4hepUnits.h.
Referenced by DD4hep::createGearMgr(), and DD4hep::Simulation::Geant4Field::GetFieldValue().
|
static |
Definition at line 150 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::HepMC::read_units().
|
static |
Definition at line 315 of file DD4hepUnits.h.
|
static |
Definition at line 376 of file DD4hepUnits.h.
|
static |
Definition at line 67 of file DD4hepUnits.h.
Referenced by DD4hep::Simulation::TrackerWeighted::extractHit(), and DD4hep::DDRec::VolSurfaceBase::length_along_u().
Definition at line 392 of file DD4hepUnits.h.
Definition at line 196 of file DD4hepUnits.h.
Definition at line 168 of file DD4hepUnits.h.
Definition at line 215 of file DD4hepUnits.h.