|  | Belle II Software
    release-08-00-10
    | 
This class provides a set of constants for the framework. More...
#include <Const.h>

| Classes | |
| class | ChargedStable | 
| Provides a type-safe way to pass members of the chargedStableSet set.  More... | |
| class | Cluster | 
| Provides a type-safe way to pass members of the clusterSet set.  More... | |
| class | ClusterDetectors | 
| A class that defines the valid set of Cluster detectors.  More... | |
| class | DetectorSet | 
| The DetectorSet class for sets of detector IDs in the form of EDetector values.  More... | |
| class | ParticleSet | 
| A set of ParticleType objects, with defined order.  More... | |
| class | ParticleType | 
| The ParticleType class for identifying different particle types.  More... | |
| class | PIDDetectors | 
| A class that defines the valid set of PID detectors.  More... | |
| class | RestrictedDetectorSet | 
| A class for sets of detector IDs whose content is limited to restricted set of valid detector IDs.  More... | |
| class | TrackingDetectors | 
| A class that defines the valid set of tracking detectors.  More... | |
| class | VXDDetectors | 
| A class that defines the valid set of VXD detectors.  More... | |
| Public Types | |
| enum | EDetector { invalidDetector = 0x0 , PXD = 0x1 , SVD = 0x2 , CDC = 0x3 , TOP = 0x4 , ARICH = 0x5 , ECL = 0x6 , KLM = 0x7 , BKLM = 0x100 + KLM , EKLM = 0x200 + KLM , IR = 0x8 , TRG = 0x9 , DAQ = 0xA , BEAST = 0xB , TEST = 0xC } | 
| Enum for identifying the detector components (detector and subdetector).  More... | |
| typedef RestrictedDetectorSet< VXDDetectors > | VXDDetectorSet | 
| Typedef for set of VXD detectors. | |
| typedef RestrictedDetectorSet< TrackingDetectors > | TrackingDetectorSet | 
| Typedef for set of tracking detectors. | |
| typedef RestrictedDetectorSet< PIDDetectors > | PIDDetectorSet | 
| Typedef for set of PID detectors. | |
| typedef RestrictedDetectorSet< ClusterDetectors > | ClusterDetectorSet | 
| Typedef for set of VXD detectors. | |
| Static Public Member Functions | |
| static std::string | parseDetectors (EDetector det) | 
| Converts Const::EDetector object to string.  More... | |
| Static Public Attributes | |
| static const DetectorSet | allDetectors | 
| The set of all detectors.  More... | |
| static const ParticleSet | chargedStableSet | 
| set of charged stable particles  More... | |
| static const ParticleSet | clusterSet | 
| set of cluster particles  More... | |
| static const ParticleSet | finalStateParticlesSet | 
| set of final set particles that can be created by the ParticleLoader  More... | |
| static const ChargedStable | electron = Const::chargedStableSet.find(11) | 
| electron particle | |
| static const ChargedStable | muon = Const::chargedStableSet.find(13) | 
| muon particle | |
| static const ChargedStable | pion = Const::chargedStableSet.find(211) | 
| charged pion particle | |
| static const ChargedStable | kaon = Const::chargedStableSet.find(321) | 
| charged kaon particle | |
| static const ChargedStable | proton = Const::chargedStableSet.find(2212) | 
| proton particle | |
| static const ChargedStable | deuteron = Const::chargedStableSet.find(1000010020) | 
| deuteron particle | |
| static const Cluster | clusterphoton = Const::clusterSet.find(22) | 
| photon cluster | |
| static const Cluster | clusterKlong = Const::clusterSet.find(130) | 
| K^0_L cluster. | |
| static const Cluster | clusterelectron = Const::clusterSet.find(11) | 
| electron cluster | |
| static const Cluster | clusterpion = Const::clusterSet.find(211) | 
| charged hadron cluster | |
| static const Cluster | clustermuon = Const::clusterSet.find(13) | 
| muon cluster | |
| static const Cluster | clusterjunk = Const::clusterSet.find(9900001) | 
| junk cluster | |
| static const ParticleType | photon = Const::ParticleType(22) | 
| photon particle | |
| static const ParticleType | pi0 = Const::ParticleType(111) | 
| neutral pion particle | |
| static const ParticleType | neutron = Const::ParticleType(2112) | 
| neutron particle | |
| static const ParticleType | antiNeutron = Const::ParticleType(-2112) | 
| Anti-neutron particle. | |
| static const ParticleType | Kshort = Const::ParticleType(310) | 
| K^0_S particle. | |
| static const ParticleType | Klong = Const::ParticleType(130) | 
| K^0_L particle. | |
| static const ParticleType | Lambda = Const::ParticleType(3122) | 
| Lambda particle. | |
| static const ParticleType | antiLambda = Const::ParticleType(-3122) | 
| Anti-Lambda particle. | |
| static const ParticleType | invalidParticle = Const::ParticleType(9900000) | 
| Invalid particle, used internally. | |
| static const ParticleType | unspecifiedParticle = Const::ParticleType(9900001) | 
| Unspecified particle, used when no other particle type fits.  More... | |
| static const double | electronMass = Const::electron.getMass() | 
| electron mass | |
| static const double | muonMass = Const::muon.getMass() | 
| muon mass | |
| static const double | pionMass = Const::pion.getMass() | 
| charged pion mass | |
| static const double | kaonMass = Const::kaon.getMass() | 
| charged kaon mass | |
| static const double | protonMass = Const::proton.getMass() | 
| proton mass | |
| static const double | deuteronMass = Const::deuteron.getMass() | 
| deuteron mass | |
| static const double | pi0Mass = Const::pi0.getMass() | 
| neutral pion mass | |
| static const double | neutronMass = Const::neutron.getMass() | 
| neutron mass | |
| static const double | K0Mass = Const::Kshort.getMass() | 
| neutral kaon mass | |
| static const double | speedOfLight = 29.9792458 | 
| [cm/ns] | |
| static const double | kBoltzmann = 8.617343 * 1.0e-5 * Unit::eV / Unit::K | 
| Boltzmann constant in GeV/K. | |
| static const double | ehEnergy = 3.65 * Unit::eV | 
| Energy needed to create an electron-hole pair in Si at std.  More... | |
| static const double | fineStrConst = 1.0 / 137.036 | 
| The fine structure constant. | |
| static const double | permSi = 11.9 * 8.8542 * 1e-18 * Unit::C / Unit::V / Unit::um | 
| Permittivity of Silicon. | |
| static const double | uTherm = 0.026 * Unit::V | 
| Thermal Voltage at room temperature. | |
| static const double | eMobilitySi = 1415 * Unit::cm2 / Unit::V / Unit::s | 
| Electron mobility in intrinsic Silicon at room temperature. | |
| static const double | doubleNaN = std::numeric_limits<double>::quiet_NaN() | 
| quiet_NaN | |
| Private Member Functions | |
| Const ()=delete | |
| no Const instances allowed. | |
| Const (const Const &)=delete | |
| Const & | operator= (const Const &)=delete | 
This class provides a set of constants for the framework.
This class cannot be instantiated, use the static members directly. The implementation can be found in UnitConst.cc
| enum EDetector | 
Enum for identifying the detector components (detector and subdetector).
Edetector = subdetector * 256 + detector
| 
 | static | 
Converts Const::EDetector object to string.
| det | Const::EDetector object to be converted to string | 
Definition at line 162 of file UnitConst.cc.
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
set of final set particles that can be created by the ParticleLoader
| 
 | static |