ThePEG  1.8.0
VVSVertex.h
1 // -*- C++ -*-
2 //
3 // VVSVertex.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_VVSVertex_H
10 #define ThePEG_VVSVertex_H
11 //
12 // This is the declaration of the VVSVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/AbstractVVSVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
17 #include "VVSVertex.fh"
18 
19 namespace ThePEG {
20 namespace Helicity {
21 
37 
38 public:
39 
43  static void Init();
44 
45 public:
46 
59  Complex evaluate(Energy2 q2,const VectorWaveFunction & vec1,
60  const VectorWaveFunction & vec2, const ScalarWaveFunction & sca3);
61 
74  VectorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
75  const VectorWaveFunction & vec2,
76  const ScalarWaveFunction & sca3,
77  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
78 
91  ScalarWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
92  const VectorWaveFunction & vec1,
93  const VectorWaveFunction & vec2,
94  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
96 
105  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
106 
107 private:
108 
113 
117  VVSVertex & operator=(const VVSVertex &);
118 
119 };
120 
121 }
122 
129 template <>
133 };
134 
139 template <>
140 struct ClassTraits<ThePEG::Helicity::VVSVertex>
141  : public ClassTraitsBase<ThePEG::Helicity::VVSVertex> {
142 
146  static string className() { return "ThePEG::VVSVertex"; }
147 };
148 
151 }
152 
153 
154 #endif /* ThePEG_VVSVertex_H */
static void Init()
Standard Init function used to initialize the interfaces.
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
Complex evaluate(Energy2 q2, const VectorWaveFunction &vec1, const VectorWaveFunction &vec2, const ScalarWaveFunction &sca3)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
VVSVertex & operator=(const VVSVertex &)
Private and non-existent assignment operator.
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
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
The VVSVertex class is the implementation of the vector-vector-scalar.
Definition: VVSVertex.h:36
static AbstractNoPIOClassDescription< VVSVertex > initVVSVertex
Describe an abstract base class with persistent data.
Definition: VVSVertex.h:112
Here is the documentation of the AbstractVVSVertex class.
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