From 00cab5a57cfd3f10315446a6c4c6d1efb3336de9 Mon Sep 17 00:00:00 2001 From: sergeizharko <zharkosergey94@yandex.ru> Date: Thu, 23 Dec 2021 21:48:14 +0100 Subject: [PATCH] COMMIT FROM 23.12.2021 - cbmroot/reco/L1/L1Algo/L1BaseStationInfo.h: > a prototype of user-friendly interface to L1Station and other geometry inputs to L1Algo (experimental) > added setters and getters for L1Station data fields > added calculation of hidden L1Station properties > added Print() method - cbmroot/reco/L1/L1Algo/L1Parameters.h: > add new compile time constants: kMaxNFieldApproxCoefficients, kStationBits, kThreadBits, kTripletBits, kMaxNstations, kMaxNthreads, kMaxNtriplets > add new runtime "constants": fMaxDoubletsPerSinglet, fMaxTripletPerDoublets > add Print() method - cbmroot/reco/L1/L1Algo/L1Algo.h: > modifications according to the constants transfer to the L1Parameters class (example: fkMaxNthreads ==> L1Parameters::kMaxNthreads) - cbmroot/reco/L1/L1Algo/L1Algo.cxx: > add L1Parameters::Print() call from L1Algo::Init() > modifications according to the constants transfer to the L1Parameters class (example: fkMaxNthreads ==> L1Parameters::kMaxNthreads) - cbmroot/reco/L1/L1Algo/L1CATrackFinder.cxx: > modifications according to the constants transfer to the L1Parameters class (example: fkMaxNthreads ==> L1Parameters::kMaxNthreads) - cbmroot/reco/L1/L1Algo/L1TrackFitter.cxx: > modifications according to the constants transfer to the L1Parameters class (example: fkMaxNthreads ==> L1Parameters::kMaxNthreads) - cbmroot/reco/L1/L1Algo/L1Field.h: > magic constant '21' changed to L1Parameters::kMaxNFieldApproxCoefficients (compile time) - cmbroot/reco/L1/CbmL1.h: > add a L1Paramters class field (currently ptr to address in the heap) to CbmL1 > add getter for the L1Parameters class field to CbmL1 - cbmroot/reco/L1/CbmL1.cxx: > add transfer of the L1Parameters data from CbmL1 to L1Algo > modifications according to the constants transfer to the L1Parameters class (example: fkMaxNthreads ==> L1Parameters::kMaxNthreads) - cbmroot/macro/run/run_reco.C: > add example of L1Algo runtime constants modification --- reco/L1/L1Algo/L1BaseStationInfo.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reco/L1/L1Algo/L1BaseStationInfo.h b/reco/L1/L1Algo/L1BaseStationInfo.h index 9b080f473a..f923110475 100644 --- a/reco/L1/L1Algo/L1BaseStationInfo.h +++ b/reco/L1/L1Algo/L1BaseStationInfo.h @@ -26,6 +26,9 @@ #include <iomanip> #include <string> //#include <cmath> + +/// A base class which provides interface to L1Algo station geometry + class L1BaseStationInfo { private: enum @@ -44,7 +47,7 @@ private: kEstripsFrontSigma, kEstripsBackPhi, kEstripsBackSigma, - /// v The last item is equal to the number of bits in fInitFlags + // The last item is equal to the number of bits in fInitFlags kEND }; -- GitLab