StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SusyCouplings.h
1 
2 // SusyCouplings.h is a part of the PYTHIA event generator.
3 // Copyright (C) 2018 Torbjorn Sjostrand.
4 // Main authors of this file: N. Desai, P. Skands
5 // PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details.
6 // Please respect the MCnet Guidelines, see GUIDELINES for details.
7 
8 // Header file for setup of common SUSY couplings.
9 
10 #ifndef Pythia8_SusyCouplings_H
11 #define Pythia8_SusyCouplings_H
12 
13 #include "Pythia8/PythiaComplex.h"
14 #include "Pythia8/Settings.h"
15 #include "Pythia8/StandardModel.h"
16 #include "Pythia8/SusyLesHouches.h"
17 
18 namespace Pythia8 {
19 
20 class ParticleData;
21 
22 //==========================================================================
23 
24 // CoupSUSY
25 // Auxiliary class to compute and store various SM and SUSY couplings.
26 
27 class CoupSUSY : public Couplings{
28 
29 public:
30 
31  // Constructor
32  CoupSUSY() : Couplings(true), isInit(false), isNMSSM(false),
33  isLLE(false), isLQD(false), isUDD(false) {}
34 
35  // Initialize
36  void initSUSY(SusyLesHouches* slhaPtrIn, Info* infoPtrIn,
37  ParticleData* particleDataPtrIn, Settings* settingsPtrIn);
38 
39  // Status flag. Flags for NMSSM and RPV couplings.
40  bool isInit, isNMSSM, isLLE, isLQD, isUDD;
41 
42  // Z and W pole masses and widths
43  double mWpole, wWpole, mZpole, wZpole;
44 
45  // Running masses and weak mixing angle
46  // (default to pole values if no running available)
47  double mW, mZ, sin2W, sinW, cosW;
48 
49  // Tanbeta
50  double tanb, cosb, sinb;
51 
52  //Higgs-sector parameters
53  double muHiggs, alphaHiggs, mAHiggs;
54 
55  // ~qq~g couplings
56  complex LsddG[7][4], RsddG[7][4];
57  complex LsuuG[7][4], RsuuG[7][4];
58  // Assume generation index for Squark. Translate if PDG code instead.
59  complex getLsqqG(int iGenSq, int idQ) {if (abs(iGenSq) > 1000000)
60  iGenSq = 3*(abs(iGenSq)/2000000) + (abs(iGenSq)%10+1)/2;
61  return (abs(idQ)%2 == 0) ? LsuuG[iGenSq][abs(idQ)/2]
62  : LsddG[iGenSq][(abs(idQ)+1)/2] ;}
63  complex getRsqqG(int iGenSq, int idQ) {if (abs(iGenSq) > 1000000)
64  iGenSq = 3*(abs(iGenSq)/2000000) + (abs(iGenSq)%10+1)/2;
65  return (abs(idQ)%2 == 0) ? RsuuG[iGenSq][abs(idQ)/2]
66  : RsddG[iGenSq][(abs(idQ)+1)/2] ;}
67 
68  // ~chi0~chi0Z couplings
69  complex OLpp[6][6], ORpp[6][6];
70 
71  // ~chi+~chi-Z couplings
72  complex OLp[3][3], ORp[3][3];
73 
74  // ~chi0~chi+W couplings
75  complex OL[6][3], OR[6][3];
76 
77  // qqZ couplings
78  double LqqZ[7], RqqZ[7];
79 
80  // ~q~qZ couplings
81  complex LsdsdZ[7][7], RsdsdZ[7][7];
82  complex LsusuZ[7][7], RsusuZ[7][7];
83  complex getLsqsqZ(int idSq1, int idSq2) {
84  if (abs(idSq1)%2 != abs(idSq2)%2) return complex(0.0,0.0);
85  int iGen1 = 3*(abs(idSq1)/2000000) + (abs(idSq1)%10+1)/2;
86  int iGen2 = 3*(abs(idSq2)/2000000) + (abs(idSq2)%10+1)/2;
87  return (abs(idSq1)%2 == 0) ? LsusuZ[iGen1][iGen2] : LsdsdZ[iGen1][iGen2];}
88  complex getRsqsqZ(int idSq1, int idSq2) {
89  if (abs(idSq1)%2 != abs(idSq2)%2) return complex(0.0,0.0);
90  int iGen1 = 3*(abs(idSq1)/2000000) + (abs(idSq1)%10+1)/2;
91  int iGen2 = 3*(abs(idSq2)/2000000) + (abs(idSq2)%10+1)/2;
92  return (abs(idSq1)%2 == 0) ? RsusuZ[iGen1][iGen2] : RsdsdZ[iGen1][iGen2];}
93 
94  // udW couplings
95  complex LudW[4][4], RudW[4][4];
96 
97  // ~u~dW couplings
98  complex LsusdW[7][7], RsusdW[7][7];
99 
100  // ~qq~chi0 couplings
101  complex LsddX[7][4][6], RsddX[7][4][6];
102  complex LsuuX[7][4][6], RsuuX[7][4][6];
103  complex getLsqqX(int iSq, int idQ, int iNeut) {return (abs(idQ)%2 == 0)
104  ? LsuuX[iSq][abs(idQ)/2][iNeut] : LsddX[iSq][(abs(idQ)+1)/2][iNeut] ;}
105  complex getRsqqX(int iSq, int idQ, int iNeut) {return (abs(idQ)%2 == 0)
106  ? RsuuX[iSq][abs(idQ)/2][iNeut] : RsddX[iSq][(abs(idQ)+1)/2][iNeut] ;}
107 
108  // ~du~chi+ couplings
109  complex LsduX[7][4][3], RsduX[7][4][3];
110 
111  // ~ud~chi+ couplings
112  complex LsudX[7][4][3], RsudX[7][4][3];
113 
114  //llZ couplings
115  double LllZ[7], RllZ[7];
116 
117  //lvW couplings
118  complex LlvW[4][4], RlvW[4][4];
119 
120  // ~l~lZ couplings
121  complex LslslZ[7][7],RslslZ[7][7];
122  complex LsvsvZ[7][7],RsvsvZ[7][7];
123 
124  // ~l~vW couplings
125  complex LslsvW[7][7], RslsvW[7][7];
126 
127  // ~ll~chi0 couplings
128  complex LsvvX[7][4][6], RsvvX[7][4][6];
129  complex LsllX[7][4][6], RsllX[7][4][6];
130 
131  // ~vl~chi+ couplings
132  complex LsvlX[7][4][3], RsvlX[7][4][3];
133 
134  // ~lv~chi+ couplings
135  complex LslvX[7][4][3], RslvX[7][4][3];
136 
137  // RPV couplings
138  double rvLLE[4][4][4], rvLQD[4][4][4], rvUDD[4][4][4];
139 
140  //Squark and slepton mixing matrix: needed for RPV
141  complex Rusq[7][7], Rdsq[7][7];
142  complex Rsl[7][7], Rsv[7][7];
143 
144  // Return neutralino, chargino, sup, sdown and slepton flavour codes.
145  int idNeut(int idChi);
146  int idChar(int idChi);
147  int idSup(int iSup);
148  int idSdown(int iSdown);
149  int idSlep(int iSlep);
150 
151  //Reverse lookup for neutralinos and charginos
152  int typeNeut(int idPDG);
153  int typeChar(int idPDG);
154 
155  // Pointer to SLHA instance
156  // Used in SusyResonanceWidths for checking if decay table exists
157  SusyLesHouches* slhaPtr;
158 
159 private:
160  // Debug flag
161  static const bool DBSUSY;
162 
163  // Pointer to the info class
164  Info* infoPtr;
165 
166  // Pointer to the settings database.
167  Settings* settingsPtr;
168 
169  // Pointer to the particle data table.
170  ParticleData* particleDataPtr;
171 
172 };
173 
174 //==========================================================================
175 
176 } // end namespace Pythia8
177 
178 #endif // Pythia8_SusyCouplings_H