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

Class to store general Event setup, i.e. Phase space and weights. More...

#include <Event.hh>

Collaboration diagram for HEJ::Event::EventData:

Public Member Functions

 EventData ()=default
 Default Constructor. More...
 
 EventData (LHEF::HEPEUP const &hepeup)
 Constructor from LesHouches event information. More...
 
 EventData (std::array< Particle, 2 > incoming, std::vector< Particle > outgoing, std::unordered_map< std::size_t, std::vector< Particle > > decays, Parameters< EventParameters > parameters)
 Constructor with all values given. More...
 
Event cluster (fastjet::JetDefinition const &jet_def, double min_jet_pt)
 Generate an Event from the stored EventData. More...
 
Event operator() (fastjet::JetDefinition const &jet_def, double const min_jet_pt)
 Alias for cluster() More...
 
void sort ()
 Sort particles in rapidity. More...
 
void reconstruct_intermediate ()
 Reconstruct intermediate particles from final-state leptons. More...
 

Public Attributes

std::array< Particle, 2 > incoming
 Incoming particles. More...
 
std::vector< Particleoutgoing
 Outcoing particles. More...
 
std::unordered_map< std::size_t, std::vector< Particle > > decays
 Particle decays in the format {outgoing index, decay products}. More...
 
Parameters< EventParametersparameters
 Parameters, e.g. scale or inital weight. More...
 

Detailed Description

Class to store general Event setup, i.e. Phase space and weights.

Constructor & Destructor Documentation

◆ EventData() [1/3]

HEJ::Event::EventData::EventData ( )
default

Default Constructor.

◆ EventData() [2/3]

HEJ::Event::EventData::EventData ( LHEF::HEPEUP const &  hepeup)

Constructor from LesHouches event information.

◆ EventData() [3/3]

HEJ::Event::EventData::EventData ( std::array< Particle, 2 >  incoming,
std::vector< Particle outgoing,
std::unordered_map< std::size_t, std::vector< Particle > >  decays,
Parameters< EventParameters parameters 
)
inline

Constructor with all values given.

Member Function Documentation

◆ cluster()

Event HEJ::Event::EventData::cluster ( fastjet::JetDefinition const &  jet_def,
double  min_jet_pt 
)

Generate an Event from the stored EventData.

Do jet clustering and classification. Use this to generate an Event.

Note
Calling this function destroys EventData
Parameters
jet_defJet definition
min_jet_ptminimal \(p_T\) for each jet
Returns
Full clustered and classified event.

◆ operator()()

Event HEJ::Event::EventData::operator() ( fastjet::JetDefinition const &  jet_def,
double const  min_jet_pt 
)
inline

Alias for cluster()

◆ reconstruct_intermediate()

void HEJ::Event::EventData::reconstruct_intermediate ( )

Reconstruct intermediate particles from final-state leptons.

Final-state leptons are created from virtual photons, W, or Z bosons. This function tries to reconstruct such intermediate bosons if they are not part of the event record.

◆ sort()

void HEJ::Event::EventData::sort ( )

Sort particles in rapidity.

Member Data Documentation

◆ decays

std::unordered_map<std::size_t, std::vector<Particle> > HEJ::Event::EventData::decays

Particle decays in the format {outgoing index, decay products}.

◆ incoming

std::array<Particle, 2> HEJ::Event::EventData::incoming

Incoming particles.

◆ outgoing

std::vector<Particle> HEJ::Event::EventData::outgoing

Outcoing particles.

◆ parameters

Parameters<EventParameters> HEJ::Event::EventData::parameters

Parameters, e.g. scale or inital weight.


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