HelasAmplitude object, has the information necessary for writing a
call to a HELAS amplitude routine:a list of mother wavefunctions,
interaction id, amplitude number
|
|
new empty dictionary
|
|
|
|
|
|
|
|
|
nice_string(self)
simple way to check which FD is related to this amplitude |
source code
|
|
D[k] if k in D, else d
|
|
|
set(self,
*arguments)
When setting interaction_id, if model is given (in tuple), set all
other interaction properties. |
source code
|
|
|
|
|
check_and_fix_fermion_flow(self,
wavefunctions,
diagram_wavefunctions,
external_wavefunctions,
wf_number)
Check for clashing fermion flow (N(incoming) != N(outgoing)) in
mothers. |
source code
|
|
|
needs_hermitian_conjugate(self)
Returns true if any of the mothers have negative fermionflow |
source code
|
|
|
get_epsilon_order(self)
Based on the type of the amplitude, determines to which epsilon order
it contributes |
source code
|
|
|
get_call_key(self)
Generate the (spin, state) tuples used as key for the helas call
dictionaries in HelasModel |
source code
|
|
|
calculate_fermionfactor(self)
Calculate the fermion factor for the diagram corresponding to this
amplitude |
source code
|
|
|
get_aloha_info(self,
optimized_output=True)
Returns the tuple (lorentz_name, tag, outgoing_number) providing the
necessary information to compute_subset of create_aloha to write out
the HELAS-like routines. |
source code
|
|
|
get_base_diagram(self,
wf_dict,
vx_list=[ ] ,
optimization=1)
Return the base_objects.Diagram which corresponds to this amplitude,
using a recursive method for the wavefunctions. |
source code
|
|
|
get_base_vertex(self,
wf_dict,
vx_list=[ ] ,
optimization=1)
Get a base_objects.Vertex corresponding to this amplitude. |
source code
|
|
|
get_s_and_t_channels(self,
ninitial,
model,
new_pdg,
reverse_t_ch=False)
Returns two lists of vertices corresponding to the s- and t-channels
of this amplitude/diagram, ordered from the outermost s-channel and
in/down towards the highest number initial state leg. |
source code
|
|
|
get_color_indices(self)
Get the color indices corresponding to this amplitude and its
mothers, using a recursive function. |
source code
|
|
|
|
|
get_conjugate_index(self)
Return the index of the particle that should be conjugated. |
source code
|
|
|
get_vertex_leg_numbers(self,
veto_inter_id=[ 0, -1, -2] ,
max_n_loop=0)
Get a list of the number of legs in vertices in this diagram, This
function is only used for establishing the multi-channeling, so that
we exclude from it all the fake vertices and the vertices resulting
from shrunk loops (id=-2) |
source code
|
|
|
get_helas_call_dict(self,
index=1,
OptimizedOutput=False,
specifyHel=True,
**opt)
return a dictionary to be used for formatting HELAS call. |
source code
|
|
|
|
|
__eq__(self,
other)
Comparison between different amplitudes, to allow check for identical
processes. |
source code
|
|
|
__ne__(self,
other)
Overloading the nonequality operator, to make comparison easy |
source code
|
|
Inherited from base_objects.PhysicsObject :
__getitem__ ,
__repr__ ,
is_valid_prop
Inherited from dict :
__cmp__ ,
__contains__ ,
__delitem__ ,
__ge__ ,
__getattribute__ ,
__gt__ ,
__iter__ ,
__le__ ,
__len__ ,
__lt__ ,
__new__ ,
__setitem__ ,
__sizeof__ ,
clear ,
copy ,
fromkeys ,
has_key ,
items ,
iteritems ,
iterkeys ,
itervalues ,
keys ,
pop ,
popitem ,
setdefault ,
update ,
values ,
viewitems ,
viewkeys ,
viewvalues
Inherited from object :
__delattr__ ,
__format__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__subclasshook__
|