ThePEG  1.8.0
VVVTVertex.h
1 // -*- C++ -*-
2 //
3 // VVVTVertex.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 2003-2011 Peter Richardson, Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_VVVTVertex_H
10 #define ThePEG_VVVTVertex_H
11 //
12 // This is the declaration of the VVVTVertex class.
13 //
14 #include "ThePEG/Helicity/Vertex/AbstractVVVTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
17 #include "VVVTVertex.fh"
18 
19 namespace ThePEG {
20 namespace Helicity {
21 
52 
53 public:
54 
58  static void Init();
59 
60 public:
61 
75  Complex evaluate(Energy2 q2,const VectorWaveFunction & vec1,
76  const VectorWaveFunction & vec2,
77  const VectorWaveFunction & vec3, const TensorWaveFunction & ten4);
78 
92  TensorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
93  const VectorWaveFunction & vec1,
94  const VectorWaveFunction & vec2,
95  const VectorWaveFunction & vec3,
96  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
97 
111  VectorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
112  const VectorWaveFunction & vec1,
113  const VectorWaveFunction & vec2,
114  const TensorWaveFunction & ten4,
115  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
117 
127  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,
128  tcPDPtr part3, tcPDPtr part4)=0;
129 
130 private:
131 
136 
140  VVVTVertex & operator=(const VVVTVertex &);
141 
142 };
143 
144 }
145 
152 template <>
156 };
157 
162 template <>
163 struct ClassTraits<ThePEG::Helicity::VVVTVertex>
164  : public ClassTraitsBase<ThePEG::Helicity::VVVTVertex> {
165 
169  static string className() { return "ThePEG::VVVTVertex"; }
170 };
171 
174 }
175 
176 #endif /* ThePEG_VVVTVertex_H */
The VVTVertex class is the implementation of the vector-vector-vector-tensor vertex.
Definition: VVVTVertex.h:51
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23
VVVTVertex & operator=(const VVVTVertex &)
Private and non-existent assignment operator.
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition: RCPtr.h:681
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
The AbstractVVVTVertex class is the base class for all vector-vector-vector-tensor interactions in Th...
static void Init()
Standard Init function used to initialize the interfaces.
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
Complex evaluate(Energy2 q2, const VectorWaveFunction &vec1, const VectorWaveFunction &vec2, const VectorWaveFunction &vec3, const TensorWaveFunction &ten4)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3, tcPDPtr part4)=0
Calculate the couplings.
static AbstractNoPIOClassDescription< VVVTVertex > initVVVTVertex
Describe an abstract base class with persistent data.
Definition: VVVTVertex.h:135
static string className()
Return the name of class T.
Definition: ClassTraits.h:66
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition: ClassTraits.h:161
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156