a class to read simultaneously multiple file and read them in mixing
them. Unweighting can be done at the same time. The number of events in
each file need to be provide in advance (if not provide the file is first
read to find that number
|
__init__(self,
start_list=[ ] ,
parse=True)
if trunc_error is define here then this allow to only read all the
files twice and not three times. |
source code
|
|
|
|
|
add(self,
path,
cross,
error,
across,
nb_event=0,
scale=1)
add a file to the pool, across allow to reweight the sum of weight in
the file to the given cross-section |
source code
|
|
|
|
|
|
|
define_init_banner(self,
wgt,
lha_strategy,
proc_charac=None)
define the part of the init_banner |
source code
|
|
|
|
|
|
|
|
|
|
|
unweight(self,
outputpath,
get_wgt,
**opts)
unweight the current file according to wgt information wgt. |
source code
|
|
|
write(self,
path,
random=False,
banner=None,
get_info=False) |
source code
|
|
|
|
Inherited from EventFile :
apply_fct_on_event ,
create_syscalc_data ,
get_alphas ,
get_banner ,
split ,
update_HwU ,
write_events
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|