/usr/include/Pythia8/Pythia8/ResonanceDecays.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 | // ResonanceDecays.h is a part of the PYTHIA event generator.
// Copyright (C) 2014 Torbjorn Sjostrand.
// PYTHIA is licenced under the GNU GPL version 2, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// This file contains the main class for performing resonance decays.
// ResonanceDecays: handles the sequential decay of resonances in process.
#ifndef Pythia8_ResonanceDecays_H
#define Pythia8_ResonanceDecays_H
#include "Pythia8/Basics.h"
#include "Pythia8/Event.h"
#include "Pythia8/Info.h"
#include "Pythia8/ParticleData.h"
#include "Pythia8/PythiaStdlib.h"
#include "Pythia8/ResonanceWidths.h"
#include "Pythia8/Settings.h"
namespace Pythia8 {
//==========================================================================
// The ResonanceDecays class handles the sequential decay of resonances
// that are part of the hard process (t, W, Z, H, SUSY,...).
class ResonanceDecays {
public:
// Constructor.
ResonanceDecays() {}
// Store pointers to Info and Rndm for error messages and random numbers.
void init(Info* infoPtrIn, ParticleData* particleDataPtrIn,
Rndm* rndmPtrIn) {infoPtr = infoPtrIn;
particleDataPtr = particleDataPtrIn; rndmPtr = rndmPtrIn;}
// Generate the next decay sequence.
bool next( Event& process, int iDecNow = 0);
private:
// Constants: could only be changed in the code itself.
static const int NTRYCHANNEL, NTRYMASSES;
static const double MSAFETY, WIDTHCUT, TINY, TINYBWRANGE,
WTCORRECTION[11];
// Pointer to various information on the generation.
Info* infoPtr;
// Pointer to the particle data table.
ParticleData* particleDataPtr;
// Pointer to the random number generator.
Rndm* rndmPtr;
// Select masses of decay products.
bool pickMasses();
// Select colours of decay products.
bool pickColours(int iDec, Event& process);
// Select kinematics isotropic in phase space.
bool pickKinematics();
// Flavour, colour and momentum information.
int id0, mult;
double m0;
vector<int> idProd, cols, acols;
vector<double> mProd;
vector<Vec4> pProd;
};
//==========================================================================
} // end namespace Pythia8
#endif // Pythia8_ResonanceDecays_H
|