示例#1
0
 def from_lhe(cls, args):
     from loaders.leshouchesevent import load_event
     vertices, particles, units = load_event(args)
     return cls(vertices, particles, units)
示例#2
0
 def from_pythia_log(cls, args):
     from .loaders.pythialog import load_event
     vertices, particles, units = load_event(args)
     return cls(vertices, particles, units)
示例#3
0
 def from_hepmc(cls, args):
     from .loaders.hepmc import load_event
     vertices, particles, units, pdfinfo = load_event(args)
     return cls(vertices, particles, units, pdfinfo)
示例#4
0
文件: graph.py 项目: pwaller/mcviz
    def from_lhe(cls, args):
        from loaders.leshouchesevent import load_event
	vertices, particles, units = load_event(args)
	return cls(vertices, particles, units)
示例#5
0
文件: graph.py 项目: pwaller/mcviz
 def from_pythia_log(cls, args):
     from .loaders.pythialog import load_event
     vertices, particles, units = load_event(args)
     return cls(vertices, particles, units)
示例#6
0
文件: graph.py 项目: pwaller/mcviz
 def from_hepmc(cls, args):
     from .loaders.hepmc import load_event
     vertices, particles, units = load_event(args)
     return cls(vertices, particles, units)