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

Class Lhco_filter

source code

Known Subclasses:

Nested Classes [hide private]
  Lepton_Without_Charge_Error
Instance Methods [hide private]
 
__init__(self, directory, lhco_file='', MWparam='', auto=1, write_mode=1)
input is either a file containing particule number info or a SubProcesses directory
source code
 
find_particle_number(self) source code
 
load_particle_number(self, directory)
extract the number of particule from the iconfigs
source code
 
extract_file_info(self, dir='') source code
 
define_particle_number(self, particle, number) source code
 
verif_event(self, file='', part_def='', output=0)
use the cuts to select event in file...
source code
 
check_valid(self, nb_part)
check if we have the correct number of input for each type of particle
source code
 
write(self, list_part)
write the output file
source code
Class Variables [hide private]
  write_order = ['begin', 'jet', 'bjet', 'electron', 'positron',...
Method Details [hide private]

verif_event(self, file='', part_def='', output=0)

source code 
use the cuts to select event in file
output defines what returns the routine
     0: write the file + returns how many events pass
     1: returns the list of events passing cuts


Class Variable Details [hide private]

write_order

Value:
['begin',
 'jet',
 'bjet',
 'electron',
 'positron',
 'muon',
 'amuon',
 'tau',
...