HelasWavefunction object, has the information necessary for writing a
call to a HELAS wavefunction routine: the PDG number, all relevant
particle information, a list of mother wavefunctions, interaction id, all
relevant interaction information, fermion flow state, wavefunction
number
|
|
new empty dictionary
|
|
|
|
D[k] if k in D, else d
|
get(self,
name)
When calling any property related to the particle, automatically call
the corresponding property of the particle. |
source code
|
|
|
set(self,
*arguments)
When setting interaction_id, if model is given (in tuple), set all
other interaction properties. |
source code
|
|
|
|
|
flip_part_antipart(self)
Flip between particle and antiparticle. |
source code
|
|
|
|
|
|
|
|
|
to_array(self)
Generate an array with the information needed to uniquely determine
if a wavefunction has been used before: interaction id and mother
wavefunction numbers. |
source code
|
|
|
get_pdg_code(self)
Generate the corresponding pdg_code for an outgoing particle, taking
into account fermion flow, for mother wavefunctions |
source code
|
|
|
get_anti_pdg_code(self)
Generate the corresponding pdg_code for an incoming particle, taking
into account fermion flow, for mother wavefunctions |
source code
|
|
|
set_scalar_coupling_sign(self,
model)
Check if we need to add a minus sign due to non-identical bosons in
HVS type couplings |
source code
|
|
|
set_octet_majorana_coupling_sign(self)
For octet Majorana fermions, need an extra minus sign in the FVI (and
FSI?) wavefunction in UFO models. |
source code
|
|
|
set_state_and_particle(self,
model)
Set incoming/outgoing state according to mother states and Lorentz
structure of the interaction, and set PDG code according to the
particles in the interaction |
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
|
|
|
check_majorana_and_flip_flow(self,
found_majorana,
wavefunctions,
diagram_wavefunctions,
external_wavefunctions,
wf_number,
force_flip_flow=False,
number_to_wavefunctions=[ ] )
Recursive function. |
source code
|
|
|
get_fermion_order(self)
Recursive function to get a list of fermion numbers corresponding to
the order of fermions along fermion lines connected to this
wavefunction, in the form [n1,n2,...] for a boson, and
[N,[n1,n2,...]] for a fermion line |
source code
|
|
|
needs_hermitian_conjugate(self)
Returns true if any of the mothers have negative fermionflow |
source code
|
|
|
get_with_flow(self,
name)
Generate the is_part and state needed for writing out wavefunctions,
taking into account the fermion flow |
source code
|
|
|
get_spin_state_number(self)
Returns the number corresponding to the spin state, with a minus sign
for incoming fermions |
source code
|
|
|
find_mother_fermion(self)
Return the fermion mother which is fermion flow connected to this
fermion |
source code
|
|
|
find_outgoing_number(self)
Return the position of the resulting particles in the interactions |
source code
|
|
|
get_call_key(self)
Generate the (spin, number, C-state) tuple used as key for the helas
call dictionaries in HelasModel |
source code
|
|
|
get_base_vertices(self,
wf_dict,
vx_list=[ ] ,
optimization=1)
Recursive method to get a base_objects.VertexList corresponding to
this wavefunction and its mothers. |
source code
|
|
|
get_base_vertex(self,
wf_dict,
vx_list=[ ] ,
optimization=1)
Get a base_objects.Vertex corresponding to this wavefunction. |
source code
|
|
|
get_color_indices(self)
Recursive method to get the color indices corresponding to this
wavefunction and its mothers. |
source code
|
|
|
get_s_and_t_channels(self,
ninitial,
mother_leg)
Returns two lists of vertices corresponding to the s- and t-channels
that can be traced from this wavefunction, ordered from the outermost
s-channel and in/down towards the highest number initial state leg. |
source code
|
|
|
get_conjugate_index(self)
Return the index of the particle that should be conjugated. |
source code
|
|
|
get_vertex_leg_numbers(self)
Get a list of the number of legs in vertices in this diagram |
source code
|
|
|
__eq__(self,
other)
Overloading the equality operator, to make comparison easy when
checking if wavefunction is already written, or when checking 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__ ,
__str__ ,
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
Inherited from object :
__delattr__ ,
__format__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__subclasshook__
|