Skip to content

Commit

Permalink
Fix to fill detector and layer for Cosmics trajectory bank
Browse files Browse the repository at this point in the history
  • Loading branch information
veronique committed Jun 30, 2023
1 parent 23e70af commit 679c475
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public Trajectory findTrajectory(int id, Ray ray, ArrayList<Cross> candCrossList

stateVecs.sort(Comparator.comparing(StateVec::y));
for (int l = 0; l < stateVecs.size(); l++) {
stateVecs.get(l).setSurfaceDetector(DetectorType.CVT.getDetectorId());
stateVecs.get(l).setPlaneIdx(l);
}
traj.setTrajectory(stateVecs);
Expand Down

0 comments on commit 679c475

Please sign in to comment.