Trees | Indices | Help |
---|
|
object --+ | dict --+ | core.base_objects.PhysicsObject --+ | HelasCallWriter --+ | UFOHelasCallWriter --+ | CPPUFOHelasCallWriter
The class for writing Helas calls in C++, starting from HelasWavefunctions and HelasAmplitudes.
Includes the function generate_helas_call, which automatically generates the C++ Helas call based on the Lorentz structure of the interaction.
|
|||
Inherited from |
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Routine for automatic generation of C++ Helas calls according to just the spin structure of the interaction. First the call string is generated, using a dictionary to go from the spin state of the calling wavefunction and its mothers, or the mothers of the amplitude, to difenrentiate wich call is done. Then the call function is generated, as a lambda which fills the call string with the information of the calling wavefunction or amplitude. The call has different structure, depending on the spin of the wavefunction and the number of mothers (multiplicity of the vertex). The mother wavefunctions, when entering the call, must be sorted in the correct way - this is done by the sorted_mothers routine. Finally the call function is stored in the relevant dictionary, in order to be able to reuse the function the next time a wavefunction with the same Lorentz structure is needed. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 08:02:12 2012 | http://epydoc.sourceforge.net |