File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed 
Tracking/src/Tracking/Reco Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -502,15 +502,15 @@ void CKFProcessor::produce(framework::Event& event) {
502502      trk.setNdf (track.nMeasurements () - 5 );
503503      trk.setNsharedHits (track.nSharedHits ());
504504
505-       Acts::Vector3 trkMomTrking (track.momentum ()[0 ],track.momentum ()[1 ],track.momentum ()[2 ]);
505+       Acts::Vector3 trk_mom_trking (track.momentum ()[0 ],track.momentum ()[1 ],track.momentum ()[2 ]);
506506      // save the momentum in the global coords and and GeV-->MeV
507-       auto  trkMomGbl =tracking::sim::utils::acts2LdmxMomentum (trkMomTrking ); 
507+       auto  trk_mom_gbl =tracking::sim::utils::acts2LdmxMomentum (trk_mom_trking ); 
508508
509-       ldmx_log (debug) << "  Global   Track momentum: px = "   << trkMomGbl [0 ]
510-                       << "  py = "   << trkMomGbl [1 ]
511-                       << "  pz = "   << trkMomGbl [2 ];
509+       ldmx_log (debug) << "  Global   Track momentum: px = "   << trk_mom_gbl [0 ]
510+                       << "  py = "   << trk_mom_gbl [1 ]
511+                       << "  pz = "   << trk_mom_gbl [2 ];
512512
513-       trk.setMomentum (trkMomGbl [0 ], trkMomGbl [1 ], trkMomGbl [2 ]); 
513+       trk.setMomentum (trk_mom_gbl [0 ], trk_mom_gbl [1 ], trk_mom_gbl [2 ]); 
514514
515515
516516      //  At least min_hits hits and p > 50 MeV
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ void TruthSeedProcessor::createTruthTrack(
112112  Acts::Vector3 mom{p_vec[0 ], p_vec[1 ], p_vec[2 ]};
113113
114114  //  Rotate the position and momentum into the ACTS frame.
115-   auto  posActs  = tracking::sim::utils::ldmx2Acts (pos);
116-   auto  momActs  = tracking::sim::utils::ldmx2Acts (mom);
115+   auto  pos_acts  = tracking::sim::utils::ldmx2Acts (pos);
116+   auto  mom_acts  = tracking::sim::utils::ldmx2Acts (mom);
117117
118118  //  Get the charge of the particle.
119119  //  TODO: Add function that uses the PDG ID to calculate this.
@@ -126,7 +126,7 @@ void TruthSeedProcessor::createTruthTrack(
126126
127127  //  Transform the position, momentum and charge to free parameters.
128128  //  use position & momentum in ACTS frame
129-   auto  free_params{tracking::sim::utils::toFreeParameters (posActs, momActs , q)};
129+   auto  free_params{tracking::sim::utils::toFreeParameters (pos_acts, mom_acts , q)};
130130
131131  //  Create a line surface at the perigee.  The perigee position is extracted
132132  //  from a particle's vertex or the particle's position at a specific
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments