~maus-maintainers/maus/merge

« back to all changes in this revision

Viewing changes to src/map/MapCppGlobalTrackReconstructor/MapCppGlobalTrackReconstructor.cc

  • Committer: Peter G Lane
  • Date: 2014-01-02 21:14:30 UTC
  • mto: (663.40.7 merge)
  • mto: This revision was merged to the branch mainline in revision 693.
  • Revision ID: lane@shibuya-20140102211430-9ijm1wztx55j1zs0
Fixed typo in configuration defaults. Fixed particle event and detector associations in raw and reconstructed track points.

Show diffs side-by-side

added added

removed removed

Lines of Context:
348
348
 
349
349
  // Convert the first fit track point into a PhaseSpaceVector for transporting
350
350
  GlobalDS::TrackPoint const * const fit_primary_track_point = fit_points[0];
 
351
  size_t particle_event = fit_primary_track_point->get_particle_event();
351
352
  DataStructureHelper helper = DataStructureHelper::GetInstance();
352
353
  PhaseSpaceVector fit_primary
353
354
    = helper.TrackPoint2PhaseSpaceVector(*fit_primary_track_point);
403
404
    }
404
405
 
405
406
    track_point.set_mapper_name(kClassname);
 
407
    track_point.set_particle_event(particle_event);
406
408
    track->AddTrackPoint(new GlobalDS::TrackPoint(track_point));
407
409
  }
408
410
  track->SortTrackPointsByZ();