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

Contains various utilities. More...

#include <memory>
#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.

Namespaces

namespace  HEJ
 Main HEJ 2 Namespace.
 

Functions

template<class T , class... Args>
std::unique_ptr< T > HEJ::make_unique (Args &&... a)
 Create a std::unique_ptr to a T object. More...
 
template<typename T , typename... U>
constexpr std::array< T, 1+sizeof...(U)> HEJ::make_array (T t, U &&... rest)
 Create an array containing the passed arguments. More...
 
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...
 
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.)
 

Detailed Description

Contains various utilities.

Authors
Jeppe Andersen, Tuomas Hapola, Marian Heil, Andreas Maier, Jennifer Smillie
Date
2019