herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
FFVCurrentDecayer.h
1 // -*- C++ -*-
2 //
3 // FFVCurrentDecayer.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_FFVCurrentDecayer_H
10 #define HERWIG_FFVCurrentDecayer_H
11 //
12 // This is the declaration of the FFVCurrentDecayer class.
13 //
14 
15 #include "GeneralCurrentDecayer.h"
16 #include "ThePEG/Repository/EventGenerator.h"
17 #include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
18 
19 namespace Herwig {
20 using namespace ThePEG;
21 using Helicity::FFVVertexPtr;
22 
30 
31 public:
32 
43  virtual double me2(const int ichan, const Particle & part,
44  const ParticleVector & decay, MEOption meopt) const;
45 
52  virtual Energy partialWidth(tPDPtr inpart, tPDPtr outa,
53  vector<tPDPtr> currout);
55 
56 public:
57 
64  void persistentOutput(PersistentOStream & os) const;
65 
71  void persistentInput(PersistentIStream & is, int version);
73 
80  static void Init();
81 
82 protected:
83 
90  virtual IBPtr clone() const;
91 
96  virtual IBPtr fullclone() const;
98 
99 
100 protected:
101 
109  virtual void doinit();
110 
120  virtual void rebind(const TranslationMap & trans)
121  ;
122 
128  virtual IVector getReferences();
130 
131 private:
132 
137  FFVCurrentDecayer & operator=(const FFVCurrentDecayer &) = delete;
138 
139 private:
140 
144  FFVVertexPtr FFVPtr_;
145 
149  mutable RhoDMatrix rho_;
150 
154  mutable vector<SpinorWaveFunction> wave_ ;
155 
159  mutable vector<SpinorBarWaveFunction> wavebar_;
160 };
161 
162 }
163 
164 #endif /* HERWIG_FFVCurrentDecayer_H */
vector< SpinorBarWaveFunction > wavebar_
Barred spinor wavefunction.
ThePEG::Ptr< ParticleData >::transient_pointer tPDPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< SpinorWaveFunction > wave_
Spinor wavefunction.
MEOption
Enum for the matrix element option.
RhoDMatrix rho_
Spinr density matrix.
Here is the documentation of the GeneralCurrentDecayer class.
-*- C++ -*-
vector< IBPtr > IVector
vector< PPtr > ParticleVector
Here is the documentation of the FFVCurrentDecayer class.
FFVVertexPtr FFVPtr_
Pointer to FFVVertex.