Package madgraph :: Package fks :: Module fks_base :: Class FKSProcess
[hide private]
[frames] | no frames]

Class FKSProcess

source code

object --+
         |
        FKSProcess

The class for a FKS process. Starts from the born process and finds all the possible splittings.

Instance Methods [hide private]
 
get_colors(self)
return the list of color representations for each leg in born_amp
source code
 
get_charges(self)
return the list of charges for each leg in born_amp
source code
 
get_nlegs(self)
return the number of born legs
source code
 
get_born_nice_string(self)
Return the nice string for the born process.
source code
 
get_pdg_codes(self)
return the list of the pdg codes of each leg in born_amp
source code
 
get_leglist(self)
return the leg list for the born amp
source code
 
__init__(self, start_proc=None, remove_reals=True, ncores_for_proc_gen=0, init_lep_split=False)
initialization: starts either from an amplitude or a process, then init the needed variables.
source code
 
generate_real_amplitudes(self, pdg_list, real_amp_list)
generates the real amplitudes for all the real emission processes, using pdgs and real_amps to avoid multiple generation of the same amplitude.
source code
 
combine_real_amplitudes(self)
combines real emission processes if the pdgs are the same, combining the lists of fks_infos
source code
 
generate_reals(self, pdg_list, real_amp_list, combine=True)
For all the possible splittings, creates an FKSRealProcess.
source code
 
link_born_reals(self)
create the rb_links in the real matrix element to find which configuration in the real correspond to which in the born
source code
 
find_reals(self, pert_orders=[])
finds the FKS real configurations for a given process.
source code
 
find_reals_to_integrate(self)
Finds double countings in the real emission configurations, sets the is_to_integrate variable and if "self.remove_reals" is True removes the not needed ones from the born list.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, start_proc=None, remove_reals=True, ncores_for_proc_gen=0, init_lep_split=False)
(Constructor)

source code 
initialization: starts either from an amplitude or a process,
then init the needed variables.
remove_borns tells if the borns not needed for integration will be removed
from the born list (mainly used for testing)
ncores_for_proc_gen has the following meaning
   0 : do things the old way
   > 0 use ncores_for_proc_gen
   -1 : use all cores

Overrides: object.__init__

generate_real_amplitudes(self, pdg_list, real_amp_list)

source code 

generates the real amplitudes for all the real emission processes, using pdgs and real_amps to avoid multiple generation of the same amplitude. Amplitude without diagrams are discarded at this stage

generate_reals(self, pdg_list, real_amp_list, combine=True)

source code 

For all the possible splittings, creates an FKSRealProcess. It removes double counted configorations from the ones to integrates and sets the one which includes the bosn (is_nbody_only). if combine is true, FKS_real_processes having the same pdgs (i.e. real amplitude) are combined together

find_reals(self, pert_orders=[])

source code 

finds the FKS real configurations for a given process. self.reals[i] is a list of dictionaries corresponding to the real emissions obtained splitting leg i. The dictionaries contain the leglist, the type (order) of the splitting and extra born particles which can give the same splitting (e.g. gluon/photon -> qqbar). If pert orders is empty, all the orders of the model will be used