Skip to content

MuonLayerHough - Code cleaning

Hi everybody,

although the changeset here looks huge, the majority comes from a clang-format of the

  • MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonCombinePatternTools
  • MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools
  • MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonHoughPatternEvent
  • MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonRecToolInterfaces
  • MuonSpectrometer/MuonReconstruction/MuonRecUtils/MuonLayerHough

packages. All done in the first commit of this MR. The second commit contains the actual changes:

  • Replace std::vector<double>(3) data types by Amg::Vector3D
  • Augment the IMuonHoughPatternFinderTools with the set of functions to perform the pattern seeding using the NSW information
  • This allows us to switch the tool in MuonHoughAlg to the interface class
  • Pipe Amg::Vectors to the MuonHoughMathUtils functions where possible
  • MuonHoughPatternFinderTool try to avoid the copy of information (hitx,hity,hitz) while the Hough patterns are built
  • Employment of smart pointers
Edited by Johannes Junggeburth

Merge request reports