hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
utility.hh File Reference

Contains various utilities. More...

#include <array>
#include <memory>
#include <string>
#include "boost/core/demangle.hpp"
#include "fastjet/PseudoJet.hh"
Include dependency graph for utility.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HEJ::detail::ArrayTag< T, N, Ns >
 
struct  HEJ::detail::ArrayTag< T, N >
 

Namespaces

namespace  HEJ
 Main HEJ 2 Namespace.
 
namespace  HEJ::detail
 

Typedefs

template<typename T , std::size_t N, std::size_t... Ns>
using HEJ::MultiArray = typename detail::ArrayTag< T, N, Ns... >::type
 

Functions

std::string HEJ::join (std::string const &)
 
std::string HEJ::join (std::string const &, std::string const &str)
 
template<typename... Strings>
std::string HEJ::join (std::string const &delim, std::string const &first, std::string const &second, Strings &&... rest)
 Join strings with a delimiter. More...
 
template<typename T >
std::string HEJ::type_string (T &&)
 Return the name of the argument's type. More...
 
template<typename... T>
constexpr void HEJ::ignore (T &&...)
 Eliminate compiler warnings for unused variables. More...
 
constexpr bool HEJ::nearby_ep (double a, double b, double ep)
 Check whether two doubles are closer than ep >= 0 to each other. More...
 
bool HEJ::nearby_ep (fastjet::PseudoJet const &pa, fastjet::PseudoJet const &pb, double ep)
 Check whether all components of two PseudoJets are closer than ep to each other. More...
 
bool HEJ::nearby (fastjet::PseudoJet const &pa, fastjet::PseudoJet const &pb, double const norm=1.)
 
template<class Event >
bool HEJ::momentum_conserved (Event const &ev, const double tolerance=1e-7)
 Check momentum conservation. More...
 

Detailed Description

Contains various utilities.

Authors
The HEJ collaboration (see AUTHORS for details)
Date
2019-2020