Skip to content
Snippets Groups Projects
Commit 9cf4a05a authored by Dominik Smith's avatar Dominik Smith Committed by Florian Uhlig
Browse files

Cleaned up the core tracking classes. Summary of changes:

- Removed access to ca::Framework from ca::TrackExtender, ca::TrackFitter
  ca::TripletConstructor, ca::CloneMerger, ca::TrackFinder and ca::TrackFinderWindow.
- Simplified the interfaces of these classes.
- General instruction-wise cleanup of these classes (applied std functions in
  some places etc.). In particular, streamlining of ca::TrackFinder.
- Made debugging functions in ca::Framework static.
- Moved TrackingMode enum from CaFramework.h to CaParameters.h (needed
  to avoid cyclic header file dependency).
- Moved some magnetic-field dependent variables to ca::TripletConstructor (they are
  only used there).
- Restricted the scope of many variables, i.e. turned class-fields into
  local variables in many instances (e.g. fvMonitorDataThread, fvTrackFinderWindow,
  fTrackingMode, fvWData, fvWindowStartThread, fvWindowEndThread,
  fvStatNwindows, fvStatNhitsProcessed, fvHitFirstTriplet and fvHitNofTriplets).
- Eliminated the Init() functions of some classes. Moved initialization
  to the constructors.
- Improved distinction between class-parameters and working data.
  Class parameters are passed to constructor, working data is passed as
  arguments to function calls.
parent a90d0dcc
No related branches found
No related tags found
1 merge request!1887Cleanup of tracking core.
Pipeline #30662 passed