9 #ifndef ThePEG_Strategy_H 10 #define ThePEG_Strategy_H 13 #include "ThePEG/Config/ThePEG.h" 14 #include "Strategy.fh" 15 #include "ThePEG/Interface/Interfaced.h" 235 static string className() {
return "ThePEG::Strategy"; }
Strategy & operator=(const Strategy &)
Private and non-existent assignment operator.
string localParticlesDir() const
A directory in the repository which will be scanned for particles which will be included as default p...
void setDefaultParticlesDirs(string, int)
Utility function used by the interface.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
void insDefaultParticlesDirs(string, int)
Utility function used by the interface.
static bool checkDir(string)
Utility function used by the interface.
ClassTraitsType is an empty, non-polymorphic, base class.
void setLocalParticlesDir(string)
Utility function used by the interface.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
The Strategy class represents a general strategy to be assigned to an EventGenerator.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
This is the main namespace within which all identifiers in ThePEG are declared.
ParticleMap & particles()
Return the map of local particles.
static void Init()
Standard Init function used to initialize the interface.
vector< PDPtr > getLocalParticles() const
Utility function used by the interface.
const ParticleMap & particles() const
Return the map of local particles indexed by their PDG id number.
void setLocalParticles(PDPtr pd, int)
Utility function used by the interface.
vector< string > theDefaultParticlesDirs
By default all particles in the Repository are included in a run, although only one particle per PDG ...
void insLocalParticles(PDPtr pd, int)
Utility function used by the interface.
RCPtr is a reference counted (smart) pointer.
vector< IPtr > theDefaultObjects
A vector of default objects.
The Interfaced class is derived from the InterfacedBase class adding a couple of things particular to...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual IBPtr clone() const
Make a simple clone of this object.
const vector< string > & defaultParticlesDirs() const
By default all particles in the Repository are included in a run, although only one particle per PDG ...
virtual const string versionstring() const
Return a freeform version string.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
The default concrete implementation of ClassTraitsBase.
static ClassDescription< Strategy > initStrategy
Describe a concrete class with persistent data.
ParticleMap theParticles
the map of default particles.
BaseClassTraits describes the base classes of the templated class.
void delLocalParticles(int place)
Utility function used by the interface.
const vector< IPtr > & defaultObjects() const
Return the vector of default objects.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
string theLocalParticlesDir
A directory in the repository which will be scanned for particles which will be included as default p...