herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
RadiativeHyperonDecayer.h
1 // -*- C++ -*-
2 #ifndef HERWIG_RadiativeHyperonDecayer_H
3 #define HERWIG_RadiativeHyperonDecayer_H
4 //
5 // This is the declaration of the RadiativeHyperonDecayer class.
6 //
7 
8 #include "Baryon1MesonDecayerBase.h"
9 
10 namespace Herwig {
11 
12 using namespace ThePEG;
13 
23 
24 public:
25 
30 
37  virtual int modeNumber(bool & cc, tcPDPtr parent,
38  const tPDVector & children) const;
39 
40 
46  virtual void dataBaseOutput(ofstream & os,bool header) const;
47 
48 public:
49 
56  void persistentOutput(PersistentOStream & os) const;
57 
63  void persistentInput(PersistentIStream & is, int version);
65 
72  static void Init();
73 protected:
74 
79 
93  virtual void halfHalfVectorCoupling(int imode, Energy m0, Energy m1, Energy m2,
94  Complex& A1,Complex& A2,
95  Complex& B1,Complex& B2) const;
97 
98 protected:
99 
106  virtual IBPtr clone() const;
107 
112  virtual IBPtr fullclone() const;
114 
115 protected:
116 
119 
125  virtual void doinit();
126 
130  virtual void doinitrun();
132 
133 private:
134 
139  RadiativeHyperonDecayer & operator=(const RadiativeHyperonDecayer &) = delete;
140 
141 private:
142 
146  vector<long> incomingB_;
147 
151  vector<long> outgoingB_;
152 
156  vector<InvEnergy> A_;
157 
161  vector<InvEnergy> B_;
162 
166  vector<double> maxweight_;
167 
171  unsigned int initsize_;
172 };
173 
174 }
175 
176 #endif /* HERWIG_RadiativeHyperonDecayer_H */
std::complex< double > Complex
vector< InvEnergy > B_
The coefficient.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< long > outgoingB_
PDG code for the outgoing baryon.
vector< InvEnergy > A_
The coefficient.
unsigned int initsize_
initial size fo the vectors
The Baryon1MesonDecayerBase class is the base class for the decay of a baryon to another baryon and a...
vector< tPDPtr > tPDVector
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
The RadiativeHyperonDecayer class provides the matrix elements for the decay of hyperons in which a p...
-*- C++ -*-
vector< double > maxweight_
the maximum weights for the decays
vector< long > incomingB_
PDG code for the incoming baryon.