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

Main class for reweighting events in HEJ. More...

#include <EventReweighter.hh>

Public Member Functions

 EventReweighter (Beam beam, int pdf_id, ScaleGenerator scale_gen, EventReweighterConfig conf, HEJ::RNG &ran)
 
 EventReweighter (LHEF::HEPRUP const &heprup, ScaleGenerator scale_gen, EventReweighterConfig conf, HEJ::RNG &ran)
 
PDF const & pdf () const
 Get the used pdf. More...
 
std::vector< Eventreweight (Event const &ev, int num_events)
 Generate resummation events for a given fixed-order event. More...
 
template<typename... T>
PDF const & pdf (T &&... t)
 

Detailed Description

Main class for reweighting events in HEJ.

Constructor & Destructor Documentation

◆ EventReweighter() [1/2]

HEJ::EventReweighter::EventReweighter ( Beam  beam,
int  pdf_id,
ScaleGenerator  scale_gen,
EventReweighterConfig  conf,
HEJ::RNG ran 
)
Parameters
beamBeam Energy
pdf_idPDF ID
scale_genScale settings
confConfiguration parameters
ranRandom number generator

◆ EventReweighter() [2/2]

HEJ::EventReweighter::EventReweighter ( LHEF::HEPRUP const &  heprup,
ScaleGenerator  scale_gen,
EventReweighterConfig  conf,
HEJ::RNG ran 
)
Parameters
heprupLHEF event header
scale_genScale settings
confConfiguration parameters
ranRandom number generator

Member Function Documentation

◆ pdf() [1/2]

PDF const & HEJ::EventReweighter::pdf ( ) const

Get the used pdf.

◆ pdf() [2/2]

template<typename... T>
PDF const & HEJ::EventReweighter::pdf ( T &&...  t)

◆ reweight()

std::vector< Event > HEJ::EventReweighter::reweight ( Event const &  ev,
int  num_events 
)

Generate resummation events for a given fixed-order event.

Parameters
evFixed-order event corresponding to the resummation events
num_eventsNumber of trial resummation configurations.
Returns
A vector of resummation events.

The result vector depends on the type of the input event and the treatment of different types as specified in the constructor:

reweight The result vector contains between 0 and num_events resummation events.

keep If the input event passes the resummation jet cuts the result vector contains one event. Otherwise it is empty.

discard The result vector is empty


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