herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
SMFFWVertex.h
1 // -*- C++ -*-
2 //
3 // SMFFWVertex.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_SMFFWVertex_H
10 #define HERWIG_SMFFWVertex_H
11 //
12 // This is the declaration of the SMFFWVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
15 
16 namespace Herwig {
17 using namespace ThePEG;
18 
27 class SMFFWVertex: public FFVVertex {
28 
29 public:
30 
34  SMFFWVertex();
35 
36 public:
37 
44  void persistentOutput(PersistentOStream & os) const;
45 
51  void persistentInput(PersistentIStream & is, int version);
53 
57  static void Init();
58 
66  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3);
67 
68 protected:
69 
76  virtual IBPtr clone() const {return new_ptr(*this);}
77 
82  virtual IBPtr fullclone() const {return new_ptr(*this);}
84 
85 protected:
86 
92  virtual void doinit();
93 
94 private:
95 
99  SMFFWVertex & operator=(const SMFFWVertex &) = delete;
100 
101 private:
102 
107  bool _diagonal;
108 
116  vector<vector<Complex> > _ckm;
117 
122 
126  Energy2 _q2last;
128 };
129 }
130 
131 #endif /* HERWIG_SMFFWVertex_H */
std::complex< double > Complex
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: SMFFWVertex.h:82
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
This is the implementation of the Standard model coupling of the W to the fermions.
Definition: SMFFWVertex.h:27
vector< vector< Complex > > _ckm
Storage of the couplings.
Definition: SMFFWVertex.h:116
bool _diagonal
True, if a diagonal CKM matrix should be assumed.
Definition: SMFFWVertex.h:107
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: SMFFWVertex.h:76
Energy2 _q2last
The scale at which the coupling was last evaluated.
Definition: SMFFWVertex.h:126
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
-*- C++ -*-
Complex _couplast
The last value of the electroweak coupling calculated.
Definition: SMFFWVertex.h:121