herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
12 namespace Herwig {
13 using namespace ThePEG;
14 
27 
28 public:
29 
36  void persistentOutput(PersistentOStream & os) const;
37 
43  void persistentInput(PersistentIStream & is, int version);
45 
52  static void Init();
53 
54 public:
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 
74 protected:
75 
82  virtual void setupMode(tcDMPtr mode, tDecayIntegratorPtr decayer, unsigned int imode);
83 
84 protected:
85 
92  virtual IBPtr clone() const {return new_ptr(*this);}
93 
98  virtual IBPtr fullclone() const {return new_ptr(*this);}
100 
101 protected:
102 
105 
111  virtual void doinit();
113 
114 private:
115 
120  BaryonWidthGenerator & operator=(const BaryonWidthGenerator &) = delete;
121 
122 private:
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...
ThePEG::Ptr< DecayMode >::transient_const_pointer tcDMPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
vector< Baryon1MesonDecayerBasePtr > _baryondecayers
vector of pointers to the decayers
The GenericWidthGenerator class is designed to automatically calculate the running width for a given ...
virtual IBPtr clone() const
Make a simple clone of this object.
-*- C++ -*-
vector< int > _modeloc
Location of the decay mode in the decayer.