CMS 3D CMS Logo

lhef::HEPEUP Class Reference

The HEPEUP class is a simple container corresponding to the Les Houches accord (hep-ph/0109068) common block with the same name. More...

#include <SimDataFormats/GeneratorProducts/interface/LesHouches.h>

List of all members.

Public Member Functions

void resize ()
 Assuming the NUP variable, corresponding to the number of particles in the current event, is correctly set, resize the relevant vectors accordingly.
void resize (int nup)
 Set the NUP variable, corresponding to the number of particles in the current event, to nup, and resize all relevant vectors accordingly.
Standard constructors and destructors.
 HEPEUP ()
 Default constructor.

Public Attributes

double AQCDUP
 The value of the QCD coupling used in this event.
double AQEDUP
 The value of the QED coupling used in this event.
std::vector< std::pair< int,
int > > 
ICOLUP
 The colour-line indices (first(second) is (anti)colour) for the particle entries in this event.
int IDPRUP
 The subprocess code for this event (as given in LPRUP).
std::vector< intIDUP
 The PDG id's for the particle entries in this event.
std::vector< intISTUP
 The status codes for the particle entries in this event.
std::vector< std::pair< int,
int > > 
MOTHUP
 Indices for the first and last mother for the particle entries in this event.
int NUP
 The number of particle entries in the current event.
std::vector< FiveVectorPUP
 Lab frame momentum (Px, Py, Pz, E and M in GeV) for the particle entries in this event.
double SCALUP
 The scale in GeV used in the calculation of the PDF's in this event.
std::vector< double > SPINUP
 Spin info for the particle entries in this event given as the cosine of the angle between the spin vector of a particle and the 3-momentum of the decaying particle, specified in the lab frame.
std::vector< double > VTIMUP
 Invariant lifetime (c*tau, distance from production to decay im mm) for the particle entries in this event.
std::pair< double, double > XPDWUP
 The PDF weights for the two incoming partons.
double XWGTUP
 The weight for this event.

Classes

struct  FiveVector


Detailed Description

The HEPEUP class is a simple container corresponding to the Les Houches accord (hep-ph/0109068) common block with the same name.

The members are named in the same way as in the common block. However, fortran arrays are represented by vectors, except for the arrays of length two which are represented by pair objects.

Definition at line 135 of file LesHouches.h.


Constructor & Destructor Documentation

lhef::HEPEUP::HEPEUP (  )  [inline]

Default constructor.

Definition at line 142 of file LesHouches.h.

00142                  :
00143                 NUP(0), IDPRUP(0), XWGTUP(0.0), XPDWUP(0.0, 0.0),
00144                 SCALUP(0.0), AQEDUP(0.0), AQCDUP(0.0)
00145         {}


Member Function Documentation

void lhef::HEPEUP::resize (  )  [inline]

Assuming the NUP variable, corresponding to the number of particles in the current event, is correctly set, resize the relevant vectors accordingly.

Definition at line 172 of file LesHouches.h.

References ICOLUP, IDUP, ISTUP, MOTHUP, NUP, PUP, SPINUP, and VTIMUP.

Referenced by resize().

00173         {
00174                 IDUP.resize(NUP);
00175                 ISTUP.resize(NUP);
00176                 MOTHUP.resize(NUP);
00177                 ICOLUP.resize(NUP);
00178                 PUP.resize(NUP);
00179                 VTIMUP.resize(NUP);
00180                 SPINUP.resize(NUP);
00181         }

void lhef::HEPEUP::resize ( int  nup  )  [inline]

Set the NUP variable, corresponding to the number of particles in the current event, to nup, and resize all relevant vectors accordingly.

Definition at line 161 of file LesHouches.h.

References NUP, and resize().

Referenced by lhef::LHEEvent::LHEEvent(), lhef::CommonBlocks::readHEPEUP(), and lhef::LHEEvent::removeParticle().

00162         {
00163                 NUP = nup;
00164                 resize();
00165         }


Member Data Documentation

double lhef::HEPEUP::AQCDUP

The value of the QCD coupling used in this event.

Definition at line 220 of file LesHouches.h.

Referenced by lhef::LHEEvent::asHepMCEvent(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::LHEEvent::fillEventInfo(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), edm::AlpgenProducer::produce(), edm::AlpgenSource::produce(), lhef::CommonBlocks::readHEPEUP(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

double lhef::HEPEUP::AQEDUP

The value of the QED coupling used in this event.

Definition at line 215 of file LesHouches.h.

Referenced by lhef::LHEEvent::asHepMCEvent(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::LHEEvent::fillEventInfo(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), edm::AlpgenProducer::produce(), edm::AlpgenSource::produce(), lhef::CommonBlocks::readHEPEUP(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::vector< std::pair<int, int> > lhef::HEPEUP::ICOLUP

The colour-line indices (first(second) is (anti)colour) for the particle entries in this event.

Definition at line 242 of file LesHouches.h.

Referenced by ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

int lhef::HEPEUP::IDPRUP

The subprocess code for this event (as given in LPRUP).

Definition at line 191 of file LesHouches.h.

Referenced by lhef::LHEEvent::asHepMCEvent(), lhef::LHEEvent::count(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::LHEEvent::fillEventInfo(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::vector<int> lhef::HEPEUP::IDUP

The PDG id's for the particle entries in this event.

Definition at line 225 of file LesHouches.h.

Referenced by ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::fillPdfInfo(), lhef::BranchingRatios::getFactor(), lhef::LHEEvent::LHEEvent(), lhef::LHEEvent::makeHepMCParticle(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), lhef::LHEEvent::removeResonances(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::vector<int> lhef::HEPEUP::ISTUP

The status codes for the particle entries in this event.

Definition at line 230 of file LesHouches.h.

Referenced by ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::BranchingRatios::getFactor(), lhef::LHEEvent::LHEEvent(), lhef::LHEEvent::makeHepMCParticle(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::vector< std::pair<int, int> > lhef::HEPEUP::MOTHUP

Indices for the first and last mother for the particle entries in this event.

Definition at line 236 of file LesHouches.h.

Referenced by lhef::LHEEvent::asHepMCEvent(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), lhef::LHEEvent::removeResonances(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

int lhef::HEPEUP::NUP

The number of particle entries in the current event.

Definition at line 186 of file LesHouches.h.

Referenced by lhef::LHEEvent::asHepMCEvent(), lhef::JetMatchingMadgraph::beforeHadronisation(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::fillPdfInfo(), lhef::BranchingRatios::getFactor(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), edm::AlpgenProducer::produce(), edm::AlpgenSource::produce(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), lhef::LHEEvent::removeResonances(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::vector<FiveVector> lhef::HEPEUP::PUP

Lab frame momentum (Px, Py, Pz, E and M in GeV) for the particle entries in this event.

Definition at line 248 of file LesHouches.h.

Referenced by lhef::JetMatchingMadgraph::beforeHadronisation(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::fillPdfInfo(), lhef::LHEEvent::LHEEvent(), lhef::LHEEvent::makeHepMCParticle(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

double lhef::HEPEUP::SCALUP

The scale in GeV used in the calculation of the PDF's in this event.

Definition at line 210 of file LesHouches.h.

Referenced by lhef::LHEEvent::asHepMCEvent(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::LHEEvent::fillEventInfo(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::fillPdfInfo(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::vector<double> lhef::HEPEUP::SPINUP

Spin info for the particle entries in this event given as the cosine of the angle between the spin vector of a particle and the 3-momentum of the decaying particle, specified in the lab frame.

Definition at line 261 of file LesHouches.h.

Referenced by ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), edm::AlpgenProducer::produce(), edm::AlpgenSource::produce(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::vector<double> lhef::HEPEUP::VTIMUP

Invariant lifetime (c*tau, distance from production to decay im mm) for the particle entries in this event.

Definition at line 254 of file LesHouches.h.

Referenced by lhef::LHEEvent::asHepMCEvent(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), resize(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().

std::pair<double, double> lhef::HEPEUP::XPDWUP

The PDF weights for the two incoming partons.

Note that this variable is not present in the current LesHouches accord (hep-ph/0109068), hopefully it will be present in a future accord.

Definition at line 204 of file LesHouches.h.

Referenced by lhef::LHEEvent::LHEEvent().

double lhef::HEPEUP::XWGTUP

The weight for this event.

Definition at line 196 of file LesHouches.h.

Referenced by lhef::LHEEvent::count(), ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setEvent().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:46 2009 for CMSSW by  doxygen 1.5.4