Uses of Class
simpa.core.api.track.Particle
Packages that use Particle
Package
Description
This package contains the public interfaces and classes of the simpa.acc library.
This package contains all the interfaces and classes related to optics
matching or any other optimization which is performed by tracking beams or
particles.
This package contains all the code specifically related to the tracking of particles in particle accelerators.
This package contains utility classes to help in using the simpa.acc module.
This package contains the code related to tracking particles in SIMPA.
This package contains all utils that can be used to set up the SIMPA Core library.
-
Uses of Particle in simpa.acc.api
Methods in simpa.acc.api that return ParticleModifier and TypeMethodDescriptionAccCli.createParticle
(String type, Double mom, Double dx, Double ax, Double dy, Double ay, Double lPos, Double dpOp, Double mass, Double charge, String name) ParticleFactory.getParticle
(double p0InGeV, PhaseSpaceCoordinates phs, double longiPos, PotentialProvider afp, double mass, double charge) Gets a particle with the given data.ParticleFactory.getParticle
(double p0InGeV, PhaseSpaceCoordinates phs, double longiPos, PotentialProvider pp, ParticleType type) Gets a particle with the given data.Methods in simpa.acc.api that return types with arguments of type ParticleModifier and TypeMethodDescriptionParticleFactory.getFromFile
(double p0InGeV, String fileName, double longiPos, PotentialProvider afp, double mass, double charge) Generate particles in a flat 5D beam, all particles are on the same longitudinal position.Beam.getParticles()
Methods in simpa.acc.api with parameters of type ParticleModifier and TypeMethodDescriptionAccCli.match
(Beam b0, Beam b1, Particle p0, Particle p1, Double diskRadius, Double stepSize, Matcher matcher, Boolean backward, String file, Double lossPenalty, TwissParameters initialTwiss) void
AccCli.ringOptics
(Particle p1, Particle p2, Double stepsize, double diskRadius, String outFile, Integer turns, Boolean writeTrajectory) void
AccCli.track
(Particle particle, Beam beam, Integer turns, Double stepSize, Double[] phoLongiPosArray, Double diskRadius, Boolean trajectoryObserver, String sigmaFile, Boolean debug, Integer threads, Boolean backward) Constructor parameters in simpa.acc.api with type arguments of type ParticleModifierConstructorDescriptionBeam
(List<Particle> particles, ReferenceOrbit refOrbit, PotentialProvider potProvider, String name) Low level constructor.EllipseBeam
(List<Particle> particles, ReferenceOrbit refOrbit, PotentialProvider potProvider, String name) -
Uses of Particle in simpa.acc.api.match
Methods in simpa.acc.api.match with parameters of type ParticleModifier and TypeMethodDescriptionDoes the matching procedure with the given parameters for a ring.void
OpticsMultivariateFunction.setParticles
(Particle p0, Particle p1) Set the two particles to be tracked for optics calculation in a ring. -
Uses of Particle in simpa.acc.api.track
Methods in simpa.acc.api.track that return types with arguments of type ParticleMethods in simpa.acc.api.track with parameters of type ParticleModifier and TypeMethodDescriptionvoid
void
void
PhaseSpaceObserver.getPhaseSpaceCoordinates
(org.apache.commons.math3.geometry.euclidean.threed.Vector3D is, Particle p) Gets the phase space coordinates.void
Observes the location and angle of the particle as it passes through the disk.void
void
-
Uses of Particle in simpa.acc.api.utils
Methods in simpa.acc.api.utils with parameters of type ParticleModifier and TypeMethodDescriptionFrequencyAnalysis.FrequencyAnalysisBuilder.setPrototypeParticle
(Particle prototypeParticle) OpticsCalculator.trackInRingAndCalculate
(Particle p0, Particle p1, PotentialProvider pp, double stepsize, double diskradius, boolean writeTrajectoryFile) Tracks the two particles in a ring given as parameters, then calculates the optical functions from two trajectory files. -
Uses of Particle in simpa.core.api.track
Methods in simpa.core.api.track that return ParticleModifier and TypeMethodDescriptionParticle.copy
(Particle p, PotentialProvider pp) ParticleTrackerTask.getParticle()
Methods in simpa.core.api.track that return types with arguments of type ParticleMethods in simpa.core.api.track with parameters of type ParticleModifier and TypeMethodDescriptionParticle.copy
(Particle p, PotentialProvider pp) void
void
void
Finishes the tracking of the given particle.void
void
void
void
Observe the particle using this observer.void
Constructors in simpa.core.api.track with parameters of type ParticleModifierConstructorDescriptionParticleTrackerTask
(PotentialProvider potProv, Particle p, long steps, double stepsize, boolean backward) -
Uses of Particle in simpa.core.api.utils
Methods in simpa.core.api.utils with parameters of type ParticleModifier and TypeMethodDescriptionstatic double
CalculatorUtils.getKineticEnergy
(Particle part) Gets the kinetic energy of the given particle.static double
CalculatorUtils.getTotalEnergy
(Particle part) Gets the total energy of the given particle.static double
CalculatorUtils.getVelocityAbsValue
(Particle part) Gets the velocity of the given particle as an absolute value.