LHEF  3.0(beta)
Public Member Functions | Public Attributes | List of all members
LHEF::PDFInfo Struct Reference

The PDFInfo class represents the information in a pdfinto tag. More...

#include <LHEF.h>

Inheritance diagram for LHEF::PDFInfo:
LHEF::TagBase

Public Member Functions

 PDFInfo (double defscale=-1.0)
 Initialize default values.
 
 PDFInfo (const XMLTag &tag, double defscale=-1.0)
 Create from XML tag.
 
void print (std::ostream &file) const
 Print out an XML tag.
 
- Public Member Functions inherited from LHEF::TagBase
 TagBase ()
 Default constructor does nothing.
 
 TagBase (const AttributeMap &attr, std::string conts=std::string())
 Main constructor stores the attributes and contents of a tag.
 
bool getattr (std::string n, double &v, bool erase=true)
 Find an attribute named n and set the double variable v to the corresponding value.
 
bool getattr (std::string n, bool &v, bool erase=true)
 Find an attribute named n and set the bool variable v to true if the corresponding value is "yes".
 
bool getattr (std::string n, long &v, bool erase=true)
 Find an attribute named n and set the long variable v to the corresponding value.
 
bool getattr (std::string n, int &v, bool erase=true)
 Find an attribute named n and set the long variable v to the corresponding value.
 
bool getattr (std::string n, std::string &v, bool erase=true)
 Find an attribute named n and set the string variable v to the corresponding value.
 
void printattrs (std::ostream &file) const
 print out ' name="value"' for all unparsed attributes.
 
void closetag (std::ostream &file, std::string tag) const
 Print out end of tag marker.
 

Public Attributes

long p1
 The type of the incoming particle 1.
 
long p2
 The type of the incoming particle 2.
 
double x1
 The x-value used for the incoming particle 1.
 
double x2
 The x-value used for the incoming particle 2.
 
double xf1
 The value of the pdf for the incoming particle 1.
 
double xf2
 The value of the pdf for the incoming particle 2.
 
double scale
 The scale used in the PDF:s.
 
double SCALUP
 THe default scale in the event.
 
- Public Attributes inherited from LHEF::TagBase
XMLTag::AttributeMap attributes
 The attributes of this tag;.
 
std::string contents
 The contents of this tag.
 

Additional Inherited Members

- Public Types inherited from LHEF::TagBase
typedef XMLTag::AttributeMap AttributeMap
 Convenient typedef.
 
- Static Public Member Functions inherited from LHEF::TagBase
static std::string yes ()
 Static string token for truth values.
 

Detailed Description

The PDFInfo class represents the information in a pdfinto tag.

Definition at line 1275 of file LHEF.h.


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