File indexing completed on 2024-09-27 07:03:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 #include "starlightparticlecodes.h"
0035
0036
0037 int starlightParticleCodes::jetsetToGeant(int particleid)
0038 {
0039
0040 int jtogx =0;
0041 if(particleid==22) jtogx = 1;
0042 if(particleid==-11) jtogx = 2;
0043 if(particleid==11) jtogx = 3;
0044 if(particleid==12||particleid==-12||particleid==14||particleid==-14||particleid==16||particleid==-16) jtogx = 4;
0045 if(particleid==-13) jtogx = 5;
0046 if(particleid==13) jtogx = 6;
0047 if(particleid==111) jtogx = 7;
0048 if(particleid==211) jtogx = 8;
0049 if(particleid==-211) jtogx = 9;
0050 if(particleid==130) jtogx = 10;
0051 if(particleid==321) jtogx = 11;
0052 if(particleid==-321) jtogx = 12;
0053 if(particleid==2112) jtogx = 13;
0054 if(particleid==2212) jtogx = 14;
0055 if(particleid==-2212) jtogx = 15;
0056 if(particleid==310) jtogx = 16;
0057 if(particleid==-310) jtogx = 10;
0058 if(particleid==221) jtogx = 17;
0059 if(particleid==3122) jtogx = 18;
0060 if(particleid==3222) jtogx = 19;
0061 if(particleid==3212) jtogx = 20;
0062 if(particleid==3112) jtogx = 21;
0063 if(particleid==3322) jtogx = 22;
0064 if(particleid==3312) jtogx = 23;
0065 if(particleid==3334) jtogx = 24;
0066 if(particleid==-2112) jtogx = 25;
0067 if(particleid==-3122) jtogx = 26;
0068 if(particleid==-3222) jtogx = 27;
0069 if(particleid==-3212) jtogx = 28;
0070 if(particleid==-3112) jtogx = 29;
0071 if(particleid==-3322) jtogx = 30;
0072 if(particleid==-3312) jtogx = 31;
0073 if(particleid==-3334) jtogx = 32;
0074 return jtogx;
0075 }