Namespaces | Functions | Variables
MakeVectorFile.py File Reference

Go to the source code of this file.

Namespaces

 MakeVectorFile
 

Functions

def MakeVectorFile.MakeEvent (outfile, status=1, pdg=int(options.pdg), mother1=0, mother2=0, daughter1=0, daughter2=0, momentum=float(options.momentum), direction=(0.0, 0.0, 1.0), position=(50., 0.0, 0.0), time=float(options.time))
 Function which creates events. More...
 

Variables

string MakeVectorFile.usage = "usage: %prog [options] <trigger file>"
 
 MakeVectorFile.parser = OptionParser(usage=usage)
 
 MakeVectorFile.default
 
 MakeVectorFile.help
 
 MakeVectorFile.metavar
 
 MakeVectorFile.options
 
 MakeVectorFile.args
 
dictionary MakeVectorFile.massref = { 11:0.000511, 13:0.105 }
 Particle Masses. More...
 
 MakeVectorFile.vecfile = open(options.direction+"scan.vec","w")
 
 MakeVectorFile.N = int(options.number)
 
 MakeVectorFile.minimum = float(options.min)
 
 MakeVectorFile.maximum = float(options.max)
 
tuple MakeVectorFile.step = (maximum - minimum)/(N - 1)
 
 MakeVectorFile.val = minimum+eventno*step
 
tuple MakeVectorFile.pos = ( val, 0., 0.)
 
tuple MakeVectorFile.dir = (0., 0., 1.)
 
 MakeVectorFile.position
 
 MakeVectorFile.direction