/usr/include/ThePEG/Config/Constants.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 | // -*- C++ -*-
//
// Constants.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_Constants_H
#define ThePEG_Constants_H
// This file defines a number of useful constants, placed in the
// namespace <!id>ThePEG::Constants<!!id>.
#include "Unitsystem.h"
#include <cmath>
#include <cfloat>
namespace ThePEG {
/**
* The Constants namespace containing some useful physical constants
* with suitable units.
*/
namespace Constants {
using namespace ThePEG::Units;
/** A really large length. */
const Length MaxLength = 1.0e20 * meter;
/** A really large energy. */
const Energy MaxEnergy = 1.0e6 * GeV;
/** A really large squared energy. */
const Energy2 MaxEnergy2 = MaxEnergy * MaxEnergy;
/** The largest possible double. */
const double MaxDouble = DBL_MAX;
/** A really large double. */
const double HugeDouble = DBL_MAX * 1.0e-4;
/** The largest possible float. */
const double MaxFloat = FLT_MAX;
/** A really large floa.t */
const double HugeFloat = FLT_MAX * 0.01;
/** A really large rapidity */
const double MaxRapidity = 100.0;
/** Good old \f$\pi\f$. */
const double pi = M_PI;
/** Good old \f$2\pi\f$. */
const double twopi = 2.0 * pi;
/** A really large integer */
const long MaxInt = 1000000000L;
/** The smallest non-zero double. */
const double epsilon = DBL_EPSILON;
/** The Euler gamma */
const double EulerGamma = 0.5772156649015329;
}
}
#endif /* ThePEG_Constants_H */
|