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

Class to calculate the scale associated with an event. More...

#include <ScaleFunction.hh>

Public Member Functions

 ScaleFunction (std::string name, std::function< double(Event const &)> fun)
 Constructor. More...
 
std::string const & name () const
 Name of the scale choice. More...
 
double operator() (Event const &ev) const
 Calculate the scale associated with an event. More...
 

Friends

ScaleFunction operator* (double factor, ScaleFunction base_scale)
 Multiply a scale choice by a constant factor. More...
 
ScaleFunction operator/ (ScaleFunction base_scale, double denom)
 Divide 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, ScaleFunction denom)
 Divide a scale choice by a second one. More...
 

Detailed Description

Class to calculate the scale associated with an event.

Constructor & Destructor Documentation

◆ ScaleFunction()

HEJ::ScaleFunction::ScaleFunction ( std::string  name,
std::function< double(Event const &)>  fun 
)
inline

Constructor.

Parameters
nameName of the scale choice (e.g. H_T)
funFunction used to calculate the scale

Member Function Documentation

◆ name()

std::string const & HEJ::ScaleFunction::name ( ) const
inline

Name of the scale choice.

◆ operator()()

double HEJ::ScaleFunction::operator() ( Event const &  ev) const
inline

Calculate the scale associated with an event.

Friends And Related Function Documentation

◆ operator* [1/2]

ScaleFunction operator* ( double  factor,
ScaleFunction  base_scale 
)
friend

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.

◆ operator* [2/2]

ScaleFunction operator* ( ScaleFunction  factor,
ScaleFunction  base_scale 
)
friend

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.

◆ operator/ [1/2]

ScaleFunction operator/ ( ScaleFunction  base_scale,
double  denom 
)
friend

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.

◆ operator/ [2/2]

ScaleFunction operator/ ( ScaleFunction  base_scale,
ScaleFunction  denom 
)
friend

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.


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