HEJ 2.1.4
High energy resummation for hadron colliders
|
Namespaces | |
namespace | currents |
namespace | detail |
namespace | detail_HepMC |
namespace | event_type |
Namespace for event types. | |
namespace | helicity |
namespace | pid |
particle ids according to PDG | |
namespace | Version |
Classes | |
struct | Analysis |
Analysis base class. More... | |
struct | Beam |
Beam parameters. More... | |
class | BufferedEventReader |
Event reader with internal buffer. More... | |
class | CombinedEventWriter |
Write event output to zero or more output files. More... | |
struct | Config |
class | CrossSectionAccumulator |
Sum of Cross Section for different subproccess. More... | |
struct | DefaultRNG |
Helper struct with default implementations. More... | |
struct | EmptyAnalysis |
class | Event |
An event with clustered jets. More... | |
struct | EventParameters |
Event parameters. More... | |
struct | EventReader |
Abstract base class for reading events from files. More... | |
class | EventReweighter |
Main class for reweighting events in HEJ. More... | |
struct | EventReweighterConfig |
Configuration options for the EventReweighter class. More... | |
class | EventWriter |
Pure abstract base class for event writers. More... | |
class | EWConstants |
Collection of electro-weak constants. More... | |
class | FixedScale |
Functor that returns a fixed scale regardless of the input event. More... | |
class | Fraction |
Class for floating point numbers between 0 and 1. More... | |
class | HDF5Reader |
Class for reading events from a file in the HDF5 file format. More... | |
class | HDF5Writer |
This is an event writer specifically for HDF5 output. More... | |
class | HepMC2Interface |
This class converts the Events into HepMC::GenEvents. More... | |
class | HepMC2Writer |
This is an event writer specifically for HepMC output. More... | |
class | HepMC3Interface |
This class converts the Events into HepMC3::GenEvents. More... | |
class | HepMC3Writer |
This is an event writer specifically for HepMC3 output. More... | |
struct | HiggsCouplingSettings |
Settings for Higgs boson coupling to gluons. More... | |
struct | invalid_type |
Exception indicating wrong option type. More... | |
class | istream |
Small wrapper around boost's filtering_istream. More... | |
struct | JetParameters |
Jet parameters. More... | |
class | JetSplitter |
Class to split jets into their constituents. More... | |
class | LesHouchesReader |
Class for reading events from a file in the Les Houches Event File format. More... | |
class | LesHouchesWriter |
Class for writing events to a file in the Les Houches Event File format. More... | |
class | MatrixElement |
Class to calculate the squares of matrix elements. More... | |
struct | MatrixElementConfig |
Configuration options for the MatrixElement class. More... | |
struct | missing_option |
Exception indicating missing option setting. More... | |
class | Mixmax |
MIXMAX random number generator. More... | |
struct | not_implemented |
Exception indicating functionality that has not been implemented yet. More... | |
struct | OutputFile |
Output file specification. More... | |
struct | ParameterDescription |
Description of event parameters, see also EventParameters. More... | |
struct | Parameters |
Collection of parameters, e.g. Weights, assigned to a single event. More... | |
struct | PartialUnweightConfig |
Settings for partial unweighting. More... | |
struct | Particle |
Class representing a particle. More... | |
struct | ParticleProperties |
collection of basic particle properties More... | |
class | |
Class for interaction with a PDF set. More... | |
class | PhaseSpacePoint |
Generated point in resummation phase space. More... | |
struct | PhaseSpacePointConfig |
Configuration options for the PhaseSpacePoint class. More... | |
class | ProgressBar |
Class representing (and printing) a progress bar. More... | |
struct | pz_less |
Functor to compare momenta in z direction. More... | |
class | Ranlux64 |
Ranlux64 random number generator. More... | |
struct | rapidity_less |
Functor to compare rapidities. More... | |
class | RivetAnalysis |
Class representing a Rivet analysis. More... | |
struct | RNG |
Interface for random number generator. More... | |
struct | RNGConfig |
Settings for random number generator. More... | |
struct | ScaleConfig |
Settings for scale variation. More... | |
class | ScaleFunction |
Class to calculate the scale associated with an event. More... | |
class | ScaleGenerator |
Generate combinations of renormalisation and factorisation scales. More... | |
class | SherpaLHEReader |
Les Houches Event file reader for LHE files created by Sherpa. More... | |
struct | UnclusteredEvent |
struct | unknown_option |
Exception indicating unknown option. More... | |
class | Unweighter |
Unweight events. More... | |
struct | XSWithError |
Collection of Cross Section with its uncertainty. More... | |
Typedefs | |
using | EventTreatMap = std::map< event_type::EventType, EventTreatment > |
Container to store the treatments for various event types. More... | |
template<typename T > | |
using | optional = boost::optional< T > |
using | Weights = Parameters< double > |
Alias for weight container, e.g. used by the MatrixElement. More... | |
using | Colour = std::pair< int, int > |
using | ParticleID = pid::ParticleID |
template<typename T , std::size_t N, std::size_t... Ns> | |
using | MultiArray = typename detail::ArrayTag< T, N, Ns... >::type |
Enumerations | |
enum class | EventTreatment { reweight , keep , discard } |
enum class | WeightType { weighted , unweighted_resum , partially_unweighted } |
Possible setting for the event weight. More... | |
enum class | FileFormat { Les_Houches , HepMC3 , HepMC2 , HDF5 , HepMC =HepMC3 } |
Supported event file formats. More... | |
enum | StatusCode { good , discard , empty_jets , failed_reshuffle , failed_resummation_cuts , failed_split , too_much_energy , gluon_in_qqbar , wrong_jets , unspecified } |
Possible status codes from the event generation. More... | |
Functions | |
PhaseSpacePointConfig | to_PhaseSpacePointConfig (Config const &conf) |
MatrixElementConfig | to_MatrixElementConfig (Config const &conf) |
EventReweighterConfig | to_EventReweighterConfig (Config const &conf) |
std::ostream & | operator<< (std::ostream &os, const CrossSectionAccumulator &xs) |
Print CrossSectionAccumulator to stream. More... | |
std::ostream & | operator<< (std::ostream &os, Event const &ev) |
Print Event. More... | |
double | shat (Event const &ev) |
Square of the partonic centre-of-mass energy \(\hat{s}\). More... | |
LHEF::HEPEUP | to_HEPEUP (Event const &event, LHEF::HEPRUP *) |
Convert an event to a LHEF::HEPEUP. More... | |
std::unique_ptr< EventReader > | make_reader (std::string const &filename) |
Factory function for event readers. More... | |
std::unique_ptr< Analysis > | get_analysis (YAML::Node const ¶meters, LHEF::HEPRUP const &heprup) |
Load an analysis. More... | |
std::vector< std::unique_ptr< Analysis > > | get_analyses (std::vector< YAML::Node > const ¶meters, LHEF::HEPRUP const &heprup) |
Loads multiple analysis, vector version of get_analysis() More... | |
constexpr Helicity | flip (Helicity h) |
Flip helicity. More... | |
std::tuple< fastjet::PseudoJet, fastjet::PseudoJet > | incoming_momenta (std::vector< Particle > const &outgoing) |
Compute the incoming momentum from momentum conservation. More... | |
auto | dot (CLHEP::HepLorentzVector const &pi, CLHEP::HepLorentzVector const &pj) |
"dot" product More... | |
std::complex< double > | angle (CLHEP::HepLorentzVector const &pi, CLHEP::HepLorentzVector const &pj) |
"angle" product angle(pi, pj) = <i j> More... | |
std::complex< double > | square (CLHEP::HepLorentzVector const &pi, CLHEP::HepLorentzVector const &pj) |
"square" product square(pi, pj) = [i j] More... | |
auto | m2 (CLHEP::HepLorentzVector const &h1) |
Invariant mass. More... | |
auto | plus (CLHEP::HepLorentzVector const &h1) |
Plus component. More... | |
auto | minus (CLHEP::HepLorentzVector const &h1) |
Minus component. More... | |
auto | perphat (CLHEP::HepLorentzVector const &h1) |
std::pair< CLHEP::HepLorentzVector, CLHEP::HepLorentzVector > | split_into_lightlike (CLHEP::HepLorentzVector const &P) |
Split a single Lorentz vector into two lightlike Lorentz vectors. More... | |
CLHEP::HepLorentzVector | to_HepLorentzVector (fastjet::PseudoJet const &mom) |
CLHEP::HepLorentzVector | to_HepLorentzVector (Particle const &particle) |
fastjet::PseudoJet | to_PseudoJet (CLHEP::HepLorentzVector const &mom) |
std::unique_ptr< RNG > | make_RNG (std::string const &name, optional< std::string > const &seed) |
Factory function for random number generators. More... | |
std::unique_ptr< EventWriter > | make_format_writer (FileFormat format, std::string const &outfile, LHEF::HEPRUP const &heprup) |
Factory function for event writers. More... | |
std::string | to_string (FileFormat f) |
Convert a file format to a string. More... | |
template<class T1 , class T2 > | |
Parameters< T1 > | operator* (Parameters< T1 > a, Parameters< T2 > const &b) |
template<class T > | |
Parameters< T > | operator* (Parameters< T > a, double b) |
template<class T > | |
Parameters< T > | operator* (double b, Parameters< T > a) |
template<class T1 , class T2 > | |
Parameters< T1 > | operator/ (Parameters< T1 > a, Parameters< T2 > const &b) |
template<class T > | |
Parameters< T > | operator/ (Parameters< T > a, double b) |
template<class T1 , class T2 > | |
Parameters< T1 > | operator+ (Parameters< T1 > a, Parameters< T2 > const &b) |
template<class T1 , class T2 > | |
Parameters< T1 > | operator- (Parameters< T1 > a, Parameters< T2 > const &b) |
std::string | to_string (ParameterDescription const &p) |
generate human readable string name More... | |
std::string | to_simple_string (ParameterDescription const &p) |
EventParameters | operator* (EventParameters a, double b) |
EventParameters | operator* (double b, EventParameters a) |
EventParameters | operator/ (EventParameters a, double b) |
std::vector< fastjet::PseudoJet > | to_PseudoJet (std::vector< Particle > const &v) |
Convert a vector of Particles to a vector of particle momenta. More... | |
constexpr bool | is_parton (Particle const &p) |
Check if a particle is a parton, i.e. quark, antiquark, or gluon. More... | |
constexpr bool | is_quark (Particle const &p) |
Check if a particle is a quark. More... | |
constexpr bool | is_antiquark (Particle const &p) |
Check if a particle is an anti-quark. More... | |
constexpr bool | is_anyquark (Particle const &p) |
Check if a particle is a quark or anit-quark. More... | |
constexpr bool | is_lepton (Particle const &p) |
Function to determine if particle is a lepton. More... | |
constexpr bool | is_antilepton (Particle const &p) |
Function to determine if particle is an antilepton. More... | |
constexpr bool | is_anylepton (Particle const &p) |
Function to determine if particle is an (anti-)lepton. More... | |
constexpr bool | is_neutrino (Particle const &p) |
Function to determine if particle is a neutrino. More... | |
constexpr bool | is_antineutrino (Particle const &p) |
Function to determine if particle is an antineutrino. More... | |
constexpr bool | is_anyneutrino (Particle const &p) |
Function to determine if particle is an (anti-)neutrino. More... | |
constexpr bool | is_AWZ_boson (Particle const &particle) |
Check if a particle is a photon, W or Z boson. More... | |
constexpr bool | is_AWZH_boson (Particle const &particle) |
Check if a particle is a photon, W, Z, or Higgs boson. More... | |
std::vector< Particle > | filter_partons (std::vector< Particle > const &v) |
Extract all partons from a vector of particles. More... | |
std::vector< Particle > | filter_AWZH_bosons (std::vector< Particle > const &v) |
Extract all AWZH bosons from a vector of particles. More... | |
ParticleID | to_ParticleID (std::string const &name) |
Convert a particle name to the corresponding PDG particle ID. More... | |
constexpr bool | is_quark (ParticleID id) |
Function to determine if particle is a quark. More... | |
constexpr bool | is_antiquark (ParticleID id) |
Function to determine if particle is an antiquark. More... | |
constexpr bool | is_anyquark (ParticleID id) |
Function to determine if particle is an (anti-)quark. More... | |
constexpr bool | is_gluon (ParticleID id) |
Function to determine if particle is a gluon. More... | |
constexpr bool | is_parton (ParticleID id) |
Function to determine if particle is a parton. More... | |
constexpr bool | is_AWZ_boson (ParticleID id) |
function to determine if the particle is a photon, W or Z More... | |
constexpr bool | is_AWZH_boson (ParticleID id) |
function to determine if the particle is a photon, W, Z, or Higgs boson More... | |
constexpr bool | is_lepton (ParticleID id) |
Function to determine if particle is a lepton. More... | |
constexpr bool | is_antilepton (ParticleID id) |
Function to determine if particle is an antilepton. More... | |
constexpr bool | is_anylepton (ParticleID id) |
Function to determine if particle is an (anti-)lepton. More... | |
constexpr bool | is_neutrino (ParticleID id) |
Function to determine if particle is a neutrino. More... | |
constexpr bool | is_antineutrino (ParticleID id) |
Function to determine if particle is an antineutrino. More... | |
constexpr bool | is_anyneutrino (ParticleID id) |
Function to determine if particle is an (anti-)neutrino. More... | |
Event::EventData | to_EventData (PhaseSpacePoint psp) |
Extract Event::EventData from PhaseSpacePoint. More... | |
std::vector< fastjet::PseudoJet > | resummation_jet_momenta (std::vector< fastjet::PseudoJet const * > const &p_born, fastjet::PseudoJet const &qperp) |
Calculate the resummation jet momenta. More... | |
double | resummation_jet_weight (std::vector< fastjet::PseudoJet const * > const &p_born, fastjet::PseudoJet const &qperp) |
Calculate additional weight from changing the jet momenta. More... | |
ScaleFunction | operator* (double factor, ScaleFunction base_scale) |
Multiply a scale choice by a constant factor. More... | |
ScaleFunction | operator* (ScaleFunction factor, ScaleFunction base_scale) |
Multiply a scale choice by a second one. More... | |
ScaleFunction | operator/ (ScaleFunction base_scale, double denom) |
Divide a scale choice by a constant factor. More... | |
ScaleFunction | operator/ (ScaleFunction base_scale, ScaleFunction denom) |
Divide a scale choice by a second one. More... | |
double | H_T (Event const &) |
Calculate \(H_T\) for the input event. More... | |
double | max_jet_pt (Event const &) |
The maximum of all (scalar) jet transverse momentum. More... | |
double | jet_invariant_mass (Event const &) |
The invariant mass of the sum of all jet momenta. More... | |
double | m_j1j2 (Event const &) |
Invariant mass of the two hardest jets. More... | |
std::string | to_string (StatusCode s) |
std::string | join (std::string const &) |
std::string | join (std::string const &, std::string const &str) |
template<typename... Strings> | |
std::string | 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 | type_string (T &&) |
Return the name of the argument's type. More... | |
template<typename... T> | |
constexpr void | ignore (T &&...) |
Eliminate compiler warnings for unused variables. More... | |
constexpr bool | nearby_ep (double a, double b, double ep) |
Check whether two doubles are closer than ep > 0 to each other. More... | |
bool | 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 | nearby (fastjet::PseudoJet const &pa, fastjet::PseudoJet const &pb, double const norm=1.) |
Config | load_config (std::string const &config_file) |
Load configuration from file. More... | |
template<typename T , typename... YamlNames> | |
void | set_from_yaml (T &setting, YAML::Node const &yaml, YamlNames const &... names) |
Set option using the corresponding YAML entry. More... | |
template<typename T , typename... YamlNames> | |
void | set_from_yaml_if_defined (T &setting, YAML::Node const &yaml, YamlNames const &... names) |
Set option using the corresponding YAML entry, if present. More... | |
JetParameters | get_jet_parameters (YAML::Node const &node, std::string const &entry) |
Extract jet parameters from YAML configuration. More... | |
HiggsCouplingSettings | get_Higgs_coupling (YAML::Node const &node, std::string const &entry) |
Extract Higgs coupling settings from YAML configuration. More... | |
EWConstants | get_ew_parameters (YAML::Node const &node) |
Extract the EW parameters from YAML configuration. More... | |
ScaleConfig | to_ScaleConfig (YAML::Node const &yaml) |
Extract scale setting parameters from YAML configuration. More... | |
RNGConfig | to_RNGConfig (YAML::Node const &node, std::string const &entry) |
Extract random number generator settings from YAML configuration. More... | |
void | assert_all_options_known (YAML::Node const &conf, YAML::Node const &supported) |
Check whether all options in configuration are supported. More... | |
Variables | |
QCD parameters | |
constexpr double | N_C = 3. |
number of Colours More... | |
constexpr double | C_A = N_C |
\(C_A\) More... | |
constexpr double | C_F = (N_C*N_C - 1.)/(2.*N_C) |
\(C_F\) More... | |
constexpr double | T_F = 0.5 |
\(t_f\) More... | |
constexpr double | N_F = 5. |
number light flavours More... | |
constexpr double | BETA0 = 11./3.*C_A - 4./3.*T_F*N_F |
Generation Parameters | |
constexpr double | CLAMBDA = 0.2 |
Default scale for virtual correction \(\lambda\) cf. eq. (20) in [1]. More... | |
constexpr double | CMINPT = 0.2 |
constexpr double | DEFAULT_SOFT_PT_REGULATOR = 0.1 |
default value for the maximal pt fraction of soft radiation in any tagging jets This cut is needed to regulate an otherwise uncancelled divergence. More... | |
Conventional Parameters | |
constexpr int | COLOUR_OFFSET = 501 |
Main HEJ 2 Namespace.
using HEJ::Colour = typedef std::pair<int,int> |
using HEJ::EventTreatMap = typedef std::map<event_type::EventType, EventTreatment> |
Container to store the treatments for various event types.
using HEJ::MultiArray = typedef typename detail::ArrayTag<T, N, Ns...>::type |
using HEJ::optional = typedef boost::optional<T> |
using HEJ::ParticleID = typedef pid::ParticleID |
using HEJ::Weights = typedef Parameters<double> |
Alias for weight container, e.g. used by the MatrixElement.
|
strong |
|
strong |
enum HEJ::StatusCode |
|
strong |
std::complex< double > HEJ::angle | ( | CLHEP::HepLorentzVector const & | pi, |
CLHEP::HepLorentzVector const & | pj | ||
) |
"angle" product angle(pi, pj) = <i j>
void HEJ::assert_all_options_known | ( | YAML::Node const & | conf, |
YAML::Node const & | supported | ||
) |
Check whether all options in configuration are supported.
conf | Configuration to be checked |
supported | Tree of supported options |
If conf contains an entry that does not appear in supported an unknown_option exception is thrown. Sub-entries of "analysis" (if present) are not checked.
|
inline |
"dot" product
Extract all AWZH bosons from a vector of particles.
Extract all partons from a vector of particles.
|
inlineconstexpr |
Flip helicity.
h | Helicity to flip |
std::vector< std::unique_ptr< Analysis > > HEJ::get_analyses | ( | std::vector< YAML::Node > const & | parameters, |
LHEF::HEPRUP const & | heprup | ||
) |
Loads multiple analysis, vector version of get_analysis()
parameters | Vector of Analysis parameters |
heprup | General run informations |
std::unique_ptr< Analysis > HEJ::get_analysis | ( | YAML::Node const & | parameters, |
LHEF::HEPRUP const & | heprup | ||
) |
Load an analysis.
parameters | Analysis parameters |
heprup | General run informations |
If parameters["plugin"] exists, an analysis (deriving from the Analysis class) will be loaded from the library parameters["plugin"]. Otherwise, if parameters["rivet"] exists, the corresponding RivetAnalysis will be loaded. If none of these parameters are specified, a pointer to the default EmptyAnalysis is returned.
EWConstants HEJ::get_ew_parameters | ( | YAML::Node const & | node | ) |
Extract the EW parameters from YAML configuration.
HiggsCouplingSettings HEJ::get_Higgs_coupling | ( | YAML::Node const & | node, |
std::string const & | entry | ||
) |
Extract Higgs coupling settings from YAML configuration.
JetParameters HEJ::get_jet_parameters | ( | YAML::Node const & | node, |
std::string const & | entry | ||
) |
Extract jet parameters from YAML configuration.
double HEJ::H_T | ( | Event const & | ) |
Calculate \(H_T\) for the input event.
\(H_T\) is the sum of the (scalar) transverse momenta of all final-state particles
|
constexpr |
Eliminate compiler warnings for unused variables.
std::tuple< fastjet::PseudoJet, fastjet::PseudoJet > HEJ::incoming_momenta | ( | std::vector< Particle > const & | outgoing | ) |
Compute the incoming momentum from momentum conservation.
outgoing | Outgoing particles |
|
inlineconstexpr |
Function to determine if particle is an antilepton.
p | the particle |
|
inlineconstexpr |
Function to determine if particle is an antilepton.
id | PDG ID of particle |
|
inlineconstexpr |
Function to determine if particle is an antineutrino.
p | the particle |
|
inlineconstexpr |
Function to determine if particle is an antineutrino.
id | PDG ID of particle |
|
inlineconstexpr |
Check if a particle is an anti-quark.
|
inlineconstexpr |
Function to determine if particle is an antiquark.
id | PDG ID of particle |
|
inlineconstexpr |
Function to determine if particle is an (anti-)lepton.
p | the particle |
|
inlineconstexpr |
Function to determine if particle is an (anti-)lepton.
id | PDG ID of particle |
|
inlineconstexpr |
Function to determine if particle is an (anti-)neutrino.
p | the particle |
|
inlineconstexpr |
Function to determine if particle is an (anti-)neutrino.
id | PDG ID of particle |
|
inlineconstexpr |
Check if a particle is a quark or anit-quark.
|
inlineconstexpr |
Function to determine if particle is an (anti-)quark.
id | PDG ID of particle |
|
inlineconstexpr |
Check if a particle is a photon, W or Z boson.
|
inlineconstexpr |
function to determine if the particle is a photon, W or Z
id | PDG ID of particle |
|
inlineconstexpr |
Check if a particle is a photon, W, Z, or Higgs boson.
|
inlineconstexpr |
function to determine if the particle is a photon, W, Z, or Higgs boson
id | PDG ID of particle |
|
inlineconstexpr |
Function to determine if particle is a gluon.
id | PDG ID of particle |
|
inlineconstexpr |
Function to determine if particle is a lepton.
p | the particle |
|
inlineconstexpr |
Function to determine if particle is a lepton.
id | PDG ID of particle |
|
inlineconstexpr |
Function to determine if particle is a neutrino.
p | the particle |
|
inlineconstexpr |
Function to determine if particle is a neutrino.
id | PDG ID of particle |
|
inlineconstexpr |
Check if a particle is a parton, i.e. quark, antiquark, or gluon.
|
inlineconstexpr |
Function to determine if particle is a parton.
id | PDG ID of particle |
|
inlineconstexpr |
Check if a particle is a quark.
|
inlineconstexpr |
Function to determine if particle is a quark.
id | PDG ID of particle |
double HEJ::jet_invariant_mass | ( | Event const & | ) |
The invariant mass of the sum of all jet momenta.
|
inline |
|
inline |
std::string HEJ::join | ( | std::string const & | delim, |
std::string const & | first, | ||
std::string const & | second, | ||
Strings &&... | rest | ||
) |
Join strings with a delimiter.
delim | Delimiter to be put between consecutive strings |
first | First string |
second | Second string |
rest | Remaining strings |
Config HEJ::load_config | ( | std::string const & | config_file | ) |
|
inline |
Invariant mass.
double HEJ::m_j1j2 | ( | Event const & | ) |
Invariant mass of the two hardest jets.
std::unique_ptr< EventWriter > HEJ::make_format_writer | ( | FileFormat | format, |
std::string const & | outfile, | ||
LHEF::HEPRUP const & | heprup | ||
) |
Factory function for event writers.
format | The format of the output file |
outfile | The name of the output file |
heprup | General process information |
std::unique_ptr< EventReader > HEJ::make_reader | ( | std::string const & | filename | ) |
Factory function for event readers.
filename | The name of the input file |
std::unique_ptr< RNG > HEJ::make_RNG | ( | std::string const & | name, |
optional< std::string > const & | seed | ||
) |
Factory function for random number generators.
name | Name of the random number generator |
seed | Optional seed |
At present, name should be one of "ranlux64" or "mixmax" (case insensitive). The interpretation of the seed depends on the random number generator. For ranlux64, it is the name of a seed file. For mixmax it should be a string convertible to a long integer.
double HEJ::max_jet_pt | ( | Event const & | ) |
The maximum of all (scalar) jet transverse momentum.
|
inline |
Minus component.
|
inline |
|
inlineconstexpr |
Check whether two doubles are closer than ep > 0 to each other.
|
inline |
Check whether all components of two PseudoJets are closer than ep to each other.
|
inline |
|
inline |
ScaleFunction HEJ::operator* | ( | double | factor, |
ScaleFunction | base_scale | ||
) |
Multiply a scale choice by a constant factor.
For example, multiplying 0.5 and a scale function for H_T will result in a scale function for H_T/2.
|
inline |
|
inline |
|
inline |
ScaleFunction HEJ::operator* | ( | ScaleFunction | factor, |
ScaleFunction | base_scale | ||
) |
Multiply a scale choice by a second one.
For example, multiplying H_T and m_j1j2 will result in a scale function for H_T*m_j1j2.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ScaleFunction HEJ::operator/ | ( | ScaleFunction | base_scale, |
double | denom | ||
) |
Divide a scale choice by a constant factor.
For example, dividing a scale function for H_T by 2 will result in a scale function for H_T/2.
ScaleFunction HEJ::operator/ | ( | ScaleFunction | base_scale, |
ScaleFunction | denom | ||
) |
Divide a scale choice by a second one.
For example, dividing a scale function for H_T by m_j1j2 will result in a scale function for H_T/m_j1j2.
std::ostream & HEJ::operator<< | ( | std::ostream & | os, |
const CrossSectionAccumulator & | xs | ||
) |
Print CrossSectionAccumulator to stream.
|
inline |
|
inline |
Plus component.
std::vector< fastjet::PseudoJet > HEJ::resummation_jet_momenta | ( | std::vector< fastjet::PseudoJet const * > const & | p_born, |
fastjet::PseudoJet const & | qperp | ||
) |
Calculate the resummation jet momenta.
p_born | born Jet Momenta |
qperp | Sum of non-jet Parton Transverse Momenta |
double HEJ::resummation_jet_weight | ( | std::vector< fastjet::PseudoJet const * > const & | p_born, |
fastjet::PseudoJet const & | qperp | ||
) |
Calculate additional weight from changing the jet momenta.
p_born | born Jet Momenta |
qperp | Sum of non-jet Parton Transverse Momenta |
Computes the Jacobian for changing the original delta functions expressed in terms of jet momenta to delta functions of the parton momenta in the resummation phase space
void HEJ::set_from_yaml | ( | T & | setting, |
YAML::Node const & | yaml, | ||
YamlNames const &... | names | ||
) |
Set option using the corresponding YAML entry.
setting | Option variable to be set |
yaml | Root of the YAML configuration |
names | Name of the entry |
If the entry does not exist or has the wrong type or format an exception is thrown.
For example
is equivalent to
with improved diagnostics on errors.
void HEJ::set_from_yaml_if_defined | ( | T & | setting, |
YAML::Node const & | yaml, | ||
YamlNames const &... | names | ||
) |
Set option using the corresponding YAML entry, if present.
setting | Option variable to be set |
yaml | Root of the YAML configuration |
names | Name of the entry |
This function works similar to set_from_yaml, but does not throw any exception if the requested YAML entry does not exist.
double HEJ::shat | ( | Event const & | ev | ) |
Square of the partonic centre-of-mass energy \(\hat{s}\).
std::pair< CLHEP::HepLorentzVector, CLHEP::HepLorentzVector > HEJ::split_into_lightlike | ( | CLHEP::HepLorentzVector const & | P | ) |
Split a single Lorentz vector into two lightlike Lorentz vectors.
P | Lorentz vector to be split |
P.perp() has to be positive.
p.e() is guaranteed to be positive. In addition, if either of P.plus() or P.minus() is positive, q.e() has the same sign as P.m2()
std::complex< double > HEJ::square | ( | CLHEP::HepLorentzVector const & | pi, |
CLHEP::HepLorentzVector const & | pj | ||
) |
"square" product square(pi, pj) = [i j]
Event::EventData HEJ::to_EventData | ( | PhaseSpacePoint | psp | ) |
Extract Event::EventData from PhaseSpacePoint.
|
inline |
! Extract EventReweighterConfig from Config
LHEF::HEPEUP HEJ::to_HEPEUP | ( | Event const & | event, |
LHEF::HEPRUP * | |||
) |
Convert an event to a LHEF::HEPEUP.
|
inline |
|
inline |
|
inline |
! Extract MatrixElementConfig from Config
ParticleID HEJ::to_ParticleID | ( | std::string const & | name | ) |
Convert a particle name to the corresponding PDG particle ID.
|
inline |
! Extract PhaseSpacePointConfig from Config
|
inline |
|
inline |
Convert a vector of Particles to a vector of particle momenta.
RNGConfig HEJ::to_RNGConfig | ( | YAML::Node const & | node, |
std::string const & | entry | ||
) |
Extract random number generator settings from YAML configuration.
ScaleConfig HEJ::to_ScaleConfig | ( | YAML::Node const & | yaml | ) |
Extract scale setting parameters from YAML configuration.
std::string HEJ::to_simple_string | ( | ParameterDescription const & | p | ) |
generate simplified string, intended for easy parsing Format: Scale_SCALENAME_MuRxx_MuFyy
|
inline |
Convert a file format to a string.
std::string HEJ::to_string | ( | ParameterDescription const & | p | ) |
generate human readable string name
|
inline |
Get name of StatusCode
std::string HEJ::type_string | ( | T && | ) |
Return the name of the argument's type.
|
constexpr |
\(C_A\)
|
constexpr |
Default scale for virtual correction \(\lambda\) cf. eq. (20) in [1].
|
constexpr |
minimal \(p_t\) of all partons
|
constexpr |
Value of first colour for colour dressing, according to LHE convention [3]
|
constexpr |
default value for the maximal pt fraction of soft radiation in any tagging jets This cut is needed to regulate an otherwise uncancelled divergence.
|
constexpr |
number of Colours
|
constexpr |
number light flavours
|
constexpr |
\(t_f\)