ThePEG
1.8.0
|
This is the implementation of the four vector vertex. More...
#include <VVVVVertex.h>
Public Member Functions | |
virtual void | setCoupling (Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3, tcPDPtr part4)=0 |
Calculate the couplings. | |
Complex | evaluate (Energy2 q2, int iopt, const VectorWaveFunction &vec1, const VectorWaveFunction &vec2, const VectorWaveFunction &vec3, const VectorWaveFunction &vec4) |
Members to calculate the helicity amplitude expressions for vertices and off-shell particles. | |
![]() | |
AbstractVVVVVertex () | |
Default constructor. | |
![]() | |
VertexBase (VertexType::T name, bool kine=false) | |
Constructor for ![]() | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
unsigned int | size () const |
Access to the particle information. | |
bool | isIncoming (tPDPtr p) const |
Is a particle allowed as an incoming particle? | |
bool | isOutgoing (tPDPtr p) const |
Is a particle allowed as an outgoing particle? | |
const set< tPDPtr > & | incoming () const |
Get the list of incoming particles. | |
const set< tPDPtr > & | outgoing () const |
Get the list of outgoing particles. | |
Complex | norm () const |
Get the coupling. | |
vector< long > | search (unsigned int ilist, long id) const |
Function to search the list. | |
vector< tPDPtr > | search (unsigned int ilist, tcPDPtr id) const |
Function to search the list. | |
bool | allowed (long id1, long id2, long id3, long id4=0) const |
Is a given combination allowed. | |
VertexType::T | getName () const |
Get name of Vertex. | |
unsigned int | getNpoint () const |
Get number of lines on Vertex. | |
unsigned int | orderInGem () const |
Get the order in ![]() | |
unsigned int | orderInGs () const |
Get the order in ![]() | |
double | strongCoupling (Energy2 q2) const |
Strong coupling. | |
double | electroMagneticCoupling (Energy2 q2) const |
Electromagnetic coupling. | |
double | weakCoupling (Energy2 q2) const |
Weak coupling. | |
double | sin2ThetaW () const |
bool | kinematics () const |
Whether or not to calculate the kinematics invariants. | |
void | kinematics (bool kine) |
Set whether or not to calculate the kinematics invariants. | |
void | calculateKinematics (const Lorentz5Momentum &p0, const Lorentz5Momentum &p1, const Lorentz5Momentum &p2) |
Calculate the kinematics for a 3-point vertex. | |
void | calculateKinematics (const Lorentz5Momentum &p0, const Lorentz5Momentum &p1, const Lorentz5Momentum &p2, const Lorentz5Momentum &p3) |
Calculate the kinematics for a 4-point vertex. | |
void | calculateKinematics (const vector< Lorentz5Momentum > &p) |
Calculate the kinematics for a n-point vertex. | |
Energy2 | invariant (unsigned int ix, unsigned int iy) const |
Get one of the kinematic invariants. | |
![]() | |
virtual | ~Interfaced () |
Empty virtual destructor. | |
virtual bool | defaultInit () |
Functions which are to be used during the actual event generation, after the setup is complete. | |
PPtr | getParticle (PID) const |
Create a new Particle instance given a id number. | |
PDPtr | getParticleData (PID) const |
Return a pointer to the ParticleData object corresponding to the given id number. | |
bool | used () const |
Returns true if this object has actally been used. | |
void | useMe () const |
Should be called to indicate that this object has actually been used. | |
tEGPtr | generator () const |
Return a pointer to the EventGenerator controlling the run. | |
![]() | |
virtual | ~InterfacedBase () |
The virtual (empty) destructor;. | |
string | fullName () const |
Returns the full name of this object including its path, e.g. | |
string | name () const |
Returns the name of this object, without the path. | |
string | path () const |
Returns the path to this object including the trailing '/'. | |
string | comment () const |
Returns a comment assigned to this object. | |
void | setup (istream &is) |
Read setup info from a standard istream is. | |
virtual IBPtr | fullclone () const |
Return a full clone of this object possibly doing things to the clone to make it sane. | |
virtual void | debugme () const |
Print out debugging information for this object on std::cerr. | |
void | update () |
Calls the doupdate() function with recursion prevention. | |
void | init () |
Calls the doinit() function with recursion prevention. | |
virtual bool | preInitialize () const |
Return true if this object needs to be initialized before all other objects (except those for which this function also returns true). | |
void | initrun () |
Calls the doinitrun() function with recursion prevention. | |
void | finish () |
Calls the dofinish() function with recursion prevention. | |
void | touch () |
This function should be called every time something in this object has changed in a way that a sanity check with update() is needed. | |
void | reset () |
Set the state of this object to uninitialized. | |
void | clear () |
Calls reset() and unTouch(). | |
InitState | state () const |
Return the state of initialization of this object. | |
bool | locked () const |
Return true if the BaseRepository is not allowed to change the state of this object. | |
bool | touched () const |
Return true if the state of this object has been changed since the last call to update(). | |
![]() | |
virtual | ~Base () |
The virtual destructor. | |
void | debug () const |
Print out debugging information for this object on std::cerr. | |
![]() | |
CounterType | referenceCount () const |
Return the reference count. | |
![]() | |
Named (const string &newName=string()) | |
Constructor with name. | |
bool | operator== (const Named &other) const |
Test for equality. | |
bool | operator< (const Named &other) const |
Lexicographical comparison. |
Static Public Member Functions | |
static void | Init () |
Standard Init function used to initialize the interfaces. |
Protected Member Functions | |
void | setOrder (int id1, int id2, int id3, int id4) |
Set the order of the particles. | |
void | setType (int itype) |
Set the type of the vertex. | |
void | setIntermediate (tcPDPtr part1, tcPDPtr part2, Complex c1, Complex c2) |
Set the intermediate particles if including s/u/t channel terms. |
Private Member Functions | |
VVVVVertex & | operator= (const VVVVVertex &) |
Private and non-existent assignment operator. |
Private Attributes | |
int | _itype |
Type of vertex 1=QCD 2=EW. | |
int | _iorder [4] |
Order of the particles. | |
tcPDPtr | _inter [2] |
Intermediate particles. | |
Complex | _coup [2] |
Couplings of the intermediate particles. |
Static Private Attributes | |
static AbstractNoPIOClassDescription < VVVVVertex > | initVVVVVertex |
Describe an abstract base class with persistent data. |
This is the implementation of the four vector vertex.
It is based on the AbstractVVVVVertex class for the storage of particles which are allowed to interact at the vertex. Classes implementation a specific vertex should inherit from this one and implement the virtual setCoupling member.
The form of the vertex is
optional the additional diagrams from the three point vertices can be included.
Definition at line 39 of file VVVVVertex.h.
|
virtual |
Members to calculate the helicity amplitude expressions for vertices and off-shell particles.
Evaluate the vertex.
q2 | The scale ![]() |
iopt | Evaluation option, 0 just evaluate the four point vertex, 1 include all the three point diagrams as well. |
vec1 | The wavefunction for the first vector. |
vec2 | The wavefunction for the second vector. |
vec3 | The wavefunction for the third vector. |
vec4 | The wavefunction for the fourth vector. |
Implements ThePEG::Helicity::AbstractVVVVVertex.
|
pure virtual |
Calculate the couplings.
This method is virtual and must be implemented in classes inheriting from this.
q2 | The scale ![]() |
part1 | The ParticleData pointer for the first particle. |
part2 | The ParticleData pointer for the second particle. |
part3 | The ParticleData pointer for the third particle. |
part4 | The ParticleData pointer for the fourth particle. |
|
inlineprotected |
Set the intermediate particles if including s/u/t channel terms.
part1 | The ParticleData pointer for the first particle. |
part2 | The ParticleData pointer for the second particle. |
c1 | The coupling for the first particle. |
c2 | The coupling for the second particle. |
Definition at line 113 of file VVVVVertex.h.
|
inlineprotected |
Set the order of the particles.
id1 | The PDG code of the first particle. |
id2 | The PDG code of the second particle. |
id3 | The PDG code of the third particle. |
id4 | The PDG code of the fourth particle. |
Definition at line 91 of file VVVVVertex.h.
References _iorder.
|
inlineprotected |
Set the type of the vertex.
itype | The type of vertex (QCD=1 or electroweak=2). |
Definition at line 102 of file VVVVVertex.h.
References _itype.