ThePEG  1.8.0
VVVVertex.h
1 // -*- C++ -*-
2 //
3 // VVVVertex.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_VVVVertex_H
10 #define ThePEG_VVVVertex_H
11 //
12 // This is the declaration of the VVVVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/AbstractVVVVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
16 #include "VVVVertex.fh"
17 
18 namespace ThePEG {
19 namespace Helicity{
20 
40 
41 public:
42 
46  static void Init();
47 
48 public:
49 
62  Complex evaluate(Energy2 q2, const VectorWaveFunction & vec1,
63  const VectorWaveFunction & vec2, const VectorWaveFunction & vec3);
64 
77  VectorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
78  const VectorWaveFunction & vec2,
79  const VectorWaveFunction & vec3,
80  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
82 
91  virtual void setCoupling(Energy2 q2,tcPDPtr part1,
92  tcPDPtr part2,tcPDPtr part3)=0;
93 
94 private:
95 
100 
104  VVVVertex & operator=(const VVVVertex &);
105 
106 };
107 
108 }
109 
116 template <>
119  typedef ThePEG::Helicity::AbstractVVVVertex NthBase;
120 };
121 
126 template <>
128  : public ClassTraitsBase<ThePEG::Helicity::VVVVertex> {
129 
133  static string className() { return "ThePEG::VVVVertex"; }
134 };
135 
138 }
139 
140 
141 #endif /* ThePEG_VVVVertex_H */
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
The VVVVertex class is the base class for triple vector vertices using the perturbative form...
Definition: VVVVertex.h:39
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
The AbstractVVVVertex class provides the base class for all vector-vector-vector interactions in TheP...
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
static void Init()
Standard Init function used to initialize the interfaces.
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
static AbstractNoPIOClassDescription< VVVVertex > initVVVVertex
Describe an abstract base class with no persistent data.
Definition: VVVVertex.h:99
The default concrete implementation of ClassTraitsBase.
Definition: ClassTraits.h:134
Complex evaluate(Energy2 q2, const VectorWaveFunction &vec1, const VectorWaveFunction &vec2, const VectorWaveFunction &vec3)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
VVVVertex & operator=(const VVVVertex &)
Private and non-existent assignment operator.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Definition: ClassTraits.h:52