/usr/include/Pythia8/Pythia8/SusyResonanceWidths.h is in libpythia8-dev 8.1.86-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | // SusyResonanceWidths.h is a part of the PYTHIA event generator.
// Copyright (C) 2014 Torbjorn Sjostrand
// Main author of this file: N. Desai
// PYTHIA is licenced under the GNU GPL version 2, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// Header file for resonance properties: dynamical widths etc.
// SusyResonanceWidths: base class for all SUSY resonances.
#ifndef Pythia8_SusyResonanceWidths_H
#define Pythia8_SusyResonanceWidths_H
#include "Pythia8/ResonanceWidths.h"
#include "Pythia8/SusyCouplings.h"
namespace Pythia8 {
class ParticleData;
//==========================================================================
class WidthFunction {
public:
// Constructor and destructor.
WidthFunction() { };
virtual ~WidthFunction() { };
void init( ParticleData* particleDataPtrIn, CoupSUSY* coupSUSYPtrIn);
virtual void setInternal(int idResIn, int id1In, int id2In, int id3In,
int idIntIn, int) {setInternal2(idResIn, id1In, id2In, id3In, idIntIn);}
virtual double function(double m12);
virtual double function(double m12, double m23);
protected:
void setInternal2(int idResIn, int id1In, int id2In, int id3In, int idIntIn);
ParticleData* particleDataPtr;
CoupSUSY* coupSUSYPtr;
int id1,id2,id3;
// Variables for 3-body decays
double mRes, mInt, gammaInt, m1,m2,m3;
int idRes, idInt,iSq,iQ,iX;
bool isSqDown;
};
//==========================================================================
class Psi: public WidthFunction {
public:
// Destructor.
virtual ~Psi() { };
virtual void setInternal(int idResIn, int id1In, int id2In, int id3In,
int idIntIn, int);
virtual double function(double m12);
};
//==========================================================================
class Upsilon: public WidthFunction {
public:
// Destructor.
virtual ~Upsilon() { };
virtual void setInternal(int idResIn, int id1In, int id2In, int id3In,
int idIntIn, int idInt2);
virtual double function(double m12);
protected:
int iSq2, idInt2;
double mInt2, gammaInt2;
};
//==========================================================================
class Phi: public WidthFunction {
public:
// Destructor.
virtual ~Phi() { };
virtual void setInternal(int idResIn, int id1In, int id2In, int id3In,
int idIntIn, int idInt2);
virtual double function(double m12sqIn);
protected:
int iSq2, idInt2;
double mInt2, gammaInt2, m12sq;
private:
double function2(double m23sq);
double integrateGauss(double m23min, double m23max, double tol);
};
//==========================================================================
class SUSYResonanceWidths : public ResonanceWidths{
public:
SUSYResonanceWidths() {}
// Return particle type
int typeNeut(int idPDG);
int typeChar(int idPDG);
protected:
// Virtual methods to handle model-specific (non-SM) part of initialization
virtual bool initBSM();
virtual bool allowCalc();
// Gaussian integrator
double integrateGauss( WidthFunction* widthFn, double, double, double);
// SUSY couplings
CoupSUSY* coupSUSYPtr;
static const bool DBSUSY;
};
//==========================================================================
// The ResonanceSquark class handles the Squark resonances.
class ResonanceSquark : public SUSYResonanceWidths {
public:
// Constructor.
ResonanceSquark(int idResIn) {initBasic(idResIn);}
private:
// Locally stored properties and couplings.
// Initialize constants.
virtual void initConstants();
// Calculate various common prefactors for the current mass.
virtual void calcPreFac(bool = false);
// Caclulate width for currently considered channel.
virtual void calcWidth(bool calledFromInit = false);
double s2W;
};
//==========================================================================
// The ResonanceGluino class handles the Gluino resonances.
class ResonanceGluino : public SUSYResonanceWidths {
public:
// Constructor.
ResonanceGluino(int idResIn) {initBasic(idResIn);}
private:
// Locally stored properties and couplings.
// Initialize constants.
virtual void initConstants();
// Calculate various common prefactors for the current mass.
virtual void calcPreFac(bool = false);
// Caclulate width for currently considered channel.
virtual void calcWidth(bool calledFromInit = false);
};
//==========================================================================
// The ResonanceNeut class handles the Neutralino resonances.
class ResonanceNeut : public SUSYResonanceWidths {
public:
// Constructor.
ResonanceNeut(int idResIn) {initBasic(idResIn);}
private:
// Locally stored properties and couplings.
double kinFac2;
// Initialize constants.
virtual void initConstants();
// Calculate various common prefactors for the current mass.
virtual void calcPreFac(bool = false);
// Caclulate width for currently considered channel.
virtual void calcWidth(bool calledFromInit = false);
double s2W;
// Functions for 3-body decays
Psi psi;
Phi phi;
Upsilon upsil;
};
//==========================================================================
// The ResonanceChar class handles the Chargino resonances.
class ResonanceChar : public SUSYResonanceWidths {
public:
// Constructor.
ResonanceChar(int idResIn) {initBasic(idResIn);}
private:
// Locally stored properties and couplings.
double kinFac2;
// Initialize constants.
virtual void initConstants();
// Calculate various common prefactors for the current mass.
virtual void calcPreFac(bool = false);
// Caclulate width for currently considered channel.
virtual void calcWidth(bool calledFromInit = false);
double s2W;
//Functions for 3-body decays
Psi psi;
Phi phi;
Upsilon upsil;
};
//==========================================================================
// The ResonanceSlepton class handles the Slepton/Sneutrino resonances.
class ResonanceSlepton : public SUSYResonanceWidths {
public:
// Constructor.
ResonanceSlepton(int idResIn) {initBasic(idResIn);}
private:
// Locally stored properties and couplings.
// Initialize constants.
virtual void initConstants();
// Calculate various common prefactors for the current mass.
virtual void calcPreFac(bool = false);
// Calculate width for currently considered channel.
virtual void calcWidth(bool calledFromInit = false);
double s2W;
};
//==========================================================================
} // end namespace Pythia8
#endif // end Pythia8_SusyResonanceWidths_H
|