ThePEG  1.8.0
SSTVertex.h
1 // -*- C++ -*-
2 //
3 // SSTVertex.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_SSTVertex_H
10 #define ThePEG_SSTVertex_H
11 //
12 // This is the declaration of the SSTVertex class.
13 //
14 #include "ThePEG/Helicity/Vertex/AbstractSSTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
17 #include "SSTVertex.fh"
18 
19 namespace ThePEG {
20 namespace Helicity {
21 
42 
43 public:
44 
48  static void Init();
49 
50 public:
51 
64  Complex evaluate(Energy2 q2, const ScalarWaveFunction & sca1,
65  const ScalarWaveFunction & sca2, const TensorWaveFunction & ten3);
66 
79  ScalarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
80  const ScalarWaveFunction & sca1,
81  const TensorWaveFunction & ten3,
82  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
83 
96  TensorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
97  const ScalarWaveFunction & sca1,
98  const ScalarWaveFunction & sca2,
99  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
101 
110  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
111 
112 private:
113 
118 
122  SSTVertex & operator=(const SSTVertex &);
123 
124 };
125 
126 }
127 
134 template <>
138 };
139 
144 template <>
145 struct ClassTraits<ThePEG::Helicity::SSTVertex>
146  : public ClassTraitsBase<ThePEG::Helicity::SSTVertex> {
147 
151  static string className() { return "ThePEG::SSTVertex"; }
152 };
153 
156 }
157 
158 
159 #endif /* ThePEG_SSTVertex_H */
Complex evaluate(Energy2 q2, const ScalarWaveFunction &sca1, const ScalarWaveFunction &sca2, const TensorWaveFunction &ten3)
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
SSTVertex & operator=(const SSTVertex &)
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
The AbstractSSTVertex class is the base class for scalar-scalar-tensor interactions in ThePEG...
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
The VVTVertexclass is the implementation of the scalar-scalar-tensor vertex.
Definition: SSTVertex.h:41
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
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
static AbstractNoPIOClassDescription< SSTVertex > initSSTVertex
Describe an abstract class with persistent data.
Definition: SSTVertex.h:117
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
static void Init()
Standard Init function used to initialize the interfaces.