herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
SRFDecayer.h
1 // -*- C++ -*-
2 //
3 // SRFDecayer.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 The Herwig Collaboration
5 //
6 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef HERWIG_SRFDecayer_H
10 #define HERWIG_SRFDecayer_H
11 //
12 // This is the declaration of the SRFDecayer class.
13 //
14 
15 #include "GeneralTwoBodyDecayer.h"
16 #include "ThePEG/Repository/EventGenerator.h"
17 #include "ThePEG/Helicity/Vertex/Scalar/RFSVertex.h"
18 
19 namespace Herwig {
20 using namespace ThePEG;
21 using Helicity::RFSVertexPtr;
22 
33 
34 public:
35 
40 
51  virtual double me2(const int ichan, const Particle & part,
52  const ParticleVector & decay, MEOption meopt) const;
53 
60  virtual Energy partialWidth(PMPair inpart, PMPair outa,
61  PMPair outb) const;
62 
66  virtual void setDecayInfo(PDPtr incoming, PDPair outgoing,
67  vector<VertexBasePtr>,
68  map<ShowerInteraction,VertexBasePtr> &,
69  const vector<map<ShowerInteraction,VertexBasePtr> > &,
70  map<ShowerInteraction,VertexBasePtr>);
72 
73 public:
74 
81  void persistentOutput(PersistentOStream & os) const;
82 
88  void persistentInput(PersistentIStream & is, int version);
90 
97  static void Init();
98 
99 protected:
100 
107  virtual IBPtr clone() const;
108 
113  virtual IBPtr fullclone() const;
115 
116 private:
117 
122  SRFDecayer & operator=(const SRFDecayer &) = delete;
123 
124 private:
125 
129  vector<AbstractRFSVertexPtr> vertex_;
130 
134  vector<RFSVertexPtr> perturbativeVertex_;
135 
139  mutable RhoDMatrix rho_;
140 
145 
149  mutable vector<SpinorWaveFunction> wave_;
150 
154  mutable vector<SpinorBarWaveFunction> wavebar_;
155 
159  mutable vector<RSSpinorWaveFunction> RSwave_;
160 
164  mutable vector<RSSpinorBarWaveFunction> RSwavebar_;
165 
166 
167 };
168 
169 }
170 
171 #endif /* HERWIG_SRFDecayer_H */
vector< SpinorBarWaveFunction > wavebar_
Barred spinor wavefunction.
Definition: SRFDecayer.h:154
ScalarWaveFunction swave_
Scalar wavefunction.
Definition: SRFDecayer.h:144
The SRFDecayer class implements the decay of a scalar to spin-3/2 and spin-1/2 fermion in a general m...
Definition: SRFDecayer.h:32
vector< RSSpinorWaveFunction > RSwave_
RS Spinor wavefunction.
Definition: SRFDecayer.h:159
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
The GeneralTwoBodyDecayer class is designed to be the base class for 2 body decays for some general m...
pair< tcPDPtr, Energy > PMPair
A ParticleData ptr and (possible) mass pair.
MEOption
Enum for the matrix element option.
pair< PDPtr, PDPtr > PDPair
ThePEG::Ptr< ParticleData >::pointer PDPtr
vector< AbstractRFSVertexPtr > vertex_
Abstract pointer to AbstractFFSVertex.
Definition: SRFDecayer.h:129
vector< SpinorWaveFunction > wave_
Spinor wavefunction.
Definition: SRFDecayer.h:149
vector< RSSpinorBarWaveFunction > RSwavebar_
Barred RS spinor wavefunction.
Definition: SRFDecayer.h:164
vector< RFSVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: SRFDecayer.h:134
-*- C++ -*-
SRFDecayer()
The default constructor.
Definition: SRFDecayer.h:39
vector< PPtr > ParticleVector
RhoDMatrix rho_
Spin density matrix.
Definition: SRFDecayer.h:139