/usr/include/ThePEG/LesHouches/LesHouches.h is in libthepeg-dev 1.8.0-1.
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 | // -*- C++ -*-
//
// LesHouches.h is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef THEPEG_LesHouches_H
#define THEPEG_LesHouches_H
//
// This is the declaration of the LesHouches class.
//
#include "ThePEG/Config/ThePEG.h"
namespace ThePEG {
/**
* The HEPRUP class is a simple container corresponding to the Les
* Houches accord (hep-ph/0109068) common block with the same
* name. The members are named in the same way as in the common
* block. However, fortran arrays are represented by vectors, except
* for the arrays of length two which are represented by pair objects.
*/
class HEPRUP {
public:
/** @name Standard constructors and destructors. */
//@{
/**
* Default constructor.
*/
HEPRUP() : IDWTUP(0), NPRUP(0) {}
//@}
public:
/**
* Set the NPRUP variable, corresponding to the number of
* sub-processes, to \a nrup, and resize all relevant vectors
* accordingly.
*/
void resize(int nrup) {
NPRUP = nrup;
resize();
}
/**
* Assuming the NPRUP variable, corresponding to the number of
* sub-processes, is correctly set, resize the relevant vectors
* accordingly.
*/
void resize() {
XSECUP.resize(NPRUP);
XERRUP.resize(NPRUP);
XMAXUP.resize(NPRUP);
LPRUP.resize(NPRUP);
}
/**
* PDG id's of beam particles. (first/second is in +/-z direction).
*/
pair<long,long> IDBMUP;
/**
* Energy of beam particles given in GeV.
*/
pair<double,double> EBMUP;
/**
* The author group for the PDF used for the beams according to the
* PDFLib specification.
*/
pair<int,int> PDFGUP;
/**
* The id number the PDF used for the beams according to the
* PDFLib specification.
*/
pair<int,int> PDFSUP;
/**
* Master switch indicating how the ME generator envisages the
* events weights should be interpreted according to the Les Houches
* accord.
*/
int IDWTUP;
/**
* The number of different subprocesses in this file (should
* typically be just one)
*/
int NPRUP;
/**
* The cross sections for the different subprocesses in pb.
*/
vector<double> XSECUP;
/**
* The statistical error in the cross sections for the different
* subprocesses in pb.
*/
vector<double> XERRUP;
/**
* The maximum event weights (in XWGTUP) for different subprocesses.
*/
vector<double> XMAXUP;
/**
* The subprocess code for the different subprocesses.
*/
vector<int> LPRUP;
};
/**
* The HEPEUP class is a simple container corresponding to the Les
* Houches accord (hep-ph/0109068) common block with the same
* name. The members are named in the same way as in the common
* block. However, fortran arrays are represented by vectors, except
* for the arrays of length two which are represented by pair objects.
*/
class HEPEUP {
public:
/** @name Standard constructors and destructors. */
//@{
/**
* Default constructor.
*/
HEPEUP()
: NUP(0), IDPRUP(0), XWGTUP(0.0), XPDWUP(0.0, 0.0),
SCALUP(0.0), AQEDUP(0.0), AQCDUP(0.0) {}
//@}
public:
/**
* Set the NUP variable, corresponding to the number of particles in
* the current event, to \a nup, and resize all relevant vectors
* accordingly.
*/
void resize(int nup) {
NUP = nup;
resize();
}
/**
* Assuming the NUP variable, corresponding to the number of
* particles in the current event, is correctly set, resize the
* relevant vectors accordingly.
*/
void resize() {
IDUP.resize(NUP);
ISTUP.resize(NUP);
MOTHUP.resize(NUP);
ICOLUP.resize(NUP);
PUP.resize(NUP, std::vector<double>(5));
VTIMUP.resize(NUP);
SPINUP.resize(NUP);
}
/**
* The number of particle entries in the current event.
*/
int NUP;
/**
* The subprocess code for this event (as given in LPRUP).
*/
int IDPRUP;
/**
* The weight for this event.
*/
double XWGTUP;
/**
* The PDF weights for the two incoming partons. Note that this
* variable is not present in the current LesHouches accord
* (hep-ph/0109068), hopefully it will be present in a future
* accord.
*/
pair<double,double> XPDWUP;
/**
* The scale in GeV used in the calculation of the PDF's in this
* event.
*/
double SCALUP;
/**
* The value of the QED coupling used in this event.
*/
double AQEDUP;
/**
* The value of the QCD coupling used in this event.
*/
double AQCDUP;
/**
* The PDG id's for the particle entries in this event.
*/
vector<long> IDUP;
/**
* The status codes for the particle entries in this event.
*/
vector<int> ISTUP;
/**
* Indices for the first and last mother for the particle entries in
* this event.
*/
vector< pair<int,int> > MOTHUP;
/**
* The colour-line indices (first(second) is (anti)colour) for the
* particle entries in this event.
*/
vector< pair<int,int> > ICOLUP;
/**
* Lab frame momentum (Px, Py, Pz, E and M in GeV) for the particle
* entries in this event.
*/
vector< vector<double> > PUP;
/**
* Invariant lifetime (c*tau, distance from production to decay im
* mm) for the particle entries in this event.
*/
vector<double> VTIMUP;
/**
* Spin info for the particle entries in this event given as the
* cosine of the angle between the spin vector of a particle and the
* 3-momentum of the decaying particle, specified in the lab frame.
*/
vector<double> SPINUP;
};
}
#endif /* THEPEG_LesHouches_H */
|