herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
BaryonWidthGenerator.h
1// -*- C++ -*-
2#ifndef HERWIG_BaryonWidthGenerator_H
3#define HERWIG_BaryonWidthGenerator_H
4//
5// This is the declaration of the BaryonWidthGenerator class.
6//
7
8#include "GenericWidthGenerator.h"
9#include "BaryonWidthGenerator.fh"
10#include "Herwig/Decay/Baryon/Baryon1MesonDecayerBase.h"
11
12namespace Herwig {
13using namespace ThePEG;
14
27
28public:
29
37
43 void persistentInput(PersistentIStream & is, int version);
45
52 static void Init();
53
54public:
55
61 virtual void dataBaseOutput(ofstream & output,bool header=true);
62
63
72 virtual Energy partial2BodyWidth(int iloc,Energy m0,Energy m1,Energy m2) const;
73
74protected:
75
82 virtual void setupMode(tcDMPtr mode, tDecayIntegratorPtr decayer, unsigned int imode);
83
84protected:
85
92 virtual IBPtr clone() const {return new_ptr(*this);}
93
98 virtual IBPtr fullclone() const {return new_ptr(*this);}
100
101protected:
102
105
111 virtual void doinit();
113
114private:
115
121
122private:
123
127 vector<Baryon1MesonDecayerBasePtr> _baryondecayers;
128
132 vector<int> _modeloc;
133
134};
135
136}
137
138#endif /* HERWIG_BaryonWidthGenerator_H */
The BaryonWidthGenerator class is designed to automatically calculate the running width for a given p...
vector< int > _modeloc
Location of the decay mode in the decayer.
virtual void setupMode(tcDMPtr mode, tDecayIntegratorPtr decayer, unsigned int imode)
Perform the set up for a mode, this is called by the base class.
vector< Baryon1MesonDecayerBasePtr > _baryondecayers
vector of pointers to the decayers
virtual IBPtr clone() const
Make a simple clone of this object.
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
static void Init()
The standard Init function used to initialize the interfaces.
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.
virtual Energy partial2BodyWidth(int iloc, Energy m0, Energy m1, Energy m2) const
The width for outgoing particles which can be off-shell.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual void dataBaseOutput(ofstream &output, bool header=true)
Output the initialisation info for the database.
BaryonWidthGenerator & operator=(const BaryonWidthGenerator &)=delete
The assignment operator is private and must never be called.
The GenericWidthGenerator class is designed to automatically calculate the running width for a given ...
bool output() const
Output option for use by the inheriting classes.
-*- C++ -*-
ThePEG::Ptr< DecayMode >::transient_const_pointer tcDMPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr