Skip to content

Commit

Permalink
removing self assignment in HectorTransport.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
mundim committed Oct 11, 2018
1 parent 7120ddb commit 1b1d60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimTransport/PPSProtonTransport/src/HectorTransport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ bool HectorTransport::transportProton(const HepMC::GenParticle* gpart)
// shift the beam position to the given beam position at IP (in cm)
XforPosition=(XforPosition-fVtxMeanX)+fBeamXatIP*mm_to_cm;
YforPosition=(YforPosition-fVtxMeanY)+fBeamYatIP*mm_to_cm;
ZforPosition=(ZforPosition); // move the closed orbit only in the X,Y plane
//ZforPosition stays the same, move the closed orbit only in the X,Y plane
//
// shift the starting position of the track to Z=0 if configured so (all the variables below are still in cm)
if (bApplyZShift) {
Expand Down

0 comments on commit 1b1d60b

Please sign in to comment.