Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #353

Closed
Open
Created Aug 16, 2019 by adelmann@adelmann🎗Owner

Track back in time

Summary

We want to track a beam given beam back in time throughout the lattice. This can either be a followup track or a given/generated distribution.

Motivation

From measurements or intuition you construct a final phase space P_{final}. One can then ask the question how would you generate P_{initial} and transport it. By tracking back (maybe using the optimiser) one can hope to achieve such a goal.

Approach (so far only for a straight machine ...)

  1. The TRACK command is augment with Boolean TRACKBACK=
  2. In ParallelTTracker the double member arrowOfTime_m is set to -1 in case of TRACKBACK=TRUE
  3. In ParallelTTracker::invertP itsBunch->P *= arrowOfTime_m and itsBunch_m->RefPartP_m *= arrowOfTime_m; is set invertPz (need to update Doxygen)

This is as far as I have implemented it, if I remember how to do the branch/merge stuff :) I will commit.

To Do

  1. All electrostatic elements do not need to be changed
  2. Space charge needs to negate its action in all 3 dimensions.
  3. RF
  4. Make it more general i.e. 3. in Approach above
Edited Aug 16, 2019 by adelmann
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking