herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
FRSDecayer.h
1 // -*- C++ -*-
2 //
3 // FRSDecayer.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_FRSDecayer_H
10 #define HERWIG_FRSDecayer_H
11 //
12 // This is the declaration of the FRSDecayer 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  FRSDecayer & operator=(const FRSDecayer &) = delete;
123 
124 private:
125 
129  vector<AbstractRFSVertexPtr> vertex_;
130 
134  vector<RFSVertexPtr> perturbativeVertex_;
135 
139  mutable RhoDMatrix rho_;
140 
144  mutable vector<SpinorWaveFunction> wave_ ;
145 
149  mutable vector<SpinorBarWaveFunction> wavebar_;
150 
154  mutable vector<RSSpinorWaveFunction> RSwave_ ;
155 
159  mutable vector<RSSpinorBarWaveFunction> RSwavebar_;
160 };
161 
162 }
163 
164 #endif /* HERWIG_FRSDecayer_H */
vector< AbstractRFSVertexPtr > vertex_
Abstract pointer to AbstractFRSVertex.
Definition: FRSDecayer.h:129
vector< SpinorBarWaveFunction > wavebar_
Barred spinor wavefunctions.
Definition: FRSDecayer.h:149
vector< RSSpinorBarWaveFunction > RSwavebar_
Barred RS spinor wavefunctions.
Definition: FRSDecayer.h:159
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
RhoDMatrix rho_
Spin density matrix.
Definition: FRSDecayer.h:139
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.
The FRSDecayer class implements the decay of a fermion to a spin-3/2 fermion and a vector in a genera...
Definition: FRSDecayer.h:32
vector< RFSVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: FRSDecayer.h:134
MEOption
Enum for the matrix element option.
vector< RSSpinorWaveFunction > RSwave_
RS Spinor wavefunctions.
Definition: FRSDecayer.h:154
vector< SpinorWaveFunction > wave_
Spinor wavefunctions.
Definition: FRSDecayer.h:144
FRSDecayer()
The default constructor.
Definition: FRSDecayer.h:39
pair< PDPtr, PDPtr > PDPair
ThePEG::Ptr< ParticleData >::pointer PDPtr
-*- C++ -*-
vector< PPtr > ParticleVector