herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
ADDModelFFGGRVertex.h
1 // -*- C++ -*-
2 //
3 // ADDModelFFGGRVertex.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_ADDModelFFGGRVertex_H
10 #define HERWIG_ADDModelFFGGRVertex_H
11 //
12 // This is the declaration of the ADDModelFFGGRVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/Tensor/FFVTVertex.h"
15 #include "ADDModel.h"
16 
17 namespace Herwig {
18 using namespace ThePEG;
19 
29 
30 public:
31 
36 
45  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3,
46  tcPDPtr part4);
47 
48 public:
49 
56  void persistentOutput(PersistentOStream & os) const;
57 
63  void persistentInput(PersistentIStream & is, int version);
65 
69  static void Init();
70 
71 protected:
72 
79  virtual IBPtr clone() const {return new_ptr(*this);}
80 
85  virtual IBPtr fullclone() const {return new_ptr(*this);}
87 
88 protected:
89 
95  virtual void doinit();
96 
105  virtual Complex propagator(int iopt, Energy2 q2,tcPDPtr part,
106  Energy mass=-GeV, Energy width=-GeV);
107 
108 private:
109 
114 
118  ADDModelFFGGRVertex & operator=(const ADDModelFFGGRVertex &) = delete;
119 
120 private:
121 
130 
134  Energy2 q2last_;
135 
139  InvEnergy kappa_;
140 
144  Energy r_;
146 };
147 }
148 
149 namespace ThePEG {
150 
157 template <>
158 struct BaseClassTrait<Herwig::ADDModelFFGGRVertex,1> {
160  typedef ThePEG::Helicity::FFVTVertex NthBase;
161 };
162 
167 template <>
168 struct ClassTraits<Herwig::ADDModelFFGGRVertex>
169  : public ClassTraitsBase<Herwig::ADDModelFFGGRVertex> {
170 
174  static string className() { return "Herwig::ADDModelFFGGRVertex"; }
175 
181  static string library() { return "HwADDModel.so"; }
182 
183 };
184 
187 }
188 
189 
190 #endif /* HERWIG_ADDModelFFGGRVertex_H */
virtual IBPtr clone() const
Make a simple clone of this object.
static ClassDescription< ADDModelFFGGRVertex > initADDModelFFGGRVertex
Describe a concrete class with persistent data.
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Energy2 q2last_
The last value of the scale, .
InvEnergy kappa_
The graviton coupling.
This is the implementation of the fermion-antifermion-vector-graviton vertex for the Randell-Sundrum ...
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
-*- C++ -*-
Energy r_
Mass ratio for the propagator.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Complex couplast_
Storage of the couplings.