From 1b1d60b387d06483781e2dc53c0a754534201674 Mon Sep 17 00:00:00 2001 From: Luiz Mundim Date: Thu, 11 Oct 2018 22:54:20 +0200 Subject: [PATCH] removing self assignment in HectorTransport.cc --- SimTransport/PPSProtonTransport/src/HectorTransport.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimTransport/PPSProtonTransport/src/HectorTransport.cc b/SimTransport/PPSProtonTransport/src/HectorTransport.cc index 200744bab5f54..acae9988b8d76 100644 --- a/SimTransport/PPSProtonTransport/src/HectorTransport.cc +++ b/SimTransport/PPSProtonTransport/src/HectorTransport.cc @@ -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) {