hej is hosted by Hepforge, IPPP Durham
HEJ 2.1.4
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 const &beam, int pdf_id, ScaleGenerator scale_gen, EventReweighterConfig conf, std::shared_ptr< RNG > ran)
 
 EventReweighter (LHEF::HEPRUP const &heprup, ScaleGenerator scale_gen, EventReweighterConfig conf, std::shared_ptr< RNG > ran)
 
PDF const & pdf () const
 Get the used pdf. More...
 
EventTreatment treatment (EventType type) const
 Get event treatment. More...
 
std::vector< Eventreweight (Event const &ev, std::size_t num_events)
 Generate resummation events for a given fixed-order event. More...
 
std::vector< StatusCode > const & status () const
 Gives all StatusCodes of the last reweight() More...
 

Detailed Description

Main class for reweighting events in HEJ.

Constructor & Destructor Documentation

◆ EventReweighter() [1/2]

HEJ::EventReweighter::EventReweighter ( Beam const &  beam,
int  pdf_id,
ScaleGenerator  scale_gen,
EventReweighterConfig  conf,
std::shared_ptr< 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,
std::shared_ptr< RNG ran 
)
Parameters
heprupLHEF event header
scale_genScale settings
confConfiguration parameters
ranRandom number generator

Member Function Documentation

◆ pdf()

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

Get the used pdf.

◆ reweight()

std::vector< Event > HEJ::EventReweighter::reweight ( Event const &  ev,
std::size_t  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 EventTreatment of different types as specified in the constructor:

◆ status()

std::vector< StatusCode > const & HEJ::EventReweighter::status ( ) const
inline

Gives all StatusCodes of the last reweight()

Each StatusCode corresponds to one tried generation. Only good StatusCodes generated an event.

◆ treatment()

EventTreatment HEJ::EventReweighter::treatment ( EventType  type) const

Get event treatment.


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