Package madgraph :: Package various :: Module lhe_parser
[hide private]
[frames] | no frames]

Module lhe_parser

source code

Classes [hide private]
  Particle
  EventFile
A class to allow to read both gzip and not gzip file
  EventFileGzip
A way to read/write a gzipped lhef event
  EventFileNoGzip
A way to read a standard event file
  MultiEventFile
a class to read simultaneously multiple file and read them in mixing them.
  Event
Class storing a single event information (list of particles + global information)
  WeightFile
A class to allow to read both gzip and not gzip file.
  WeightFileGzip
  WeightFileNoGzip
  FourMomentum
a convenient object for 4-momenta operation
  OneNLOWeight
  NLO_PARTIALWEIGHT
Variables [hide private]
  logger = logging.getLogger("madgraph.lhe_parser")
  start = time
  output = open('output_events.lhe', 'w')
  data = []
  lhe = EventFile('unweighted_events.lhe')
  nbins = 100
  nb_pass = 0
  gs1 = gridspec.GridSpec(2, 1, height_ratios= [5, 1])
  breit = lambda m:
  data3 = [breit(mtau+ x* wtau)* wtau* 16867622.6624* 50 for x i...
  ax_c = ax.twinx()
  ax = plt.subplot(gs1 [1])
  data4 = [n2 [i]/(data3 [i]) for i in range(nbins)]
  tick = ax.get_yticks()
  __package__ = 'madgraph.various'
Variables Details [hide private]

data3

Value:
[breit(mtau+ x* wtau)* wtau* 16867622.6624* 50 for x in bins]