|
CbmRoot
|
A container for search window maps. More...
#include <CaSearchWindowMapContainer.h>
Public Types | |
| using | DoubletSwContainer_t = std::array<DoubletSearchWindowMap, kNofDoubletSw> |
| Container of doublet SWs. | |
| using | TripletSwContainer_t = std::array<TripletSearchWindowMap, kNofTripletSw> |
| Container of triplet SWs. | |
Public Member Functions | |
| DoubletSearchWindowMap & | DoubletSw (int iIter, int iSta, int iGap) |
| Mutable accessor to doublet search window map. | |
| 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. | |
| const TripletSearchWindowMap & | TripletSw (int iIter, int iSta, int iGapL, int iGapM) const |
| Constant accessor to triplet search window map. | |
Static Public Attributes | |
| static constexpr int | kMaxNofIterations = constants::size::MaxNiterations |
| Max number of iterations. | |
| static constexpr int | kMaxNofStations = constants::size::MaxNstations |
| Max number of stations. | |
| static constexpr int | kMaxNofTripletGaps = constants::size::MaxTripletGap + 1 |
| Max number of gaps in triplets. | |
| static constexpr size_t | kNofDoubletSw {kMaxNofIterations * kMaxNofStations * kMaxNofTripletGaps} |
| static constexpr size_t | kNofTripletSw {kNofDoubletSw * kMaxNofTripletGaps} |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
| Serialization function. | |
Static Private Member Functions | |
| static size_t | DoubletSwIndex (int iIter, int iSta, int iGap) |
| Maps iteration, station and gap indices to a global doublet SW index. | |
| static size_t | TripletSwIndex (int iIter, int iSta, int iGapL, int iGapM) |
| Maps iteration, station and gap indices to a global triplet SW index. | |
Private Attributes | |
| DoubletSwContainer_t | fDoubletSwMaps = {} |
| Doublet search windows. | |
| TripletSwContainer_t | fTripletSwMaps = {} |
| Triplet search windows. | |
Friends | |
| class | boost::serialization::access |
A container for search window maps.
Definition at line 24 of file CaSearchWindowMapContainer.h.
| using cbm::algo::ca::SearchWindowMapContainer::DoubletSwContainer_t = std::array<DoubletSearchWindowMap, kNofDoubletSw> |
Container of doublet SWs.
Definition at line 35 of file CaSearchWindowMapContainer.h.
| using cbm::algo::ca::SearchWindowMapContainer::TripletSwContainer_t = std::array<TripletSearchWindowMap, kNofTripletSw> |
Container of triplet SWs.
Definition at line 36 of file CaSearchWindowMapContainer.h.
|
inline |
Mutable accessor to doublet search window map.
| iIter | Index of iteration |
| iSta | Index of active station |
| iGap | Index of gap |
Definition at line 42 of file CaSearchWindowMapContainer.h.
References DoubletSwIndex(), and fDoubletSwMaps.
Referenced by cbm::algo::ca::SearchWindowMapContainerFactory::Create().
|
inline |
Constant accessor to doublet search window map.
| iIter | Index of iteration |
| iSta | Index of active station |
| iGap | Index of gap |
Definition at line 51 of file CaSearchWindowMapContainer.h.
References DoubletSwIndex(), and fDoubletSwMaps.
|
inlinestaticprivate |
Maps iteration, station and gap indices to a global doublet SW index.
| iIter | Index of iteration |
| iSta | Index of active station |
| iGap | Index of gap |
Definition at line 84 of file CaSearchWindowMapContainer.h.
References kMaxNofIterations, kMaxNofStations, and kMaxNofTripletGaps.
Referenced by DoubletSw(), and DoubletSw().
|
inlineprivate |
Serialization function.
Definition at line 108 of file CaSearchWindowMapContainer.h.
References fDoubletSwMaps, and fTripletSwMaps.
|
inline |
Mutual accessor to triplet search window map.
| iIter | Index of iteration |
| iSta | Index of active station |
| iGapL | Index of left gap |
| iGapM | Index of middle gap |
Definition at line 61 of file CaSearchWindowMapContainer.h.
References fTripletSwMaps, and TripletSwIndex().
Referenced by cbm::algo::ca::SearchWindowMapContainerFactory::Create().
|
inline |
Constant accessor to triplet search window map.
| iIter | Index of iteration |
| iSta | Index of active station |
| iGapL | Index of left gap |
| iGapM | Index of middle gap |
Definition at line 71 of file CaSearchWindowMapContainer.h.
References fTripletSwMaps, and TripletSwIndex().
|
inlinestaticprivate |
Maps iteration, station and gap indices to a global triplet SW index.
| iIter | Index of iteration |
| iSta | Index of active station |
| iGapL | Index of left gap |
| iGapM | Index of middle gap |
Definition at line 97 of file CaSearchWindowMapContainer.h.
References kMaxNofIterations, kMaxNofStations, and kMaxNofTripletGaps.
Referenced by TripletSw(), and TripletSw().
|
friend |
Definition at line 25 of file CaSearchWindowMapContainer.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
|
private |
Doublet search windows.
Definition at line 77 of file CaSearchWindowMapContainer.h.
Referenced by DoubletSw(), DoubletSw(), and serialize().
|
private |
Triplet search windows.
Definition at line 78 of file CaSearchWindowMapContainer.h.
Referenced by serialize(), TripletSw(), and TripletSw().
|
staticconstexpr |
Max number of iterations.
Definition at line 28 of file CaSearchWindowMapContainer.h.
Referenced by DoubletSwIndex(), and TripletSwIndex().
|
staticconstexpr |
Max number of stations.
Definition at line 29 of file CaSearchWindowMapContainer.h.
Referenced by DoubletSwIndex(), and TripletSwIndex().
|
staticconstexpr |
Max number of gaps in triplets.
Definition at line 30 of file CaSearchWindowMapContainer.h.
Referenced by cbm::algo::ca::SearchWindowMapContainerFactory::Create(), DoubletSwIndex(), and TripletSwIndex().
|
staticconstexpr |
Definition at line 32 of file CaSearchWindowMapContainer.h.
|
staticconstexpr |
Definition at line 33 of file CaSearchWindowMapContainer.h.