Skip to content

LinacAccNode will have XML Data Adaptor and a reference to the parent sequence#113

Merged
shishlo merged 2 commits into
PyORBIT-Collaboration:mainfrom
shishlo:main
May 14, 2026
Merged

LinacAccNode will have XML Data Adaptor and a reference to the parent sequence#113
shishlo merged 2 commits into
PyORBIT-Collaboration:mainfrom
shishlo:main

Conversation

@shishlo
Copy link
Copy Markdown
Contributor

@shishlo shishlo commented May 13, 2026

There are two changes in the Linac nodes and lattice:

  1. Each LinacAccNode will have the copy of its own Data Adapter. It will allow to keep additional information for the future parsing if the user will need it. It could be PV names. In the SNS case it is the BPM length and orientation that we need for Online Model. The user could completely ignore the presence of this data.
  2. The each AccNode will know its parent sequence. Before, only the level 1 nodes had this reference. Now we set it up even for children for consistency.

shishlo added 2 commits May 13, 2026 16:30
1. Each LinacAccNode will have the copy of its own Data Adapter. It will allow to keep additional information for the future parsing if the user will need it. It could be PV names. In the SNS case it is the BPM length and orientation that we need for Online Model. The user could completely ignore the presence of this data.
2. The each AccNode will know its parent sequence. Before, only the level 1 nodes has this reference. Now we set it up even for children for consistency.
1. Each LinacAccNode will have the copy of its own Data Adapter. It will allow to keep additional information for the future parsing if the user will need it. It could be PV names. In the SNS case it is the BPM length and orientation that we need for Online Model. The user could completely ignore the presence of this data.
2. The each AccNode will know its parent sequence. Before, only the level 1 nodes has this reference. Now we set it up even for children for consistency.
@shishlo shishlo requested a review from azukov May 13, 2026 20:42
@shishlo shishlo self-assigned this May 13, 2026
@shishlo shishlo merged commit 22b45fa into PyORBIT-Collaboration:main May 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant