1 ///////////////////////////////////////////////////////////////////////////
5 // This file is part of starlight.
7 // starlight is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
12 // starlight is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with starlight. If not, see <http://www.gnu.org/licenses/>.
20 ///////////////////////////////////////////////////////////////////////////
22 // File and Version Information:
23 // $Rev:: 125 $: revision of last commit
24 // $Author:: odjuvsla $: author of last commit
25 // $Date:: 2013-09-05 22:08:26 +0200 #$: date of last commit
31 ///////////////////////////////////////////////////////////////////////////
34 #ifndef STARLIGHTCONSTANTS_H_INCLUDE
35 #define STARLIGHTCONSTANTS_H_INCLUDE
39 * Constants are set here
41 namespace starlightConstants
46 static const double hbarc = 0.197327053;
47 static const double hbarcmev = hbarc*1000.;
48 static const double pi = 3.141592654;
49 static const double twoPi = 2 * pi;
50 static const double alpha = 1/137.0359895;
53 static const double protonMass = 0.93827231; // [GeV/c^2]
54 static const double pionChargedMass = 0.13956995; // [GeV/c^2]
55 static const double pionNeutralMass = 0.1349766; // [GeV/c^2]
56 static const double kaonChargedMass = 0.493677; // [GeV/c^2]
57 static const double mel = 0.00051099907; // [GeV/c^2]
58 static const double muonMass = 0.105658389; // [GeV/c^2]
59 static const double tauMass = 1.777; // [GeV/c^2]
61 static const double f0Mass = 0.980; // [GeV/c^2]
62 static const double etaMass = 0.54730; // [GeV/c^2]
63 static const double etaPrimeMass = 0.95766; // [GeV/c^2]
64 static const double etaCMass = 2.9803; // [GeV/c^2]
65 static const double f2Mass = 1.2751; // [GeV/c^2]
66 static const double a2Mass = 1.3183; // [GeV/c^2]
67 static const double f2PrimeMass = 1.525; // [GeV/c^2]
69 enum particleTypeEnum {
99 UPSILON_mumu = 553013,
101 UPSILON2S_ee = 554011,
102 UPSILON2S_mumu = 554013,
104 UPSILON3S_ee = 555011,
105 UPSILON3S_mumu = 555013
117 enum interactionTypeEnum {
120 PHOTONPOMERONNARROW = 2,
121 PHOTONPOMERONWIDE = 3,
122 PHOTONPOMERONINCOHERENT = 4,
123 PHOTONUCLEARSINGLE = 5,
124 PHOTONUCLEARDOUBLE = 6,
125 PHOTONUCLEARSINGLEPA = 7,
126 PHOTONUCLEARSINGLEPAPY = 8
129 //Structure for each event's set of tracks.
135 //Right now this is set up for a maximum of 4 tracks,if we want more, just increase the arrays
136 //Moved it to 30, this way when pythia returns, it wont complain too much...hedging bets...not sure how many
137 double px[30],py[30],pz[30];
138 //starlightConstants::particleTypeEnum _fsParticle[30];
141 //To help track mothers and daughters produced through pythia.
146 //Normally we just set vertices to 0
147 //But for pythia, we decay additional states
148 int _numberOfVertices;
149 double _vertx[10],_verty[10],_vertz[10];
153 } // starlightConstants
156 #endif // STARLIGHTCONSTANTS_H_INCLUDE