ThePEG  1.8.0
VSSVertex.h
1 // -*- C++ -*-
2 //
3 // VSSVertex.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_VSSVertex_H
10 #define ThePEG_VSSVertex_H
11 //
12 // This is the declaration of the VSSVertex class.
13 //
14 #include "ThePEG/Helicity/Vertex/AbstractVSSVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
17 #include "VSSVertex.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 ScalarWaveFunction & sca2, const ScalarWaveFunction & sca3);
61 
74  VectorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
75  const ScalarWaveFunction & sca2,
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 ScalarWaveFunction & sca2,
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  VSSVertex & operator=(const VSSVertex &);
118 
119 };
120 
121 }
122 
129 template <>
133 };
134 
139 template <>
140 struct ClassTraits<ThePEG::Helicity::VSSVertex>
141  : public ClassTraitsBase<ThePEG::Helicity::VSSVertex> {
142 
146  static string className() { return "ThePEG::VSSVertex"; }
147 };
148 
151 }
152 
153 #endif /* ThePEG_VSSVertex_H */
The AbstractVSSVertex class is the base class for vector-scalar-scalar interactions in ThePEG...
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23
The VSSVertex class is the implementation of the vector-scalar-scalar vertex.
Definition: VSSVertex.h:36
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...
static AbstractNoPIOClassDescription< VSSVertex > initVSSVertex
Describe an abstract class with persistent data.
Definition: VSSVertex.h:112
Complex evaluate(Energy2 q2, const VectorWaveFunction &vec1, const ScalarWaveFunction &sca2, const ScalarWaveFunction &sca3)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
static void Init()
Standard Init function used to initialize the interfaces.
VSSVertex & operator=(const VSSVertex &)
Private and non-existent assignment operator.
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