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:: 176 $: revision of last commit
24 // $Author:: jseger $: author of last commit
25 // $Date:: 2014-06-20 22:15:20 +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;
52 // deuteron slope parameter
53 static const double deuteronSlopePar = 9.5; // [(GeV/c)^{-2}]
55 static const double protonMass = 0.93827231; // [GeV/c^2]
56 static const double pionChargedMass = 0.13956995; // [GeV/c^2]
57 static const double pionNeutralMass = 0.1349766; // [GeV/c^2]
58 static const double kaonChargedMass = 0.493677; // [GeV/c^2]
59 static const double mel = 0.00051099907; // [GeV/c^2]
60 static const double muonMass = 0.105658389; // [GeV/c^2]
61 static const double tauMass = 1.777; // [GeV/c^2]
63 static const double f0Mass = 0.980; // [GeV/c^2]
64 static const double etaMass = 0.54730; // [GeV/c^2]
65 static const double etaPrimeMass = 0.95766; // [GeV/c^2]
66 static const double etaCMass = 2.9803; // [GeV/c^2]
67 static const double f2Mass = 1.2751; // [GeV/c^2]
68 static const double a2Mass = 1.3183; // [GeV/c^2]
69 static const double f2PrimeMass = 1.525; // [GeV/c^2]
71 enum particleTypeEnum {
102 UPSILON_mumu = 553013,
104 UPSILON2S_ee = 554011,
105 UPSILON2S_mumu = 554013,
107 UPSILON3S_ee = 555011,
108 UPSILON3S_mumu = 555013
120 enum interactionTypeEnum {
123 PHOTONPOMERONNARROW = 2,
124 PHOTONPOMERONWIDE = 3,
125 PHOTONPOMERONINCOHERENT = 4,
126 PHOTONUCLEARSINGLE = 5,
127 PHOTONUCLEARDOUBLE = 6,
128 PHOTONUCLEARSINGLEPA = 7,
129 PHOTONUCLEARSINGLEPAPY = 8
132 //Structure for each event's set of tracks.
138 //Right now this is set up for a maximum of 4 tracks,if we want more, just increase the arrays
139 //Moved it to 30, this way when pythia returns, it wont complain too much...hedging bets...not sure how many
140 double px[30],py[30],pz[30];
141 //starlightConstants::particleTypeEnum _fsParticle[30];
144 //To help track mothers and daughters produced through pythia.
149 //Normally we just set vertices to 0
150 //But for pythia, we decay additional states
151 int _numberOfVertices;
152 double _vertx[10],_verty[10],_vertz[10];
156 } // starlightConstants
159 #endif // STARLIGHTCONSTANTS_H_INCLUDE