HEJ 2.2.2
High energy resummation for hadron colliders
|
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... | |
bool | pass_low_pt (HEJ::Event const &input_ev) |
Check the lowpt only restriction passes for lowpt runs. More... | |
EventTreatment | treatment (EventType type) const |
Get event treatment. More... | |
std::vector< Event > | reweight (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... | |
Main class for reweighting events in HEJ.
HEJ::EventReweighter::EventReweighter | ( | Beam const & | beam, |
int | pdf_id, | ||
ScaleGenerator | scale_gen, | ||
EventReweighterConfig | conf, | ||
std::shared_ptr< RNG > | ran | ||
) |
HEJ::EventReweighter::EventReweighter | ( | LHEF::HEPRUP const & | heprup, |
ScaleGenerator | scale_gen, | ||
EventReweighterConfig | conf, | ||
std::shared_ptr< RNG > | ran | ||
) |
heprup | LHEF event header |
scale_gen | Scale settings |
conf | Configuration parameters |
ran | Random number generator |
bool HEJ::EventReweighter::pass_low_pt | ( | HEJ::Event const & | input_ev | ) |
Check the lowpt only restriction passes for lowpt runs.
PDF const & HEJ::EventReweighter::pdf | ( | ) | const |
Get the used pdf.
Generate resummation events for a given fixed-order event.
ev | Fixed-order event corresponding to the resummation events |
num_events | Number of trial resummation configurations. |
The result vector depends on the type of the input event and the EventTreatment of different types as specified in the constructor:
|
inline |
Gives all StatusCodes of the last reweight()
Each StatusCode corresponds to one tried generation. Only good StatusCodes generated an event.
EventTreatment HEJ::EventReweighter::treatment | ( | EventType | type | ) | const |
Get event treatment.