Package madgraph :: Package madweight :: Module verif_event :: Class lhco_all_particles_def :: Class lhco_id
[hide private]
[frames] | no frames]

Class lhco_id

source code

a class containing the LHCO definition-restriction of on each lhco particles this defines rules to know of wich type a particle is

Nested Classes [hide private]
  bound_limit
set a minimum and a maximum value for a parameter
Instance Methods [hide private]
 
__init__(self, name, type, pid)
initialize the object.
source code
 
init_default(self)
put the zero cut on the particle
source code
 
restrict(self, tag, min_val, max_val)
add a restriction on a parameter
source code
 
check(self, particle)
check if a particle is of this type or not
source code
Class Variables [hide private]
  eta_max = 100.0
  pt_max = 1000000.0
  ntrk_max = 1000.0
Method Details [hide private]

__init__(self, name, type, pid)
(Constructor)

source code 

initialize the object. name is the name of the particle described type is the type value in the lhco file