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"
233 struct ClassTraits<Strategy>:
public ClassTraitsBase<Strategy> {
235 static string className() {
return "ThePEG::Strategy"; }
Strategy & operator=(const Strategy &)
Private and non-existent assignment operator.
virtual IBPtr clone() const
Make a simple clone of this object.
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...
const vector< string > & defaultParticlesDirs() const
By default all particles in the Repository are included in a run, although only one particle per PDG ...
string localParticlesDir() const
A directory in the repository which will be scanned for particles which will be included as default p...
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...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
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.
void setLocalParticles(PDPtr pd, int)
Utility function used by the interface.
const ParticleMap & particles() const
Return the map of local particles indexed by their PDG id number.
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.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
const vector< IPtr > & defaultObjects() const
Return the vector of default objects.
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 persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
static ClassDescription< Strategy > initStrategy
Describe a concrete class with persistent data.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
vector< PDPtr > getLocalParticles() const
Utility function used by the interface.
virtual const string versionstring() const
Return a freeform version string.
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.
string theLocalParticlesDir
A directory in the repository which will be scanned for particles which will be included as default p...