herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
SMFFPVertex.h
1 // -*- C++ -*-
2 //
3 // SMFFPVertex.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2017 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_SMFFPVertex_H
10 #define HERWIG_SMFFPVertex_H
11 //
12 // This is the declaration of the SMFFPVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
15 #include "ThePEG/StandardModel/StandardModelBase.h"
16 
17 namespace Herwig {
18 using namespace ThePEG;
19 
28 class SMFFPVertex: public FFVVertex {
29 
30 public:
31 
35  SMFFPVertex();
36 
43  void persistentOutput(PersistentOStream & os) const;
44 
50  void persistentInput(PersistentIStream & is, int version);
52 
56  static void Init();
57 
65  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3);
66 
67 protected:
68 
75  virtual IBPtr clone() const {return new_ptr(*this);}
76 
81  virtual IBPtr fullclone() const {return new_ptr(*this);}
83 
84 protected:
85 
91  virtual void doinit();
92 
93 private:
94 
98  SMFFPVertex & operator=(const SMFFPVertex &) = delete;
99 
100 private:
101 
109  vector<double> _charge;
110 
115 
119  Energy2 _q2last;
121 
122 };
123 }
124 
125 #endif /* HERWIG_SMFFPVertex_H */
std::complex< double > Complex
Energy2 _q2last
The scale at which the coupling was last evaluated.
Definition: SMFFPVertex.h:119
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: SMFFPVertex.h:75
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: SMFFPVertex.h:81
This is the implementation of the Standard Model fermion-antifermion photon vertex.
Definition: SMFFPVertex.h:28
vector< double > _charge
Storage of the couplings.
Definition: SMFFPVertex.h:109
-*- C++ -*-
Complex _couplast
The last value of the coupling calculated.
Definition: SMFFPVertex.h:114