9 #ifndef THEPEG_HepMCFile_H 10 #define THEPEG_HepMCFile_H 16 #include "ThePEG/Handlers/AnalysisHandler.h" 17 #include "ThePEG/Repository/CurrentGenerator.h" 18 #include "ThePEG/Repository/EventGenerator.h" 19 #include "HepMC/IO_BaseClass.h" 184 #include "ThePEG/Utilities/ClassTraits.h" 204 static string className() {
return "ThePEG::HepMCFile"; }
208 static string library() {
return "HepMCAnalysis.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
int _unitchoice
Selector for the choice of units.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
HepMCFile()
The default constructor.
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
This is the main namespace within which all identifiers in ThePEG are declared.
The AnalysisHandler is the base class of all analysis objects which may be handled by the FullEventGe...
HepMCFile & operator=(const HepMCFile &)
The assignment operator is private and must never be called.
InitState state() const
Return the state of initialization of this object.
virtual void dofinish()
Finalize this object.
HepMC::IO_BaseClass * _hepmcio
The HepMC I/O handler.
ofstream _hepmcdump
The HepMC dump file.
unsigned int _geneventPrecision
Choice of output precision in GenEvent format.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
static void Init()
The standard Init function used to initialize the interfaces.
int _format
The HepMC format.
static ClassDescription< HepMCFile > initHepMCFile
The static object used to initialize the description of this class.
virtual IBPtr clone() const
Make a simple clone of this object.
RCPtr is a reference counted (smart) pointer.
The HepMCFile class outputs ThePEG events in HepMC format.
The default concrete implementation of ClassTraitsBase.
virtual void doinitrun()
Initialize this object.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
long _eventNumber
Last event that should be written out as HepMC format.
BaseClassTraits describes the base classes of the templated class.
string _filename
The HepMC filename.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...