/usr/include/Pythia8/Pythia8/BeamShape.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 | // BeamShape.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.
// Header for classes to set beam momentum and interaction vertex spread.
#ifndef Pythia8_BeamShape_H
#define Pythia8_BeamShape_H
#include "Pythia8/Basics.h"
#include "Pythia8/PythiaStdlib.h"
#include "Pythia8/Settings.h"
namespace Pythia8 {
//==========================================================================
// Base class to set beam momentum and interaction spot spread.
class BeamShape {
public:
// Constructor.
BeamShape() {}
// Destructor.
virtual ~BeamShape() {}
// Initialize beam parameters.
virtual void init( Settings& settings, Rndm* rndmPtrIn);
// Set the two beam momentum deviations and the beam vertex.
virtual void pick();
// Methods to read out the choice made with the above method.
Vec4 deltaPA() const {return Vec4( deltaPxA, deltaPyA, deltaPzA, 0);}
Vec4 deltaPB() const {return Vec4( deltaPxB, deltaPyB, deltaPzB, 0);}
Vec4 vertex() const {return Vec4( vertexX, vertexY, vertexZ, vertexT);}
protected:
// Values to be set.
double deltaPxA, deltaPyA, deltaPzA, deltaPxB, deltaPyB, deltaPzB,
vertexX, vertexY, vertexZ, vertexT;
// Parameters of Gaussian parametrizations.
bool allowMomentumSpread, allowVertexSpread;
double sigmaPxA, sigmaPyA, sigmaPzA, maxDevA, sigmaPxB, sigmaPyB,
sigmaPzB, maxDevB, sigmaVertexX, sigmaVertexY, sigmaVertexZ,
maxDevVertex, sigmaTime, maxDevTime, offsetX, offsetY,
offsetZ, offsetT;
// Pointer to the random number generator.
Rndm* rndmPtr;
};
//==========================================================================
} // end namespace Pythia8
#endif // Pythia8_BeamShape_H
|