public class GeneratorFactory extends Object
Constructor and Description |
---|
GeneratorFactory() |
Modifier and Type | Method and Description |
---|---|
MCEvent |
createEvent(int run,
int event)
Create a new event
|
BasicParticle |
createParticle(Hep3Vector origin,
HepLorentzVector p,
ParticleType ptype,
int status,
double time)
Create a new particle
|
public MCEvent createEvent(int run, int event)
run
- The run numberevent
- The event numberpublic BasicParticle createParticle(Hep3Vector origin, HepLorentzVector p, ParticleType ptype, int status, double time)
origin
- The particles creation pointp
- The particles momentum and energyptype
- The particles typestatus
- The particles statustime
- The particles creation timeJas4pp 1.5 © Java Analysis Studio for Particle Physics