hej is hosted by Hepforge, IPPP Durham
HEJ 2 2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::ScaleGenerator Class Reference

Generate combinations of renormalisation and factorisation scales. More...

#include <ScaleFunction.hh>

Public Member Functions

 ScaleGenerator ()=default
 
template<class ScaleFunIterator , class FactorIterator >
 ScaleGenerator (ScaleFunIterator scale_functions_begin, ScaleFunIterator scale_functions_end, FactorIterator scale_factors_begin, FactorIterator scale_factors_end, double max_scale_ratio)
 Constructor. More...
 
 ScaleGenerator (std::vector< ScaleFunction > scales, std::vector< double > scale_factors, double max_scale_ratio)
 Constructor. More...
 
Event operator() (Event event) const
 Adjust event parameters, adding scale variation. More...
 

Detailed Description

Generate combinations of renormalisation and factorisation scales.

Constructor & Destructor Documentation

◆ ScaleGenerator() [1/3]

HEJ::ScaleGenerator::ScaleGenerator ( )
default

◆ ScaleGenerator() [2/3]

template<class ScaleFunIterator , class FactorIterator >
HEJ::ScaleGenerator::ScaleGenerator ( ScaleFunIterator  scale_functions_begin,
ScaleFunIterator  scale_functions_end,
FactorIterator  scale_factors_begin,
FactorIterator  scale_factors_end,
double  max_scale_ratio 
)
inline

Constructor.

Parameters
scale_functions_beginIterator to first base scale
scale_functions_endIterator past last base scale
scale_factors_beginIterator to first scale factor
scale_factors_endIterator past last scale factor
max_scale_ratioMaximum ratio between renormalisation and factorisation scale

◆ ScaleGenerator() [3/3]

HEJ::ScaleGenerator::ScaleGenerator ( std::vector< ScaleFunction scales,
std::vector< double >  scale_factors,
double  max_scale_ratio 
)
inline

Constructor.

Parameters
scalesBase scales
scale_factorsFactors to multiply the base scales
max_scale_ratioMaximum ratio between renormalisation and factorisation scale

Member Function Documentation

◆ operator()()

Event HEJ::ScaleGenerator::operator() ( Event  event) const

Adjust event parameters, adding scale variation.

The central renormalisation and factorisation scale of the returned event is given be the first base scale passed to the constructor. The scale variation (stored in event.variation()) is constructed as follows: For each base scale according to the arguments of the constructor we add one variation where both renormalisation and factorisation scale are set according to the current base scale. Then, all combinations where the base renormalisation and factorisation scales are multiplied by one of the scale factors are added. The case were both scales are multiplied by one is skipped. Scale combinations where the ratio is larger than the maximum scale ratio set in the constructor are likewise discarded.


The documentation for this class was generated from the following file: