9 #ifndef THEPEG_V2PPDecayer_H
10 #define THEPEG_V2PPDecayer_H
13 #include "ThePEG/PDT/FlatDecayer.h"
158 struct BaseClassTrait<V2PPDecayer,1>:
public ClassTraitsType {
167 struct ClassTraits<V2PPDecayer>
168 :
public ClassTraitsBase<V2PPDecayer> {
170 static string className() {
return "ThePEG::V2PPDecayer"; }
174 static string library() {
return "V2PPDecayer.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual ParticleVector decay(const DecayMode &dm, const Particle &p) const
Perform a decay for a given DecayMode and a given Particle instance.
The Particle class is used to describe an instance of a particle.
static void Init()
Standard Init function used to initialize the interfaces.
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...
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
This is the main namespace within which all identifiers in ThePEG are declared.
tPPtr grandParent
The grand parent in case reweighting should be done.
The V2PPDecayer class performs the decay of a vector meson into two pseudo-scalars according to a fla...
virtual bool accept(const DecayMode &dm) const
Check if this decayer can perfom the decay specified by the given decay mode.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
virtual IBPtr clone() const
Make a simple clone of this object.
V2PPDecayer & operator=(const V2PPDecayer &)
Private and non-existent assignment operator.
virtual ~V2PPDecayer()
Destructor.
tPPtr sibling
The decaying particles sibling in case reweighting should be done.
RCPtr is a reference counted (smart) pointer.
virtual double reweight(const DecayMode &dm, const Particle &parent, const ParticleVector &children) const
Give a weight to a phase space point.
The DecayMode class describes a decay channel of a particle.
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< PPtr > ParticleVector
A vector of pointers to Particle objects.
The FlatDecayer class inrerits from the abstract Decayer class and implements the decay of a given Pa...
static ClassDescription< V2PPDecayer > initV2PPDecayer
Describe a concrete class with persistent data.