Package madgraph :: Package various :: Module diagram_symmetry
[hide private]
[frames] | no frames]

Module diagram_symmetry

source code

Module for calculation of symmetries between diagrams, by evaluating amp2 values for permutations of momenta.

Classes [hide private]
  IdentifySGConfigTag
DiagramTag daughter class to identify configs giving the same config.
Functions [hide private]
 
find_symmetry(matrix_element)
Find symmetries between amplitudes by comparing diagram tags for all the diagrams in the process.
source code
 
find_symmetry_by_evaluation(matrix_element, evaluator, max_time=600)
Find symmetries between amplitudes by comparing the squared amplitudes for all permutations of identical particles.
source code
 
find_symmetry_subproc_group(subproc_group)
Find symmetric configs by directly comparing the configurations using IdentifySGConfigTag.
source code
 
old_find_symmetry_subproc_group(subproc_group)
Find symmetries between the configs in the subprocess group.
source code
 
find_matrix_elements_for_configs(subproc_group)
For each config, find all matrix elements with maximum identical particle factor.
source code
Variables [hide private]
  logger = logging.getLogger('madgraph.various.diagram_symmetry')
  __package__ = 'madgraph.various'
Function Details [hide private]

find_symmetry(matrix_element)

source code 

Find symmetries between amplitudes by comparing diagram tags for all the diagrams in the process. Identical diagram tags correspond to different external particle permutations of the same diagram.

Return list of positive number corresponding to number of symmetric diagrams and negative numbers corresponding to the equivalent diagram (for e+e->3a, get [6, -1, -1, -1, -1, -1]), list of the corresponding permutations needed, and list of all permutations of identical particles.

find_symmetry_by_evaluation(matrix_element, evaluator, max_time=600)

source code 

Find symmetries between amplitudes by comparing the squared amplitudes for all permutations of identical particles.

Return list of positive number corresponding to number of symmetric diagrams and negative numbers corresponding to the equivalent diagram (for e+e->3a, get [6, -1, -1, -1, -1, -1]), list of the corresponding permutations needed, and list of all permutations of identical particles. max_time gives a cutoff time for finding symmetries (in s).

old_find_symmetry_subproc_group(subproc_group)

source code 

Find symmetries between the configs in the subprocess group. For each config, find all matrix elements with maximum identical particle factor. Then take minimal set of these matrix elements, and determine symmetries based on these.

find_matrix_elements_for_configs(subproc_group)

source code 

For each config, find all matrix elements with maximum identical particle factor. Then take minimal set of these matrix elements.