9 #ifndef THEPEG_RemnantData_H
10 #define THEPEG_RemnantData_H
15 #include "ThePEG/PDT/ParticleData.h"
16 #include "ThePEG/PDT/RemnantData.fh"
17 #include "ThePEG/PDT/RemnantDecayer.fh"
18 #include "ThePEG/PDT/DecayMode.h"
196 #include "ThePEG/Utilities/ClassTraits.h"
205 struct BaseClassTrait<RemnantData,1> {
213 struct ClassTraits<RemnantData>
214 :
public ClassTraitsBase<RemnantData> {
216 static string className() {
return "ThePEG::RemnantData"; }
The RemnantData class is not a normal ParticleData class.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
virtual IBPtr clone() const
Make a simple clone of this object.
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
bool reextract(tcPDPtr oldp, tcPDPtr newp)
Modify the properties to reflect that the previously extracted parton, oldp, was evolved backwards to...
This is the main namespace within which all identifiers in ThePEG are declared.
const RemnantDecayer & decayer() const
The Decayer responsible for for the decay of this remnant.
The RemnantDecayer class is the base class to be used for all decayers capable of decaying a RemnantP...
static ClassDescription< RemnantData > initRemnantData
The static object used to initialize the description of this class.
RemnantData()
The default constructor is protected and must only be used by the PersistentIStream class via the Cla...
ParticleData inherits from InterfacedBase and represents the properties of a particle type...
RCPtr is a reference counted (smart) pointer.
bool extract(tcPDPtr parton)
Modify the properties to reflect that the given parton was extracted.
static TPtr create()
Create a T object and return a smart pointer to it.
The default concrete implementation of ClassTraitsBase.
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.
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).
tcPDPtr parentPD
The particle type of the parent.
multiset< tcPDPtr > extracted
The set of extracted particle types.
ThePEG::Ptr< T >::pointer TPtr
Alias for a reference counted pointer to T .
RemDecPtr theDecayer
The Decayer responsible for for the decay of this remnant.
bool fixColour()
Modify the colour to reflect that the given parton was extracted.
static RCPtr Create()
Allocate and construct an object of class T and return a RCPtr to it.
RemnantData & operator=(const RemnantData &)
The assignment operator is private and must never be called.
DMPtr decayMode
The only DecayMode available for this remnant.