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.
Showing
- algo/ca/TrackingChain.cxx 2 additions, 2 deletionsalgo/ca/TrackingChain.cxx
- algo/ca/core/pars/CaParameters.h 9 additions, 2 deletionsalgo/ca/core/pars/CaParameters.h
- algo/ca/core/tracking/CaCloneMerger.cxx 14 additions, 11 deletionsalgo/ca/core/tracking/CaCloneMerger.cxx
- algo/ca/core/tracking/CaCloneMerger.h 11 additions, 7 deletionsalgo/ca/core/tracking/CaCloneMerger.h
- algo/ca/core/tracking/CaFramework.cxx 18 additions, 29 deletionsalgo/ca/core/tracking/CaFramework.cxx
- algo/ca/core/tracking/CaFramework.h 22 additions, 99 deletionsalgo/ca/core/tracking/CaFramework.h
- algo/ca/core/tracking/CaTrackExtender.cxx 40 additions, 34 deletionsalgo/ca/core/tracking/CaTrackExtender.cxx
- algo/ca/core/tracking/CaTrackExtender.h 8 additions, 5 deletionsalgo/ca/core/tracking/CaTrackExtender.h
- algo/ca/core/tracking/CaTrackFinder.cxx 230 additions, 283 deletionsalgo/ca/core/tracking/CaTrackFinder.cxx
- algo/ca/core/tracking/CaTrackFinder.h 26 additions, 15 deletionsalgo/ca/core/tracking/CaTrackFinder.h
- algo/ca/core/tracking/CaTrackFinderWindow.cxx 140 additions, 146 deletionsalgo/ca/core/tracking/CaTrackFinderWindow.cxx
- algo/ca/core/tracking/CaTrackFinderWindow.h 67 additions, 17 deletionsalgo/ca/core/tracking/CaTrackFinderWindow.h
- algo/ca/core/tracking/CaTrackFitter.cxx 29 additions, 25 deletionsalgo/ca/core/tracking/CaTrackFitter.cxx
- algo/ca/core/tracking/CaTrackFitter.h 7 additions, 10 deletionsalgo/ca/core/tracking/CaTrackFitter.h
- algo/ca/core/tracking/CaTripletConstructor.cxx 89 additions, 67 deletionsalgo/ca/core/tracking/CaTripletConstructor.cxx
- algo/ca/core/tracking/CaTripletConstructor.h 13 additions, 3 deletionsalgo/ca/core/tracking/CaTripletConstructor.h
- reco/L1/CbmL1.cxx 10 additions, 10 deletionsreco/L1/CbmL1.cxx
- reco/L1/CbmL1.h 7 additions, 7 deletionsreco/L1/CbmL1.h
- reco/L1/CbmL1Performance.cxx 2 additions, 2 deletionsreco/L1/CbmL1Performance.cxx
- reco/L1/L1Algo/utils/L1AlgoDraw.cxx 19 additions, 19 deletionsreco/L1/L1Algo/utils/L1AlgoDraw.cxx
Loading
Please register or sign in to comment