herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
ADDModelFFGRVertex.h
1 // -*- C++ -*-
2 //
3 // ADDModelFFGRVertex.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_ADDModelFFGRVertex_H
10 #define HERWIG_ADDModelFFGRVertex_H
11 //
12 // This is the declaration of the ADDModelFFGRVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/Tensor/FFTVertex.h"
15 #include "ADDModel.h"
16 
17 namespace Herwig {
18 using namespace ThePEG;
19 
29 
30 public:
31 
36 
37 public:
38 
45  void persistentOutput(PersistentOStream & os) const;
46 
52  void persistentInput(PersistentIStream & is, int version);
54 
58  static void Init();
59 
67  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3);
68 
69 protected:
70 
77  virtual IBPtr clone() const {return new_ptr(*this);}
78 
83  virtual IBPtr fullclone() const {return new_ptr(*this);}
85 
86 protected:
87 
93  virtual void doinit();
94 
103  virtual Complex propagator(int iopt, Energy2 q2,tcPDPtr part,
104  Energy mass=-GeV, Energy width=-GeV);
105 
106 private:
107 
112 
116  ADDModelFFGRVertex & operator=(const ADDModelFFGRVertex &) = delete;
117 
121  InvEnergy kappa_;
122 
126  Energy r_;
127 
128 };
129 }
130 
131 namespace ThePEG {
132 
139 template <>
140 struct BaseClassTrait<Herwig::ADDModelFFGRVertex,1> {
142  typedef ThePEG::Helicity::FFTVertex NthBase;
143 };
144 
149 template <>
150 struct ClassTraits<Herwig::ADDModelFFGRVertex>
151  : public ClassTraitsBase<Herwig::ADDModelFFGRVertex> {
152 
156  static string className() { return "Herwig::ADDModelFFGRVertex"; }
157 
163  static string library() { return "HwADDModel.so"; }
164 
165 };
166 
169 }
170 #endif /* HERWIG_ADDModelFFGRVertex_H */
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
This is the implementation of the Randell-Sundrum model fermion-antifermion tensor vertex for helicit...
static ClassDescription< ADDModelFFGRVertex > initADDModelFFGRVertex
Describe a concrete class with persistent data.
InvEnergy kappa_
The coupling.
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Energy r_
Mass ratio for the propagator.
-*- C++ -*-
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.