|
CbmRoot
|
Class SearchWindowMap parameterisation for hit search windows in the CA tracking. More...
#include <CaSearchWindowMap.h>
Classes | |
| struct | BinData |
| struct | SearchWindow |
Public Member Functions | |
| SearchWindowMap ()=default | |
| Default constructor. | |
| ~SearchWindowMap ()=default | |
| Destructor. | |
| void | SetRange (float xMin, float xMax, int xNbins, float yMin, float yMax, int yNbins) |
| Constructor. | |
| void | Clear () |
| Clear the map. | |
| void | Update (float x, float y, float dx, float dy, float ms) |
| Update the map. | |
| int | GetBin (float x, float y) const |
| Get bin index. | |
| SearchWindow | GetSearchWindow (float x, float y) const |
| std::tuple< SearchWindow, float > | GetSearchWindowAndMs (float x, float y) const |
| std::string | ToString () const |
| String representation of the contents. | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
Public Attributes | |
| float | fXmin {0.f} |
| X min. | |
| float | fXmax {0.f} |
| X max. | |
| int | fXnBins {0} |
| Number of bins in X. | |
| float | fYmin {0.f} |
| Y min. | |
| float | fYmax {0.f} |
| Y max. | |
| int | fYnBins {0} |
| Number of bins in Y. | |
| int | fNbins {0} |
| Total number of bins. | |
| std::vector< BinData > | fBins {} |
| Bin data. | |
Friends | |
| class | boost::serialization::access |
| Serialization function. | |
Class SearchWindowMap parameterisation for hit search windows in the CA tracking.
Definition at line 24 of file CaSearchWindowMap.h.
|
default |
Default constructor.
|
default |
Destructor.
|
inline |
|
inline |
Get bin index.
Definition at line 76 of file CaSearchWindowMap.h.
References fXmax, fXmin, fXnBins, fYmax, fYmin, fYnBins, x, and y.
Referenced by GetSearchWindow(), GetSearchWindowAndMs(), and Update().
|
inline |
|
inline |
|
inline |
|
inline |
| std::string SearchWindowMap::ToString | ( | ) | const |
|
inline |
|
friend |
Serialization function.
Definition at line 129 of file CaSearchWindowMap.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
| std::vector<BinData> cbm::algo::ca::SearchWindowMap::fBins {} |
Bin data.
Definition at line 126 of file CaSearchWindowMap.h.
Referenced by Clear(), GetSearchWindow(), GetSearchWindowAndMs(), serialize(), SetRange(), ToString(), and Update().
| int cbm::algo::ca::SearchWindowMap::fNbins {0} |
Total number of bins.
Definition at line 125 of file CaSearchWindowMap.h.
Referenced by serialize(), and SetRange().
| float cbm::algo::ca::SearchWindowMap::fXmax {0.f} |
X max.
Definition at line 120 of file CaSearchWindowMap.h.
Referenced by GetBin(), serialize(), SetRange(), and ToString().
| float cbm::algo::ca::SearchWindowMap::fXmin {0.f} |
X min.
Definition at line 119 of file CaSearchWindowMap.h.
Referenced by GetBin(), serialize(), SetRange(), and ToString().
| int cbm::algo::ca::SearchWindowMap::fXnBins {0} |
Number of bins in X.
Definition at line 121 of file CaSearchWindowMap.h.
Referenced by GetBin(), serialize(), SetRange(), and ToString().
| float cbm::algo::ca::SearchWindowMap::fYmax {0.f} |
Y max.
Definition at line 123 of file CaSearchWindowMap.h.
Referenced by GetBin(), serialize(), SetRange(), and ToString().
| float cbm::algo::ca::SearchWindowMap::fYmin {0.f} |
Y min.
Definition at line 122 of file CaSearchWindowMap.h.
Referenced by GetBin(), serialize(), SetRange(), and ToString().
| int cbm::algo::ca::SearchWindowMap::fYnBins {0} |
Number of bins in Y.
Definition at line 124 of file CaSearchWindowMap.h.
Referenced by GetBin(), serialize(), SetRange(), and ToString().