13 #include "ThePEG/Config/ThePEG.h" 14 #include "ThePEG/Utilities/ClassDescription.h" 78 template <
typename InputIterator>
79 void tag(InputIterator first, InputIterator last)
92 void stop(
bool newStopFlag)
186 typedef Base NthBase;
197 static string className() {
return "ThePEG::Hint"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
static Hint theDefaultHint
The default hint.
Define the base class from which all (polymorphic) classes in ThePEG are derived. ...
ClassTraitsType is an empty, non-polymorphic, base class.
Hint()
Default constructor.
void scale(const Scale &newScale)
Set the scale.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
ThePEG::Ptr< Hint >::transient_pointer tHintPtr
Alias for a transient pointer to Hint .
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
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.
static void Init()
Standard Init function used to initialize the interface.
bool tagged() const
Return true if there are tagged particles in the hint.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Hint is a base class to be used to pass information between StepHandler s, which cannot be convayed t...
void stop(bool newStopFlag)
Set the stop hint.
static tHintPtr Default()
Return a pointer to the default hint.
bool theStopFlag
The stop hint.
void tag(InputIterator first, InputIterator last)
Add a range of particles to the list of tagged particles.
bool stop() const
Get the stop hint.
The default concrete implementation of ClassTraitsBase.
Energy2 Scale
Scale is the same as a squared energy.
const Scale & scale() const
Get the scale.
tPVector theTagged
The vector of tagged particles.
vector< tPPtr > tPVector
A vector of transient pointers to Particle objects.
static ClassDescription< Hint > initHint
Describe a concrete class with persistent data.
BaseClassTraits describes the base classes of the templated class.
void tag(tPPtr p)
Add a particle to the list of tagged particles.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Hint & operator=(const Hint &h)
Assignment is private and non-existing.
The Step class contains information of all particles present after certain step in the event generati...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.