|
__init__(self,
path,
mode=' r ' ,
*args,
**opt)
open file and read the banner [if in read mode] |
source code
|
|
|
|
|
|
|
|
|
|
|
write_events(self,
event)
write a single events or a list of event if self.eventgroup is ON,
then add <eventgroup> around the lists of events |
source code
|
|
|
unweight(self,
outputpath,
get_wgt=None,
max_wgt=0,
trunc_error=0,
event_target=0,
log_level=20,
normalization=' average ' )
unweight the current file according to wgt information wgt. |
source code
|
|
|
apply_fct_on_event(self,
*fcts,
**opts)
apply one or more fct on all event. |
source code
|
|
|
split(self,
nb_event=0,
partition=None,
cwd=' . ' ,
zip=False)
split the file in multiple file. |
source code
|
|
|
update_HwU(self,
hwu,
fct,
name=' lhe ' ,
keep_wgt=False,
maxevents=9223372036854775807)
take a HwU and add this event file for the function fct |
source code
|
|
|
create_syscalc_data(self,
out_path,
pythia_input=None)
take the lhe file and add the matchscale from the pythia_input file |
source code
|
|
|
get_alphas(self,
scale,
lhapdf_config=' lhapdf-config ' )
return the alphas value associated to a given scale |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|