File indexing completed on 2024-09-27 07:03:37
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 #ifndef GAMMAGAMMASINGLE_H
0035 #define GAMMAGAMMASINGLE_H
0036
0037
0038 #include <vector>
0039
0040 #include "starlightconstants.h"
0041 #include "readinluminosity.h"
0042 #include "beambeamsystem.h"
0043 #include "randomgenerator.h"
0044 #include "eventchannel.h"
0045 #include "starlightconfig.h"
0046 #include "inputParameters.h"
0047 #ifdef ENABLE_PYTHIA
0048 #include "pythiadecayer.h"
0049 #endif
0050
0051 class Gammagammasingle : public eventChannel
0052 {
0053 public:
0054 Gammagammasingle(const inputParameters& input, beamBeamSystem& bbsystem);
0055 ~Gammagammasingle();
0056
0057 void singleCrossSection();
0058 starlightConstants::event produceEvent(int &ievent);
0059
0060 eXEvent e_produceEvent();
0061
0062 private:
0063 double _sigmax[starlightLimits::MAXWBINS][starlightLimits::MAXYBINS];
0064 double _wdelta;
0065 double _remainwd;
0066 int _ivalwd;
0067
0068 void pickw(double &w);
0069 void picky(double &y);
0070
0071 void parentMomentum(double w,double y,double &E,double &px,double &py,double&pz);
0072
0073 double pp1(double E);
0074 double pp2(double E);
0075 void twoBodyDecay(starlightConstants::particleTypeEnum &ipid,double W,double px0,double py0,double pz0,double &px1,double &py1,double&pz1,double &px2,double &py2,double &pz2,int &iFbadevent);
0076
0077 double getMass();
0078 double getWidth();
0079 double getSpin();
0080
0081 starlightConstants::particleTypeEnum _GGsingInputpidtest;
0082 int _GGsingInputnumw;
0083 int _GGsingInputnumy;
0084 double _GGsingInputGamma_em;
0085 double _axionMass;
0086
0087 #ifdef ENABLE_PYTHIA
0088 pythiaDecayer _pyDecayer;
0089 #endif
0090
0091 };
0092
0093
0094 #endif