herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
SMFFPVertex.h
1// -*- C++ -*-
2//
3// SMFFPVertex.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_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
17namespace Herwig {
18using namespace ThePEG;
19
28class SMFFPVertex: public FFVVertex {
29
30public:
31
36
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
67protected:
68
75 virtual IBPtr clone() const {return new_ptr(*this);}
76
81 virtual IBPtr fullclone() const {return new_ptr(*this);}
83
84protected:
85
91 virtual void doinit();
92
93private:
94
98 SMFFPVertex & operator=(const SMFFPVertex &) = delete;
99
100private:
101
109 vector<double> _charge;
110
115
119 Energy2 _q2last;
121
122};
123}
124
125#endif /* HERWIG_SMFFPVertex_H */
This is the implementation of the Standard Model fermion-antifermion photon vertex.
Definition: SMFFPVertex.h:28
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: SMFFPVertex.h:75
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
static void Init()
Standard Init function used to initialize the interfaces.
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)
Calculate the couplings.
SMFFPVertex()
Default constructor.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: SMFFPVertex.h:81
Energy2 _q2last
The scale at which the coupling was last evaluated.
Definition: SMFFPVertex.h:119
SMFFPVertex & operator=(const SMFFPVertex &)=delete
Private and non-existent assignment operator.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
vector< double > _charge
Storage of the couplings.
Definition: SMFFPVertex.h:109
Complex _couplast
The last value of the coupling calculated.
Definition: SMFFPVertex.h:114
-*- C++ -*-
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr