herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
ThePEG::FxFxFileReader Class Reference

FxFxFileReader is an base class to be used for objects which reads event files from matrix element generators. More...

#include <FxFxFileReader.h>

Inheritance diagram for ThePEG::FxFxFileReader:

Public Member Functions

 FxFxFileReader ()
 Default constructor.
 
 FxFxFileReader (const FxFxFileReader &)
 Copy-constructor.
 
Virtual functions specified by the FxFxReader base class.
virtual void initialize (FxFxEventHandler &eh)
 Initialize.
 
virtual void open ()
 Open a file with events.
 
virtual void close ()
 Close the file from which events have been read.
 
virtual bool doReadEvent ()
 Read the next event from the file or stream into the corresponding protected variables.
 
string filename () const
 Return the name of the file from where to read events.
 
virtual vector< string > optWeightsNamesFunc ()
 return the weight names
 
void erase_substr (std::string &subject, const std::string &search)
 Erases all occurences of a substring from a string.
 
- Public Member Functions inherited from ThePEG::FxFxReader
 FxFxReader (bool active=false)
 Default constructor.
 
 FxFxReader (const FxFxReader &)
 Copy-constructor.
 
virtual ~FxFxReader ()
 Destructor.
 
virtual double getEvent ()
 Calls readEvent() or uncacheEvent() to read information into the FxFx common block variables.
 
virtual bool readEvent ()
 Calls doReadEvent() and performs pre-defined reweightings.
 
virtual void skip (long n)
 Skip n events.
 
tXCombPtr getXComb ()
 Get an XComb object.
 
tSubProPtr getSubProcess ()
 Get a SubProcess object corresponding to the information in the Les Houches common block variables.
 
virtual long scan ()
 Scan the file or stream to obtain information about cross section weights and particles etc.
 
virtual void initStat ()
 Take the information corresponding to the HEPRUP common block and initialize the statistics for this reader.
 
double reweight ()
 Reweights the current event using the reweights and preweights vectors.
 
virtual void fillEvent ()
 Converts the information in the Les Houches common block variables into a Particle objects.
 
void reset ()
 Removes the particles created in the last generated event, preparing to produce a new one.
 
virtual void setWeightScale (long neve)
 Possibility for subclasses to recover from non-conformant settings of XMAXUP when an event file has been scanned with neve events.
 
long NEvents () const
 The number of events found in this reader.
 
long currentPosition () const
 The number of events produced so far.
 
long maxScan () const
 The maximum number of events to scan to collect information about processes and cross sections.
 
bool active () const
 Return true if this reader is active.
 
bool negativeWeights () const
 True if negative weights may be produced.
 
const XSecStatxSecStats () const
 The collected cross section statistics for this reader.
 
const StatMapprocessStats () const
 Collected statistics about the individual processes.
 
void select (double weight)
 Select the current event.
 
void accept ()
 Accept the current event assuming it was previously selcted.
 
void reject (double w)
 Reject the current event assuming it was previously accepted.
 
virtual void increaseMaxXSec (CrossSection maxxsec)
 Increase the overestimated cross section for this reader.
 
tPExtrPtr partonExtractor () const
 The PartonExtractor object used to construct remnants.
 
tCascHdlPtr CKKWHandler () const
 Return a possibly null pointer to a CascadeHandler to be used for CKKW-reweighting.
 
const PartonPairVec & partonBins () const
 The pairs of PartonBin objects describing the partons which can be extracted by the PartonExtractor object.
 
const XCombMapxCombs () const
 The map of XComb objects indexed by the corresponding PartonBin pair.
 
const Cutscuts () const
 The Cuts object to be used for this reader.
 
double eventWeight () const
 The current event weight given by XWGTUP times possible reweighting.
 
const map< string, double > & optionalEventWeights () const
 Return the optional named weights associated to the current event.
 
const long & LHEEventNum () const
 Return the Les Houches event number associated with the current event.
 
const int & optionalEventnpLO () const
 Return the optional npLO and npNLO.
 
const int & optionalEventnpNLO () const
 
const PBIPairpartonBinInstances () const
 The pair of PartonBinInstance objects describing the current incoming partons in the event.
 
const PPairbeams () const
 Return the instances of the beam particles for the current event.
 
const PPairincoming () const
 Return the instances of the incoming particles to the sub process for the current event.
 
const PVectoroutgoing () const
 Return the instances of the outgoing particles from the sub process for the current event.
 
const PVectorintermediates () const
 Return the instances of the intermediate particles in the sub process for the current event.
 
int maxMultCKKW () const
 If this reader is to be used (possibly together with others) for CKKW reweighting and veto, this should give the multiplicity of outgoing particles in the highest multiplicity matrix element in the group.
 
int minMultCKKW () const
 If this reader is to be used (possibly together with others) for CKKW reweighting and veto, this should give the multiplicity of outgoing particles in the lowest multiplicity matrix element in the group.
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
- Public Member Functions inherited from ThePEG::HandlerBaseT< UseRandom >
double rnd () const
 
double rnd (double xu) const
 
double rnd (double xl, double xu) const
 
bool rndbool () const
 
bool rndbool (double p) const
 
bool rndbool (double p1, double p2) const
 
int rndsign (double p1, double p2, double p3) const
 
int rnd2 (double p0, double p1) const
 
int rnd3 (double p0, double p1, double p2) const
 
int rnd4 (double p0, double p1, double p2, double p3) const
 
long irnd (long xu=2) const
 
long irnd (long xl, long xu) const
 
const StandardModelBaseSM () const
 
tSMPtr standardModel () const
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
 Named (const Named &)=default
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 
- Public Member Functions inherited from ThePEG::LastXCombInfo<>
const XC & lastXComb () const
 
const XC & lastXComb () const
 
tXCPtr lastXCombPtr () const
 
tXCPtr lastXCombPtr () const
 
const XC & lastHeadXComb () const
 
const XC & lastHeadXComb () const
 
tXCPtr lastHeadXCombPtr () const
 
tXCPtr lastHeadXCombPtr () const
 
const EventHandlerlastEventHandler () const
 
const EventHandlerlastEventHandler () const
 
tPExtrPtr lastExtractor () const
 
tPExtrPtr lastExtractor () const
 
PDFT pdf (tcPPtr parton) const
 
PDFT pdf (tcPPtr parton) const
 
const CutslastCuts () const
 
const CutslastCuts () const
 
tCutsPtr lastCutsPtr () const
 
tCutsPtr lastCutsPtr () const
 
const PPairlastParticles () const
 
const PPairlastParticles () const
 
Energy2 lastS () const
 
Energy2 lastS () const
 
const PPairlastPartons () const
 
const PPairlastPartons () const
 
Energy2 lastSHat () const
 
Energy2 lastSHat () const
 
double lastTau () const
 
double lastTau () const
 
double lastY () const
 
double lastY () const
 
double lastP1 () const
 
double lastP1 () const
 
double lastP2 () const
 
double lastP2 () const
 
double lastL1 () const
 
double lastL1 () const
 
double lastL2 () const
 
double lastL2 () const
 
double lastX1 () const
 
double lastX1 () const
 
double lastX2 () const
 
double lastX2 () const
 
double lastE1 () const
 
double lastE1 () const
 
double lastE2 () const
 
double lastE2 () const
 
double lastFL1L2 () const
 
double lastFL1L2 () const
 
Energy2 lastScale () const
 
double lastAlphaS () const
 
double lastAlphaEM () const
 
const vector< Lorentz5Momentum > & meMomenta () const
 
double lastME2 () const
 
double lastPreweight () const
 
double jacobian () const
 
CrossSection lastMECrossSection () const
 
double lastMEPDFWeight () const
 
double lastMECouplings () const
 
tSubProPtr subProcess () const
 
const cPDVectormePartonData () const
 

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
 
- Protected Member Functions inherited from ThePEG::FxFxReader
virtual bool checkPartonBin ()
 Check the existence of a pair of PartonBin objects corresponding to the current event.
 
virtual void createParticles ()
 Create instances of all particles in the event and store them in particleIndex.
 
virtual tcPBPair createPartonBinInstances ()
 Using the already created particles create a pair of PartonBinInstance objects corresponding to the incoming partons.
 
virtual void createBeams ()
 Create instances of the incoming beams in the event and store them in particleIndex.
 
virtual void connectMothers ()
 Go through the mother indices and connect up the Particles.
 
void NEvents (long x)
 The number of events in this reader.
 
XCombMapxCombs ()
 The map of XComb objects indexed by the corresponding PartonBin pair.
 
virtual void doinitrun ()
 Initialize this object.
 
virtual void dofinish ()
 Finalize this object.
 
virtual void initPDFs ()
 Called from doinit() to extract PDFs from the event file and add the corresponding objects to the current EventGenerator.
 
string cacheFileName () const
 Name of file used to cache the events form the reader in a fast-readable form.
 
bool cutEarly () const
 Determines whether to apply cuts to events converting them to ThePEG format.
 
CFile cacheFile () const
 File stream for the cache.
 
void openReadCacheFile ()
 Open the cache file for reading.
 
void openWriteCacheFile ()
 Open the cache file for writing.
 
void closeCacheFile ()
 Close the cache file;.
 
void cacheEvent () const
 Write the current event to the cache file.
 
bool uncacheEvent ()
 Read an event from the cache file.
 
void reopen ()
 Reopen a reader.
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 
 Interfaced (const string &newName)
 
 Interfaced (const Interfaced &i)
 
void setGenerator (tEGPtr generator)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Standard (and non-standard) Interfaced functions.

CFileLineReader cfile
 The wrapper around the C FILE stream from which to read.
 
long neve
 The number of events in this file.
 
long ieve
 The current event number.
 
string LHFVersion
 If the file is a standard Les Houches formatted file (LHF) this is its version number.
 
string outsideBlock
 If LHF.
 
string headerBlock
 If LHF.
 
string initComments
 If LHF.
 
map< string, string > initAttributes
 If LHF.
 
string eventComments
 If LHF.
 
map< string, string > eventAttributes
 If LHF.
 
string theFileName
 The name of the file from where to read events.
 
bool theQNumbers
 Whether or not to search for QNUMBERS stuff.
 
bool theIncludeFxFxTags
 Include/Read FxFx tags.
 
bool theIncludeCentral
 Include central weight (for backup use)
 
DecayerPtr theDecayer
 Decayer for any decay modes read from the file.
 
map< string, string > scalemap
 Further information on the weights.
 
map< string, double > optionalWeightsTemp
 Temporary holder for optional weights.
 
static ClassDescription< FxFxFileReaderinitFxFxFileReader
 Describe an abstract base class with persistent data.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.
 
virtual bool preInitialize () const
 Return true if this object needs to be initialized before all other objects because it needs to extract PDFs from the event file.
 
FxFxFileReaderoperator= (const FxFxFileReader &)=delete
 Private and non-existent assignment operator.
 

Functions used by the persistent I/O system.

void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
static void Init ()
 Standard Init function used to initialize the interfaces.
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Types inherited from ThePEG::LastXCombInfo<>
typedef ThePEG::Ptr< XC >::pointer XCPtr
 
typedef ThePEG::Ptr< XC >::const_pointer cXCPtr
 
typedef ThePEG::Ptr< XC >::transient_pointer tXCPtr
 
typedef ThePEG::Ptr< XC >::transient_const_pointer tcXCPtr
 
- Static Public Member Functions inherited from ThePEG::FxFxReader
static size_t eventSize (int N)
 Return the size of this event in bytes.
 
static void Init ()
 Standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from ThePEG::HandlerBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 
- Public Attributes inherited from ThePEG::FxFxReader
vector< string > optionalWeightsNames
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::FxFxReader
template<typename T >
static char * mwrite (char *pos, const T &t, size_t n=1)
 Helper function to write a variable to a memory location.
 
template<typename T >
static const char * mread (const char *pos, T &t, size_t n=1)
 Helper function to read a variable from a memory location.
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 
- Protected Attributes inherited from ThePEG::FxFxReader
HEPRUP heprup
 The HEPRUP common block.
 
HEPEUP hepeup
 The HEPEUP common block.
 
tcPDPair inData
 The ParticleData objects corresponding to the incoming particles.
 
pair< PDFPtr, PDFPtrinPDF
 The PDFBase objects which has been used for the beam particle when generating the events being read.
 
pair< cPDFPtr, cPDFPtroutPDF
 The PDFBase object to be used in the subsequent generation.
 
PExtrPtr thePartonExtractor
 The PartonExtractor object used to construct remnants.
 
tCascHdlPtr theCKKW
 A pointer to a CascadeHandler to be used for CKKW-reweighting.
 
PartonPairVec thePartonBins
 The pairs of PartonBin objects describing the partons which can be extracted by the PartonExtractor object.
 
XCombMap theXCombs
 The map of XComb objects indexed by the corresponding PartonBin pair.
 
CutsPtr theCuts
 The Cuts object to be used for this reader.
 
long theNEvents
 The number of events in this reader.
 
long position
 The number of events produced by this reader so far.
 
int reopened
 The number of times this reader has been reopened.
 
long theMaxScan
 The maximum number of events to scan to collect information about processes and cross sections.
 
bool scanning
 Flag to tell whether we are in the process of scanning.
 
bool isActive
 True if this is an active reader.
 
string theCacheFileName
 Name of file used to cache the events form the reader in a fast-readable form.
 
bool doCutEarly
 Determines whether to apply cuts to events before converting them to ThePEG format.
 
XSecStat stats
 Collect statistics for this reader.
 
StatMap statmap
 Collect statistics for each individual process.
 
PBIPair thePartonBinInstances
 The pair of PartonBinInstance objects describing the current incoming partons in the event.
 
ObjectIndexer< long, ColourLinecolourIndex
 Association between ColourLines and colour indices in the current translation.
 
ObjectIndexer< long, ParticleparticleIndex
 Association between Particles and indices in the current translation.
 
PPair theBeams
 The instances of the beam particles for the current event.
 
PPair theIncoming
 The instances of the incoming particles to the sub process for the current event.
 
PVector theOutgoing
 The instances of the outgoing particles from the sub process for the current event.
 
PVector theIntermediates
 The instances of the intermediate particles in the sub process for the current event.
 
CFile theCacheFile
 File stream for the cache.
 
ReweightVector reweights
 The reweight objects modifying the weights of this reader.
 
ReweightVector preweights
 The preweight objects modifying the weights of this reader.
 
double preweight
 The factor with which this reader was last pre-weighted.
 
bool reweightPDF
 Should the event be reweighted by PDFs used by the PartonExtractor?
 
bool doInitPDFs
 Should PDFBase objects be constructed from the information in the event file in the initialization?
 
int theMaxMultCKKW
 If this reader is to be used (possibly together with others) for CKKW reweighting and veto, this should give the multiplicity of outgoing particles in the highest multiplicity matrix element in the group.
 
int theMinMultCKKW
 If this reader is to be used (possibly together with others) for CKKW reweighting and veto, this should give the multiplicity of outgoing particles in the lowest multiplicity matrix element in the group.
 
double lastweight
 The weight multiplying the last read event due to PDF reweighting, CKKW reweighting or assigned reweight and preweight objects.
 
map< string, double > optionalWeights
 The optional weights associated to the last read events.
 
long LHEeventnum
 The event number.
 
double maxFactor
 If the maximum cross section of this reader has been increased with increaseMaxXSec(), this is the total factor with which it has been increased.
 
int optionalnpLO
 npLO for FxFx merging
 
int optionalnpNLO
 npNLO for FxFx merging
 
CrossSection weightScale
 The (reweighted) XWGTUP value should be scaled with this cross section when compared to the overestimated cross section.
 
vector< double > xSecWeights
 Individual scales for different sub-processes if reweighted.
 
map< int, double > maxWeights
 Individual maximum weights for individual (possibly reweighted) processes.
 
bool skipping
 Is set to true when getEvent() is called from skip(int).
 
unsigned int theMomentumTreatment
 Option for the treatment of the momenta supplied.
 
bool useWeightWarnings
 Set to true if warnings about possible weight incompatibilities should be issued.
 
bool theReOpenAllowed
 Option to allow reopening of the file.
 
bool theIncludeSpin
 Use the spin information.
 
- Protected Attributes inherited from ThePEG::LastXCombInfo<>
XCPtr theLastXComb
 

Detailed Description

FxFxFileReader is an base class to be used for objects which reads event files from matrix element generators.

It inherits from FxFxReader and extends it by defining a file handle to be read from, which is opened and closed by the open() and close() functions. Note that the file handle is a standard C filehandle and not a C++ stream. This is because there is no standard way in C++ to connect a pipe to a stream for reading eg. gzipped files. This class is able to read plain event files conforming to the Les Houches Event File accord.

See also
The interfaces defined for FxFxFileReader.
Event
FxFxReader

Definition at line 38 of file FxFxFileReader.h.

Constructor & Destructor Documentation

◆ FxFxFileReader() [1/2]

ThePEG::FxFxFileReader::FxFxFileReader ( )
inline

Default constructor.

Definition at line 45 of file FxFxFileReader.h.

◆ FxFxFileReader() [2/2]

ThePEG::FxFxFileReader::FxFxFileReader ( const FxFxFileReader )

Copy-constructor.

Note that a file which is opened in the object copied from will have to be reopened in this.

Member Function Documentation

◆ clone()

virtual IBPtr ThePEG::FxFxFileReader::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

◆ close()

virtual void ThePEG::FxFxFileReader::close ( )
virtual

Close the file from which events have been read.

Implements ThePEG::FxFxReader.

◆ doinit()

virtual void ThePEG::FxFxFileReader::doinit ( )
protectedvirtual

Initialize this object after the setup phase before saving an EventGenerator to disk.

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from ThePEG::FxFxReader.

◆ doReadEvent()

virtual bool ThePEG::FxFxFileReader::doReadEvent ( )
virtual

Read the next event from the file or stream into the corresponding protected variables.

Return false if there is no more events or if this was not a LHF event file.

Implements ThePEG::FxFxReader.

◆ filename()

string ThePEG::FxFxFileReader::filename ( ) const
inline

Return the name of the file from where to read events.

Definition at line 88 of file FxFxFileReader.h.

References theFileName.

◆ fullclone()

virtual IBPtr ThePEG::FxFxFileReader::fullclone ( ) const
protectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

◆ initialize()

virtual void ThePEG::FxFxFileReader::initialize ( FxFxEventHandler eh)
virtual

Initialize.

This function is called by the FxFxEventHandler to which this object is assigned.

Reimplemented from ThePEG::FxFxReader.

◆ open()

virtual void ThePEG::FxFxFileReader::open ( )
virtual

Open a file with events.

Derived classes should overwrite it and first calling it before reading in the run information into the corresponding protected variables.

Implements ThePEG::FxFxReader.

◆ optWeightsNamesFunc()

virtual vector< string > ThePEG::FxFxFileReader::optWeightsNamesFunc ( )
virtual

return the weight names

Implements ThePEG::FxFxReader.

◆ persistentInput()

void ThePEG::FxFxFileReader::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void ThePEG::FxFxFileReader::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ preInitialize()

virtual bool ThePEG::FxFxFileReader::preInitialize ( ) const
protectedvirtual

Return true if this object needs to be initialized before all other objects because it needs to extract PDFs from the event file.

Reimplemented from ThePEG::FxFxReader.

Member Data Documentation

◆ cfile

CFileLineReader ThePEG::FxFxFileReader::cfile
protected

The wrapper around the C FILE stream from which to read.

Definition at line 166 of file FxFxFileReader.h.

◆ eventAttributes

map<string,string> ThePEG::FxFxFileReader::eventAttributes
protected

If LHF.

Map of attributes (name-value pairs) found in the last event tag.

Definition at line 218 of file FxFxFileReader.h.

◆ eventComments

string ThePEG::FxFxFileReader::eventComments
protected

If LHF.

Additional comments found with the last read event.

Definition at line 212 of file FxFxFileReader.h.

◆ headerBlock

string ThePEG::FxFxFileReader::headerBlock
protected

If LHF.

All lines from the header block.

Definition at line 196 of file FxFxFileReader.h.

◆ ieve

long ThePEG::FxFxFileReader::ieve
protected

The current event number.

Definition at line 178 of file FxFxFileReader.h.

◆ initAttributes

map<string,string> ThePEG::FxFxFileReader::initAttributes
protected

If LHF.

Map of attributes (name-value pairs) found in the init tag.

Definition at line 207 of file FxFxFileReader.h.

◆ initComments

string ThePEG::FxFxFileReader::initComments
protected

If LHF.

Additional comments found in the init block.

Definition at line 201 of file FxFxFileReader.h.

◆ initFxFxFileReader

ClassDescription<FxFxFileReader> ThePEG::FxFxFileReader::initFxFxFileReader
staticprivate

Describe an abstract base class with persistent data.

Definition at line 264 of file FxFxFileReader.h.

◆ LHFVersion

string ThePEG::FxFxFileReader::LHFVersion
protected

If the file is a standard Les Houches formatted file (LHF) this is its version number.

If empty, this is not a Les Houches formatted file

Definition at line 185 of file FxFxFileReader.h.

◆ neve

long ThePEG::FxFxFileReader::neve
protected

The number of events in this file.

Definition at line 173 of file FxFxFileReader.h.

◆ optionalWeightsTemp

map<string,double> ThePEG::FxFxFileReader::optionalWeightsTemp
private

Temporary holder for optional weights.

Definition at line 256 of file FxFxFileReader.h.

◆ outsideBlock

string ThePEG::FxFxFileReader::outsideBlock
protected

If LHF.

All lines (since the last open() or readEvent()) outside the header, init and event tags.

Definition at line 191 of file FxFxFileReader.h.

◆ scalemap

map<string,string> ThePEG::FxFxFileReader::scalemap
private

Further information on the weights.

Definition at line 250 of file FxFxFileReader.h.

◆ theDecayer

DecayerPtr ThePEG::FxFxFileReader::theDecayer
private

Decayer for any decay modes read from the file.

Definition at line 245 of file FxFxFileReader.h.

◆ theFileName

string ThePEG::FxFxFileReader::theFileName
private

The name of the file from where to read events.

Definition at line 225 of file FxFxFileReader.h.

Referenced by filename().

◆ theIncludeCentral

bool ThePEG::FxFxFileReader::theIncludeCentral
private

Include central weight (for backup use)

Definition at line 240 of file FxFxFileReader.h.

◆ theIncludeFxFxTags

bool ThePEG::FxFxFileReader::theIncludeFxFxTags
private

Include/Read FxFx tags.

Definition at line 235 of file FxFxFileReader.h.

◆ theQNumbers

bool ThePEG::FxFxFileReader::theQNumbers
private

Whether or not to search for QNUMBERS stuff.

Definition at line 230 of file FxFxFileReader.h.


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