17 assert(stationID > -1);
18 assert(trackGrID > -1);
21 static_assert(
kNpars == 1);
30 assert(
id > -1 &&
id <
kNpars);
38 assert(
id > -1 &&
id <
kNpars);
46 assert(
id > -1 &&
id <
kNpars);
54 assert(
id > -1 &&
id <
kNpars);
62 assert(
id > -1 &&
id <
kNpars);
70 assert(
id > -1 &&
id <
kNpars);
78 assert(
id > -1 &&
id <
kNpars);
86 assert(
id > -1 &&
id <
kNpars);
95 std::stringstream msg;
96 msg <<
"----- CA hits search window: \n";
99 msg <<
"\tparameters:\n";
100 msg <<
"\t\t" << setw(6) <<
"No." <<
' ';
101 msg << setw(12) <<
"dx_max(x0)" <<
' ';
102 msg << setw(12) <<
"dx_min(x0)" <<
' ';
103 msg << setw(12) <<
"dx_max(y0)" <<
' ';
104 msg << setw(12) <<
"dx_min(y0)" <<
' ';
105 msg << setw(12) <<
"dy_max(x0)" <<
' ';
106 msg << setw(12) <<
"dy_min(x0)" <<
' ';
107 msg << setw(12) <<
"dy_max(y0)" <<
' ';
108 msg << setw(12) <<
"dy_min(y0)" <<
'\n';
109 for (
int iPar = 0; iPar <
kNpars; ++iPar) {
110 msg <<
"\t\t" << setw(6) << iPar <<
' ';
111 for (
int iDep = 0; iDep <
kNdeps; ++iDep) {
Class L1SearchWindow defines a parameterisation of hits search window for CA tracking algorithm TODO:...
void SetParamDxMinVsX0(int id, float val)
Sets parameters for dx_min(x0)
void SetParamDyMaxVsX0(int id, float val)
Sets parameters for dy_max(x0)
void SetParamDxMaxVsY0(int id, float val)
Sets parameters for dx_max(y0)
static constexpr unsigned char kNpars
Max number of parameters for one dependency.
SearchWindow()=default
Default constructor.
int fTrackGroupID
Index of tracks group.
void SetParamDyMinVsX0(int id, float val)
Sets parameters for dy_min(x0)
std::array< float, kNdeps *kNpars > fvParams
Search window parameter array containing parameters from.
void SetParamDyMaxVsY0(int id, float val)
Sets parameters for dy_max(y0)
void SetParamDxMinVsY0(int id, float val)
Sets parameters for dx_min(y0)
void SetParamDyMinVsY0(int id, float val)
Sets parameters for dy_min(y0)
void SetParamDxMaxVsX0(int id, float val)
Sets parameters for dx_max(x0)
int fStationID
Global index of active tracking station.
std::string ToString() const
String representation of the contents.
static constexpr unsigned char kNdeps
Number of the dependencies.