16#include <boost/serialization/array.hpp>
84 [[gnu::always_inline]]
static size_t DoubletSwIndex(
int iIter,
int iSta,
int iGap)
97 [[gnu::always_inline]]
static size_t TripletSwIndex(
int iIter,
int iSta,
int iGapL,
int iGapM)
107 template<
class Archive>
Compile-time constants definition for the CA tracking algorithm.
Provides parameterisation for hit search area for doublets in the CA tracking.
Provides parameterisation for hit search area for Triplets in the CA tracking.
Class DoubletSearchWindowMap parameterisation for hit search area for doublets in the CA tracking.
A container for search window maps.
static size_t TripletSwIndex(int iIter, int iSta, int iGapL, int iGapM)
Maps iteration, station and gap indices to a global triplet SW index.
static constexpr int kMaxNofStations
Max number of stations.
DoubletSwContainer_t fDoubletSwMaps
Doublet search windows.
std::array< TripletSearchWindowMap, kNofTripletSw > TripletSwContainer_t
Container of triplet SWs.
std::array< DoubletSearchWindowMap, kNofDoubletSw > DoubletSwContainer_t
Container of doublet SWs.
static constexpr int kMaxNofTripletGaps
Max number of gaps in triplets.
DoubletSearchWindowMap & DoubletSw(int iIter, int iSta, int iGap)
Mutable accessor to doublet search window map.
const TripletSearchWindowMap & TripletSw(int iIter, int iSta, int iGapL, int iGapM) const
Constant accessor to triplet search window map.
void serialize(Archive &ar, const unsigned int)
Serialization function.
static constexpr size_t kNofDoubletSw
friend class boost::serialization::access
const DoubletSearchWindowMap & DoubletSw(int iIter, int iSta, int iGap) const
Constant accessor to doublet search window map.
TripletSearchWindowMap & TripletSw(int iIter, int iSta, int iGapL, int iGapM)
Mutual accessor to triplet search window map.
static constexpr int kMaxNofIterations
Max number of iterations.
TripletSwContainer_t fTripletSwMaps
Triplet search windows.
static constexpr size_t kNofTripletSw
static size_t DoubletSwIndex(int iIter, int iSta, int iGap)
Maps iteration, station and gap indices to a global doublet SW index.
Class TripletSearchWindowMap parameterisation for hit search area for Triplets in the CA tracking.
constexpr int MaxNstations
Max number of stations, 2^6 = 64.
constexpr int MaxNiterations
Max number of iterations in the track finder.
constexpr int MaxTripletGap
Max gaps in the triplet.
TODO: SZh 8.11.2022: add selection of parameterisation.