SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
Public Member Functions | Private Attributes | List of all members
LHEEvent Class Reference

LHE event with a list of particles and information from the header block. More...

#include <LHEEvent.hh>

Public Member Functions

 LHEEvent (std::string &data)
 
virtual ~LHEEvent ()
 
void addParticle (LHEParticle *particle)
 
double getAQCDUP ()
 
double getAQEDUP ()
 
int getIDPRUP ()
 
int getNUP ()
 
const std::vector< LHEParticle * > & getParticles ()
 
double getSCALUP ()
 
double getXWGTUP ()
 

Private Attributes

double aqcdup_
 
double aqedup_
 
int idprup_
 
int nup_
 
std::vector< LHEParticle * > particles_
 
double scalup_
 
double xwgtup_
 

Detailed Description

LHE event with a list of particles and information from the header block.

Note
Detailed information on the Les Houches Event (LHE) format is provided here: A standard format for Les Houches Event Files.

Definition at line 26 of file LHEEvent.hh.

Constructor & Destructor Documentation

◆ LHEEvent()

LHEEvent ( std::string &  data)

Class constructor.

Parameters
dataThe string data of the event header.

Definition at line 13 of file LHEEvent.cc.

References LHEEvent::aqcdup_, LHEEvent::aqedup_, LOG::endl, LHEEvent::idprup_, LHEEvent::nup_, LHEEvent::scalup_, and LHEEvent::xwgtup_.

◆ ~LHEEvent()

~LHEEvent ( )
virtual

Class destructor.

Definition at line 39 of file LHEEvent.cc.

References LHEEvent::particles_.

Member Function Documentation

◆ addParticle()

void addParticle ( LHEParticle *  particle)

Add a particle to the event. @particle The particle to add.

Definition at line 70 of file LHEEvent.cc.

References LHEEvent::particles_.

Referenced by LHEReader::readNextEvent().

◆ getAQCDUP()

double getAQCDUP ( )

Get the value of the QED coupling (AQCDUP).

Returns
The value of the QED coupling.

Definition at line 66 of file LHEEvent.cc.

References LHEEvent::aqcdup_.

◆ getAQEDUP()

double getAQEDUP ( )

Get the value of the QED coupling (AQEDUP).

Returns
The value of the QED coupling.

Definition at line 62 of file LHEEvent.cc.

References LHEEvent::aqedup_.

◆ getIDPRUP()

int getIDPRUP ( )

Get the ID of the physics process (IDRUP).

Returns
The ID of the physics process.

Definition at line 50 of file LHEEvent.cc.

References LHEEvent::idprup_.

◆ getNUP()

int getNUP ( )

Get the number of particles (NUP) in the event.

Returns
The number of particles in event.

Definition at line 46 of file LHEEvent.cc.

References LHEEvent::nup_.

◆ getParticles()

const std::vector< LHEParticle * > & getParticles ( )

Get the list of particles in the event.

Returns
The list of particles in the event.

Definition at line 74 of file LHEEvent.cc.

References LHEEvent::particles_.

Referenced by LHEPrimaryGenerator::GeneratePrimaryVertex(), and LHEReader::readNextEvent().

◆ getSCALUP()

double getSCALUP ( )

Get the scale Q of parton distributions (SCALUP).

Returns
The scale Q of parton distributions.

Definition at line 58 of file LHEEvent.cc.

References LHEEvent::scalup_.

◆ getXWGTUP()

double getXWGTUP ( )

Get the event weight (XWGTUP).

Returns
The event weight.

Definition at line 54 of file LHEEvent.cc.

References LHEEvent::xwgtup_.

Referenced by LHEPrimaryGenerator::GeneratePrimaryVertex().

Member Data Documentation

◆ aqcdup_

double aqcdup_
private

QCD coupling value.

Definition at line 119 of file LHEEvent.hh.

Referenced by LHEEvent::LHEEvent(), and LHEEvent::getAQCDUP().

◆ aqedup_

double aqedup_
private

QCD coupling value.

Definition at line 114 of file LHEEvent.hh.

Referenced by LHEEvent::LHEEvent(), and LHEEvent::getAQEDUP().

◆ idprup_

int idprup_
private

The physics process ID.

Definition at line 99 of file LHEEvent.hh.

Referenced by LHEEvent::LHEEvent(), and LHEEvent::getIDPRUP().

◆ nup_

int nup_
private

Number of particles.

Definition at line 94 of file LHEEvent.hh.

Referenced by LHEEvent::LHEEvent(), and LHEEvent::getNUP().

◆ particles_

std::vector<LHEParticle*> particles_
private

The list of particles.

Definition at line 124 of file LHEEvent.hh.

Referenced by LHEEvent::~LHEEvent(), LHEEvent::addParticle(), and LHEEvent::getParticles().

◆ scalup_

double scalup_
private

Scale Q of parton distributions.

Definition at line 109 of file LHEEvent.hh.

Referenced by LHEEvent::LHEEvent(), and LHEEvent::getSCALUP().

◆ xwgtup_

double xwgtup_
private

The event weight.

Definition at line 104 of file LHEEvent.hh.

Referenced by LHEEvent::LHEEvent(), and LHEEvent::getXWGTUP().


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