/usr/include/Rivet/Rivet.hh is in librivet-dev 1.8.3-1.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 | #ifndef RIVET_Rivet_HH
#define RIVET_Rivet_HH
#include "Rivet/Config/RivetConfig.hh"
#include "Rivet/Config/BuildOptions.hh"
// Bring selected STL classes into the Rivet namespace
#include "Rivet/RivetSTL.hh"
// Macro to help with overzealous compiler warnings
#ifdef UNUSED
#elif defined(__GNUC__)
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
#elif defined(__LCLINT__)
# define UNUSED(x) /*@unused@*/ x
#else
# define UNUSED(x) x
#endif
namespace Rivet {
/// A sensible default maximum value of rapidity for Rivet analyses to use.
static const double MAXRAPIDITY = 100000.0;
/// @deprecated
static const double MaxRapidity = 100000.0;
/// A function to get the Rivet version string
string version();
}
// AIDA headers
#include "Rivet/RivetAIDA.fhh"
// HepMC headers and helper functions
#include "Rivet/RivetHepMC.hh"
// Now import some Rivet classes
#include "Rivet/Exceptions.hh"
#include "Rivet/Math/MathUtils.hh"
#include "Rivet/Math/Vectors.hh"
#include "Rivet/Math/Matrices.hh"
#include "Rivet/Math/Units.hh"
#include "Rivet/Tools/Utils.hh"
#include "Rivet/Tools/RivetPaths.hh"
#include "Rivet/ParticleName.hh"
#include "Rivet/Particle.hh"
namespace Rivet {
/// Convenient function for streaming out vectors of any streamable object.
template<typename T>
inline std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec) {
os << "[ ";
for (size_t i=0; i<vec.size(); ++i) {
os << vec[i] << " ";
}
os << "]";
return os;
}
/// Convenient function for streaming out lists of any streamable object.
template<typename T>
inline std::ostream& operator<<(std::ostream& os, const std::list<T>& vec) {
os << "[ ";
for (size_t i=0; i<vec.size(); ++i) {
os << vec[i] << " ";
}
os << "]";
return os;
}
}
#endif
|