herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
VectorCurrentDecayConstructor.h
1// -*- C++ -*-
2#ifndef Herwig_VectorCurrentDecayConstructor_H
3#define Herwig_VectorCurrentDecayConstructor_H
4//
5// This is the declaration of the VectorCurrentDecayConstructor class.
6//
7
8#include "NBodyDecayConstructorBase.h"
9#include "Herwig/Decay/WeakCurrents/WeakCurrent.h"
10
11namespace Herwig {
12
13using namespace ThePEG;
14
22
23public:
24
29 {}
30
36 virtual void DecayList(const set<PDPtr,MassOrdering> & part);
37
41 virtual unsigned int numBodies() const { return 999; }
42
46 Energy massCut() const { return massCut_;}
47
48public:
49
57
63 void persistentInput(PersistentIStream & is, int version);
65
72 static void Init();
73
74protected:
75
82 virtual IBPtr clone() const;
83
88 virtual IBPtr fullclone() const;
90
91protected:
92
100 virtual void doinit();
102
103private:
104
110
111private:
112
116 Ptr<Herwig::StandardModel>::pointer model_;
117
121 Energy massCut_;
122
126 vector<WeakCurrentPtr> current_;
127};
128
129}
130
131#endif /* Herwig_VectorCurrentDecayConstructor_H */
This is the base class for NBodyDecayConstructors.
The VectorCurrentDecayConstructor class constructs the decay of low mass vector bosons via the weak c...
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
virtual IBPtr clone() const
Make a simple clone of this object.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Ptr< Herwig::StandardModel >::pointer model_
Model Pointer.
virtual void DecayList(const set< PDPtr, MassOrdering > &part)
Function used to determine allowed decaymodes, to be implemented in derived class.
static void Init()
The standard Init function used to initialize the interfaces.
vector< WeakCurrentPtr > current_
The current for the mode.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
VectorCurrentDecayConstructor & operator=(const VectorCurrentDecayConstructor &)=delete
The assignment operator is private and must never be called.
virtual unsigned int numBodies() const
Number of outgoing lines.
Energy massCut_
Cut-off on the mass difference.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr