java.lang.Object
simpa.acc.api.Beam
simpa.acc.api.EllipseBeam
Special beam mainly for optics calculations. All particles lie on the same
 phase space ellipse.
- Author:
- lbojtar
- 
Constructor SummaryConstructorsConstructorDescriptionEllipseBeam(List<Particle> particles, ReferenceOrbit refOrbit, PotentialProvider potProvider, String name) EllipseBeam(EllipseBeamSampler beamSampler, double nomMomentum, ReferenceOrbit refOrbit, double longiPos, PotentialProvider potProvider, double mass, double charge, int nbOfSamples, String name) 
- 
Method SummaryMethods inherited from class simpa.acc.api.BeamcalculateBeamPosition, getName, getNominalMomentum, getParticles, getPotentialProvider, getReferenceOrbit, setName, setReferenceOrbit
- 
Constructor Details- 
EllipseBeampublic EllipseBeam(EllipseBeamSampler beamSampler, double nomMomentum, ReferenceOrbit refOrbit, double longiPos, PotentialProvider potProvider, double mass, double charge, int nbOfSamples, String name) throws KnownFatalException - Throws:
- KnownFatalException
 
- 
EllipseBeampublic EllipseBeam(List<Particle> particles, ReferenceOrbit refOrbit, PotentialProvider potProvider, String name) 
 
- 
- 
Method Details- 
copy- Overrides:
- copyin class- Beam
- Returns:
- A Deep copy of of all particles in the beam, but the tracking state is freshly created. The vector potential of the copy will be the potential provider. The beam sampler is shallow copied. This method is tipically used to create a new beam with the same particles for new tracking with a different potential provider.
 
- 
getBeamSampler- Returns:
- The beam sampler used to generate the particles in the beam. It might be null if the beam was created from a list of particles and nor using the constructor with the beam sampler.
 
 
-