ThePEG  1.8.0
VVTVertex.h
1 // -*- C++ -*-
2 //
3 // VVTVertex.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_VVTVertex_H
10 #define ThePEG_VVTVertex_H
11 //
12 // This is the declaration of the VVTVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/AbstractVVTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
17 #include "VVTVertex.fh"
18 
19 namespace ThePEG {
20 namespace Helicity {
21 
47 
48 public:
49 
53  static void Init();
54 
55 public:
56 
70  Complex evaluate(Energy2 q2,const VectorWaveFunction & vec1,
71  const VectorWaveFunction & vec2,
72  const TensorWaveFunction & ten3,
73  Energy vmass=-GeV);
74 
88  TensorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
89  const VectorWaveFunction & vec1,
90  const VectorWaveFunction & vec2,
91  Energy vmass=-GeV,
92  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
93 
106  VectorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
107  const VectorWaveFunction & vec1,
108  const TensorWaveFunction & ten3,
109  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
111 
120  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
121 
122 private:
123 
128 
132  VVTVertex & operator=(const VVTVertex &);
133 
134 };
135 
136 }
137 
144 template <>
147  typedef ThePEG::Helicity::AbstractVVTVertex NthBase;
148 };
149 
154 template <>
156  : public ClassTraitsBase<ThePEG::Helicity::VVTVertex> {
157 
161  static string className() { return "ThePEG::VVTVertex"; }
162 };
163 
166 }
167 
168 
169 #endif /* ThePEG_VVTVertex_H */
Complex evaluate(Energy2 q2, const VectorWaveFunction &vec1, const VectorWaveFunction &vec2, const TensorWaveFunction &ten3, Energy vmass=-GeV)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23
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
VVTVertex & operator=(const VVTVertex &)
Private and non-existent assignment operator.
QTY< 0, 1, 0 >::Type Energy
Energy.
Definition: Unitsystem.h:34
static AbstractNoPIOClassDescription< VVTVertex > initVVTVertex
Describe a concrete class with persistent data.
Definition: VVTVertex.h:127
static void Init()
Standard Init function used to initialize the interfaces.
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
The default concrete implementation of ClassTraitsBase.
Definition: ClassTraits.h:134
The VVTVertex class is the implementation of the vector-vector-tensor vertex.
Definition: VVTVertex.h:46
Here is the documentation of the AbstractVVTVertex class.
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Definition: ClassTraits.h:52