Module simpa.core

Interface TrackingObserver

All Known Implementing Classes:
BeamLossObserver, BeamTrajectoryObserver, PhaseSpaceObserver, TLPhaseSpaceObserver, TrajectoryObserver, TurnObserver

public interface TrackingObserver
Interface for particle observers.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Describes how the some observer behaves.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Finishes the tracking of the given particle.
    void
    Observe the particle using this observer.
  • Method Details

    • observe

      void observe(Particle p)
      Observe the particle using this observer.
      Parameters:
      p - - Particle to observe
    • finish

      void finish(Particle p)
      Finishes the tracking of the given particle.
      Parameters:
      p - the particle to stop tracking