Class storing a single event information (list of particles + global
information)
|
new empty list
|
__init__(self,
text=None)
The initialization of an empty Event (or one associate to a text
file) |
source code
|
|
|
|
parse(self,
text)
Take the input file and create the structured information |
source code
|
|
|
|
|
|
|
rescale_weights(self,
ratio)
change all the weights by a given ratio |
source code
|
|
|
|
|
|
|
|
|
|
parse_nlo_weight(self,
real_type=(1, 11),
threshold=None) |
source code
|
|
|
|
rewrite_nlo_weight(self,
wgt=None)
get the string associate to the weight |
source code
|
|
|
|
|
|
|
parse_matching_scale(self)
Parse the line containing the starting scale for the shower |
source code
|
|
|
|
|
|
|
add_decay_to_particle(self,
position,
decay_event)
define the decay of the particle id by the event pass in argument |
source code
|
|
|
|
add_decays(self,
pdg_to_decay)
use auto-recursion |
source code
|
|
|
|
| remove_decay(self,
pdg_code=0,
event_id=None) |
source code
|
|
|
|
|
|
|
check(self)
check various property of the events |
source code
|
|
|
|
assign_scale_line(self,
line)
read the line corresponding to global event line format of the line
is: Nexternal IEVENT WEIGHT SCALE AEW AS |
source code
|
|
|
|
|
|
|
|
|
|
change_sqrts(self,
new_sqrts)
routine to rescale the momenta to change the invariant mass |
source code
|
|
|
|
get_helicity(self,
get_order,
allow_reversed=True)
return a list with the helicities in the order asked for |
source code
|
|
|
|
check_color_structure(self)
check the validity of the color structure |
source code
|
|
|
|
__eq__(self,
other)
two event are the same if they have the same momentum. |
source code
|
|
|
|
|
|
|
get_momenta(self,
get_order,
allow_reversed=True)
return the momenta vector in the order asked for |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_momenta_str(self,
get_order,
allow_reversed=True)
return the momenta str in the order asked for |
source code
|
|
|
Inherited from list:
__add__,
__contains__,
__delitem__,
__delslice__,
__ge__,
__getattribute__,
__getitem__,
__getslice__,
__gt__,
__iadd__,
__imul__,
__iter__,
__le__,
__len__,
__lt__,
__mul__,
__ne__,
__new__,
__repr__,
__reversed__,
__rmul__,
__setitem__,
__setslice__,
__sizeof__,
append,
count,
extend,
index,
insert,
pop,
remove,
reverse,
sort
Inherited from object:
__delattr__,
__format__,
__reduce__,
__reduce_ex__,
__setattr__,
__subclasshook__
|