Rivet.hh
#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 {
static const double MAXRAPIDITY = 100000.0;
static const double MaxRapidity = 100000.0;
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 {
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;
}
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
Rivet
Definition: MC_JetAnalysis.hh:9
Rivet::version
string version()
A function to get the Rivet version string.
Definition: Utils.cc:9
Rivet::MAXRAPIDITY
static const double MAXRAPIDITY
A sensible default maximum value of rapidity for Rivet analyses to use.
Definition: Rivet.hh:24
Rivet::MaxRapidity
static const double MaxRapidity
Definition: Rivet.hh:26