LHEF  3.0(beta)
Classes | Functions
LHEF Namespace Reference

Classes

struct  OAttr
 Helper struct for output of attributes. More...
 
struct  XMLTag
 The XMLTag struct is used to represent all information within an XML tag. More...
 
struct  TagBase
 This is the base class of all classes representing xml tags. More...
 
struct  Generator
 The Generator class contains information about a generator used in a run. More...
 
struct  XSecInfo
 The XSecInfo class contains information given in the xsecinfo tag. More...
 
struct  Cut
 The Cut class represents a cut used by the Matrix Element generator. More...
 
struct  ProcInfo
 The ProcInfo class represents the information in a procinfo tag. More...
 
struct  MergeInfo
 The MergeInfo class represents the information in a mergeinfo tag. More...
 
struct  WeightInfo
 The WeightInfo class encodes the description of a given weight present for all events. More...
 
struct  WeightGroup
 The WeightGroup assigns a group-name to a set of WeightInfo objects. More...
 
struct  Weight
 The Weight class represents the information in a weight tag. More...
 
struct  Clus
 The Clus class represents a clustering of two particle entries into one as defined in a clustering tag. More...
 
struct  Scales
 Collect different scales relevant for an event. More...
 
struct  PDFInfo
 The PDFInfo class represents the information in a pdfinto tag. More...
 
class  HEPRUP
 The HEPRUP class is a simple container corresponding to the Les Houches accord (hep-ph/0109068) common block with the same name. More...
 
struct  EventGroup
 The EventGroup represents a set of events which are to be considered together. More...
 
class  HEPEUP
 The HEPEUP class is a simple container corresponding to the Les Houches accord (hep-ph/0109068) common block with the same name. More...
 
class  Reader
 The Reader class is initialized with a stream from which to read a version 1/2 Les Houches Accord event file. More...
 
class  Writer
 The Writer class is initialized with a stream to which to write a version 1.0 Les Houches Accord event file. More...
 

Functions

template<typename T >
OAttr< T > oattr (std::string name, const T &value)
 Output manipulator for writing attributes.
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const OAttr< T > &oa)
 Output operator for attributes.
 
std::string hashline (std::string s)
 Helper function to make sure that each line in the string s starts with a #-character and that the string ends with a new-line.
 

Detailed Description

The LHEF namespace contains some example classes for reading and writing Les Houches Event Files according to the proposal by Torbjörn Sjöstrand discussed at the MC4LHC workshop at CERN 2006.