Project
Loading...
Searching...
No Matches
PhysicsConstants.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
17
18#ifndef ALICEO2_PHYSICSCONSTANTS_H_
19#define ALICEO2_PHYSICSCONSTANTS_H_
20
22{
23// particles masses
24
25// BEGINNING OF THE GENERATED BLOCK.
26// DO NOT EDIT THIS BLOCK DIRECTLY!
27// It has been generated by the make_pdg_header.py script.
28// For modifications, edit the script and generate this block again.
29
33enum Pdg {
34 kB0 = 511,
35 kB0Bar = -511,
36 kBPlus = 521,
37 kBS = 531,
38 kBSBar = -531,
39 kD0 = 421,
40 kD0Bar = -421,
41 kD0StarPlus = 10411,
42 kD0Star0 = 10421,
43 kD1Plus = 20413,
44 kD10 = 20423,
46 kD2Star0 = 425,
47 kDMinus = -411,
48 kDPlus = 411,
49 kDS = 431,
50 kDSBar = -431,
51 kDSStar = 433,
52 kDS1 = 10433,
53 kDS2Star = 435,
54 kDStar = 413,
55 kDStar0 = 423,
56 kChiC1 = 20443,
57 kJPsi = 443,
58 kLambdaB0 = 5122,
60 kOmegaC0 = 4332,
63 kPhi = 333,
64 kSigmaC0 = 4112,
66 kX3872 = 9920443,
67 kXi0 = 3322,
68 kXiB0 = 5232,
70 kXiCPlus = 4232,
71 kXiC0 = 4132,
72 kDeuteron = 1000010020,
73 kTriton = 1000010030,
74 kHelium3 = 1000020030,
75 kAlpha = 1000020040,
76 kHyperTriton = 1010010030,
77 kHyperHydrogen4 = 1010010040,
78 kHyperHelium4 = 1010020040,
79 kHyperHelium5 = 1010020050,
80 kHyperHelium4Sigma = 1110020040
81};
82
84constexpr double MassB0 = 5.27966;
85constexpr double MassB0Bar = 5.27966;
86constexpr double MassBPlus = 5.27934;
87constexpr double MassBS = 5.36692;
88constexpr double MassBSBar = 5.36692;
89constexpr double MassD0 = 1.86484;
90constexpr double MassD0Bar = 1.86484;
91constexpr double MassD0StarPlus = 2.272;
92constexpr double MassD0Star0 = 2.343;
93constexpr double MassD1Plus = 2.372;
94constexpr double MassD10 = 2.412;
95constexpr double MassD2StarPlus = 2.4601;
96constexpr double MassD2Star0 = 2.4611;
97constexpr double MassDMinus = 1.86966;
98constexpr double MassDPlus = 1.86966;
99constexpr double MassDS = 1.96835;
100constexpr double MassDSBar = 1.96835;
101constexpr double MassDSStar = 2.1122;
102constexpr double MassDS1 = 2.53511;
103constexpr double MassDS2Star = 2.5691;
104constexpr double MassDStar = 2.01026;
105constexpr double MassDStar0 = 2.00685;
106constexpr double MassChiC1 = 3.51067;
107constexpr double MassJPsi = 3.0969;
108constexpr double MassLambdaB0 = 5.6196;
109constexpr double MassLambdaCPlus = 2.28646;
110constexpr double MassOmegaC0 = 2.6952;
111constexpr double MassK0Star892 = 0.89555;
112constexpr double MassKPlusStar892 = 0.89167;
113constexpr double MassPhi = 1.019461;
114constexpr double MassSigmaC0 = 2.45375;
115constexpr double MassSigmaCPlusPlus = 2.45397;
116constexpr double MassX3872 = 3.87165;
117constexpr double MassXi0 = 1.31486;
118constexpr double MassXiB0 = 5.7919;
119constexpr double MassXiCCPlusPlus = 3.62155;
120constexpr double MassXiCPlus = 2.46771;
121constexpr double MassXiC0 = 2.47044;
122constexpr double MassDeuteron = 1.87561294257;
123constexpr double MassTriton = 2.80892113298;
124constexpr double MassHelium3 = 2.80839160743;
125constexpr double MassAlpha = 3.7273794066;
126constexpr double MassHyperTriton = 2.99131;
127constexpr double MassHyperHydrogen4 = 3.9226;
128constexpr double MassHyperHelium4 = 3.9217;
129constexpr double MassHyperHelium5 = 4.841;
130constexpr double MassHyperHelium4Sigma = 3.995;
131
133constexpr double MassDown = 0.00467;
134constexpr double MassDownBar = 0.00467;
135constexpr double MassUp = 0.00216;
136constexpr double MassUpBar = 0.00216;
137constexpr double MassStrange = 0.0934;
138constexpr double MassStrangeBar = 0.0934;
139constexpr double MassCharm = 1.27;
140constexpr double MassCharmBar = 1.27;
141constexpr double MassBottom = 4.18;
142constexpr double MassBottomBar = 4.18;
143constexpr double MassTop = 172.5;
144constexpr double MassTopBar = 172.5;
145constexpr double MassGluon = 0.0;
146constexpr double MassElectron = 0.000510999;
147constexpr double MassPositron = 0.000510999;
148constexpr double MassNuE = 0.0;
149constexpr double MassNuEBar = 0.0;
150constexpr double MassMuonMinus = 0.1056584;
151constexpr double MassMuonPlus = 0.1056584;
152constexpr double MassNuMu = 0.0;
153constexpr double MassNuMuBar = 0.0;
154constexpr double MassTauMinus = 1.77686;
155constexpr double MassTauPlus = 1.77686;
156constexpr double MassNuTau = 0.0;
157constexpr double MassNuTauBar = 0.0;
158constexpr double MassGamma = 0.0;
159constexpr double MassZ0 = 91.1876;
160constexpr double MassWPlus = 80.377;
161constexpr double MassWMinus = 80.377;
162constexpr double MassPi0 = 0.1349768;
163constexpr double MassK0Long = 0.497611;
164constexpr double MassPiPlus = 0.1395704;
165constexpr double MassPiMinus = 0.1395704;
166constexpr double MassProton = 0.9382721;
167constexpr double MassProtonBar = 0.9382721;
168constexpr double MassNeutron = 0.9395654;
169constexpr double MassNeutronBar = 0.9395654;
170constexpr double MassK0Short = 0.497611;
171constexpr double MassK0 = 0.497611;
172constexpr double MassK0Bar = 0.497611;
173constexpr double MassKPlus = 0.493677;
174constexpr double MassKMinus = 0.493677;
175constexpr double MassLambda0 = 1.115683;
176constexpr double MassLambda0Bar = 1.115683;
177constexpr double MassLambda1520 = 1.519;
178constexpr double MassSigmaMinus = 1.197449;
179constexpr double MassSigmaBarPlus = 1.197449;
180constexpr double MassSigmaPlus = 1.18937;
181constexpr double MassSigmaBarMinus = 1.18937;
182constexpr double MassSigma0 = 1.192642;
183constexpr double MassSigma0Bar = 1.192642;
184constexpr double MassXiMinus = 1.32171;
185constexpr double MassXiPlusBar = 1.32171;
186constexpr double MassOmegaMinus = 1.67245;
187constexpr double MassOmegaPlusBar = 1.67245;
188
189// END OF THE GENERATED BLOCK
190
191// legacy names
192constexpr double MassPhoton = MassGamma;
193constexpr double MassMuon = MassMuonMinus;
194constexpr double MassPionCharged = MassPiPlus;
195constexpr double MassPionNeutral = MassPi0;
196constexpr double MassKaonCharged = MassKPlus;
197constexpr double MassKaonNeutral = MassK0;
198constexpr double MassLambda = MassLambda0;
202
203// Light speed
204constexpr float LightSpeedCm2S = 299792458.e2; // C in cm/s
205constexpr float LightSpeedCm2NS = LightSpeedCm2S * 1e-9; // C in cm/ns
206constexpr float LightSpeedCm2PS = LightSpeedCm2S * 1e-12; // C in cm/ps
207
208// Light speed inverse
209constexpr float invLightSpeedCm2PS = 1. / LightSpeedCm2PS; // 1/C in ps/cm
210
211} // namespace o2::constants::physics
212
213#endif
constexpr double MassXiB0
constexpr double MassTauPlus
constexpr double MassK0Bar
constexpr double MassPhoton
constexpr double MassDownBar
constexpr double MassDS
constexpr double MassDStar0
Pdg
Declarations of named PDG codes of particles missing in ROOT PDG_t.
constexpr double MassLambda
constexpr double MassBS
constexpr double MassChiC1
constexpr double MassHyperhydrog4
constexpr double MassXiCPlus
constexpr double MassD0StarPlus
constexpr double MassNeutron
constexpr double MassD0Bar
constexpr double MassD0
constexpr double MassHelium3
constexpr double MassPionNeutral
constexpr double MassD2StarPlus
constexpr double MassUpBar
constexpr double MassNuEBar
constexpr double MassK0Short
constexpr double MassStrangeBar
constexpr double MassHyperHelium4
constexpr double MassKPlusStar892
constexpr double MassSigmaC0
constexpr double MassX3872
constexpr double MassDSStar
constexpr double MassTauMinus
constexpr double MassHyperHelium5
constexpr double MassNuMuBar
constexpr double MassSigmaBarPlus
constexpr double MassXiPlusBar
constexpr double MassDStar
constexpr double MassSigmaMinus
constexpr double MassBottomBar
constexpr double MassD1Plus
constexpr double MassD10
constexpr double MassTriton
constexpr double MassPositron
constexpr double MassK0Star892
constexpr double MassMuonPlus
constexpr double MassB0Bar
constexpr double MassNuTauBar
constexpr double MassMuon
constexpr double MassNeutronBar
constexpr double MassHyperHydrogen4
constexpr double MassKPlus
constexpr double MassTopBar
constexpr double MassMuonMinus
constexpr double MassDown
Declarations of masses for particles in ROOT PDG_t.
constexpr double MassDMinus
constexpr double MassKaonCharged
constexpr double MassCharm
constexpr double MassOmegaC0
constexpr float LightSpeedCm2NS
constexpr double MassXiCCPlusPlus
constexpr double MassDSBar
constexpr double MassBPlus
constexpr double MassHyperHelium4Sigma
constexpr double MassSigmaPlus
constexpr double MassHyperhelium4sigma
constexpr double MassD0Star0
constexpr double MassXiC0
constexpr double MassSigma0Bar
constexpr double MassSigmaCPlusPlus
constexpr double MassProtonBar
constexpr float invLightSpeedCm2PS
constexpr double MassOmegaMinus
constexpr double MassXiMinus
constexpr double MassPiPlus
constexpr double MassSigma0
constexpr double MassDS2Star
constexpr double MassWPlus
constexpr double MassNuMu
constexpr double MassDPlus
constexpr double MassLambda0Bar
constexpr double MassD2Star0
constexpr float LightSpeedCm2S
constexpr double MassLambda0
constexpr double MassK0Long
constexpr double MassGamma
constexpr double MassCharmBar
constexpr double MassStrange
constexpr double MassWMinus
constexpr double MassKaonNeutral
constexpr double MassPiMinus
constexpr double MassKMinus
constexpr double MassLambdaCPlus
constexpr double MassDeuteron
constexpr double MassHyperTriton
constexpr double MassSigmaBarMinus
constexpr double MassGluon
constexpr double MassLambdaB0
constexpr double MassAlpha
constexpr double MassElectron
constexpr double MassB0
Declarations of masses for additional particles.
constexpr double MassLambda1520
constexpr double MassProton
constexpr float LightSpeedCm2PS
constexpr double MassBottom
constexpr double MassNuTau
constexpr double MassBSBar
constexpr double MassOmegaPlusBar
constexpr double MassHyperhelium4
constexpr double MassPionCharged
constexpr double MassJPsi