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 <>
130 struct BaseClassTrait<ThePEG::Helicity::VSSVertex,1> {
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 */