BDSParallelWorldCurvilinear (BDSBeamline) element missing index
elements in BDSAcceleratorModel::Instance()->GetCurvilinearBeamline() do not have a valid index, always -1 opposed to >= 0
Noticed in BDSParallelWorldCurvilinear.cc (77:80)
BDSPhysicalVolumeInfo* theinfo = new BDSPhysicalVolumeInfo(name, clPVName, element->GetSPositionMiddle(), element->GetIndex());
Comments (4)
-
-
reporter It eventually gets stored in the Eloss tree. Most of the time the tree does not write out this branch but identifying which element the deposit occurs in essential for the event viewer and advanced analyses
-
Ok, note this only works if we have a 1:1 curvilinear / accelerator beam line. I've put this back for other reasons so it'll work for now. I'll push once I fix failing tests locally and I have to merge the other recent changes into develop.
-
- changed status to resolved
Fix Issue
#182. Curvilinear world now has beam line index.→ <<cset fdfc5e7f93cf>>
- Log in to comment
Where do you need / use this number?