herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
16namespace Herwig {
17using namespace ThePEG;
18
27class SMFFWVertex: public FFVVertex {
28
29public:
30
35
36public:
37
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
68protected:
69
76 virtual IBPtr clone() const {return new_ptr(*this);}
77
82 virtual IBPtr fullclone() const {return new_ptr(*this);}
84
85protected:
86
92 virtual void doinit();
93
94private:
95
99 SMFFWVertex & operator=(const SMFFWVertex &) = delete;
100
101private:
102
108
116 vector<vector<Complex> > _ckm;
117
122
126 Energy2 _q2last;
128};
129}
130
131#endif /* HERWIG_SMFFWVertex_H */
This is the implementation of the Standard model coupling of the W to the fermions.
Definition: SMFFWVertex.h:27
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: SMFFWVertex.h:76
vector< vector< Complex > > _ckm
Storage of the couplings.
Definition: SMFFWVertex.h:116
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: SMFFWVertex.h:82
Complex _couplast
The last value of the electroweak coupling calculated.
Definition: SMFFWVertex.h:121
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
SMFFWVertex()
Default constructor.
bool _diagonal
True, if a diagonal CKM matrix should be assumed.
Definition: SMFFWVertex.h:107
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
SMFFWVertex & operator=(const SMFFWVertex &)=delete
Private and non-existent assignment operator.
static void Init()
Standard Init function used to initialize the interfaces.
Energy2 _q2last
The scale at which the coupling was last evaluated.
Definition: SMFFWVertex.h:126
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)
Calculate the couplings.
-*- C++ -*-
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr