78 constexpr double ProtonMassD = 0.93827208816;
96 constexpr double Pi = 3.14159265358979323846;
109 template<
typename T1,
typename T2 = T1>
113 inline constexpr int Undef<int> = std::numeric_limits<int>::min();
116 inline constexpr unsigned Undef<unsigned> = std::numeric_limits<unsigned>::max();
119 inline constexpr float Undef<float> = std::numeric_limits<float>::signaling_NaN();
122 inline constexpr double Undef<double> = std::numeric_limits<double>::signaling_NaN();
125 inline constexpr fscal Undef<fvec> = std::numeric_limits<fscal>::signaling_NaN();
132 constexpr char CL[] =
"\e[0m";
133 constexpr char CLb[] =
"\e[1m";
134 constexpr char CLi[] =
"\e[3m";
135 constexpr char CLu[] =
"\e[4m";
136 constexpr char CLr[] =
"\e[7m";
137 constexpr char CLbi[] =
"\e[1;3m";
138 constexpr char CLbu[] =
"\e[1;4m";
139 constexpr char CLbr[] =
"\e[1;7m";
142 constexpr char BK[] =
"\e[30m";
143 constexpr char RD[] =
"\e[31m";
144 constexpr char GN[] =
"\e[32m";
145 constexpr char YL[] =
"\e[33m";
146 constexpr char BL[] =
"\e[34m";
147 constexpr char MG[] =
"\e[35m";
148 constexpr char CY[] =
"\e[36m";
149 constexpr char GY[] =
"\e[37m";
150 constexpr char WT[] =
"\e[38m";
153 constexpr char BKb[] =
"\e[1;30m";
154 constexpr char RDb[] =
"\e[1;31m";
155 constexpr char GNb[] =
"\e[1;32m";
156 constexpr char YLb[] =
"\e[1;33m";
157 constexpr char BLb[] =
"\e[1;34m";
158 constexpr char MGb[] =
"\e[1;35m";
159 constexpr char CYb[] =
"\e[1;36m";
160 constexpr char GYb[] =
"\e[1;37m";
161 constexpr char WTb[] =
"\e[1;38m";
164 constexpr char BKi[] =
"\e[3;30m";
165 constexpr char RDi[] =
"\e[3;31m";
166 constexpr char GNi[] =
"\e[3;32m";
167 constexpr char YLi[] =
"\e[3;33m";
168 constexpr char BLi[] =
"\e[3;34m";
169 constexpr char MGi[] =
"\e[3;35m";
170 constexpr char CYi[] =
"\e[3;36m";
171 constexpr char GYi[] =
"\e[3;37m";
172 constexpr char WTi[] =
"\e[3;38m";
175 constexpr char BKu[] =
"\e[4;30m";
176 constexpr char RDu[] =
"\e[4;31m";
177 constexpr char GNu[] =
"\e[4;32m";
178 constexpr char YLu[] =
"\e[4;33m";
179 constexpr char BLu[] =
"\e[4;34m";
180 constexpr char MGu[] =
"\e[4;35m";
181 constexpr char CYu[] =
"\e[4;36m";
182 constexpr char GYu[] =
"\e[4;37m";
183 constexpr char WTu[] =
"\e[4;38m";
186 constexpr char BKr[] =
"\e[7;30m";
187 constexpr char RDr[] =
"\e[7;31m";
188 constexpr char GNr[] =
"\e[7;32m";
189 constexpr char YLr[] =
"\e[7;33m";
190 constexpr char BLr[] =
"\e[7;34m";
191 constexpr char MGr[] =
"\e[7;35m";
192 constexpr char CYr[] =
"\e[7;36m";
193 constexpr char GYr[] =
"\e[7;37m";
194 constexpr char WTr[] =
"\e[7;38m";
197 constexpr char BKbu[] =
"\e[1;4;30m";
198 constexpr char RDbu[] =
"\e[1;4;31m";
199 constexpr char GNbu[] =
"\e[1;4;32m";
200 constexpr char YLbu[] =
"\e[1;4;33m";
201 constexpr char BLbu[] =
"\e[1;4;34m";
202 constexpr char MGbu[] =
"\e[1;4;35m";
203 constexpr char CYbu[] =
"\e[1;4;36m";
204 constexpr char GYbu[] =
"\e[1;4;37m";
205 constexpr char WTbu[] =
"\e[1;4;38m";
208 constexpr char BKbi[] =
"\e[1;3;30m";
209 constexpr char RDbi[] =
"\e[1;3;31m";
210 constexpr char GNbi[] =
"\e[1;3;32m";
211 constexpr char YLbi[] =
"\e[1;3;33m";
212 constexpr char BLbi[] =
"\e[1;3;34m";
213 constexpr char MGbi[] =
"\e[1;3;35m";
214 constexpr char CYbi[] =
"\e[1;3;36m";
215 constexpr char GYbi[] =
"\e[1;3;37m";
216 constexpr char WTbi[] =
"\e[1;3;38m";
219 constexpr char BKbr[] =
"\e[1;7;30m";
220 constexpr char RDbr[] =
"\e[1;7;31m";
221 constexpr char GNbr[] =
"\e[1;7;32m";
222 constexpr char YLbr[] =
"\e[1;7;33m";
223 constexpr char BLbr[] =
"\e[1;7;34m";
224 constexpr char MGbr[] =
"\e[1;7;35m";
225 constexpr char CYbr[] =
"\e[1;7;36m";
226 constexpr char GYbr[] =
"\e[1;7;37m";
227 constexpr char WTbr[] =
"\e[1;7;38m";
The Kalman-filter framework main class (header)
static constexpr size_t size()
TrackParam classes of different types.
Colors of terminal log messages.
constexpr char CYbr[]
bold-reverse cyan
constexpr char CYbi[]
bold-italic cyan
constexpr char WTi[]
italic white
constexpr char GYbr[]
bold-reverse grey
constexpr char GNbr[]
bold-reverse green
constexpr char WTbu[]
bold-underline white
constexpr char CLr[]
clear reverse
constexpr char MGu[]
underline magenta
constexpr char GNr[]
reverse green
constexpr char BKbr[]
bold-reverse black
constexpr char GYu[]
underline grey
constexpr char GNu[]
underline green
constexpr char RD[]
normal red
constexpr char GYr[]
reverse grey
constexpr char CY[]
normal cyan
constexpr char GNi[]
italic green
constexpr char CLi[]
clear italic
constexpr char MGr[]
reverse magenta
constexpr char BKr[]
reverse black
constexpr char BK[]
normal black
constexpr char GYi[]
italic grey
constexpr char GY[]
normal grey
constexpr char GNbu[]
bold-underline green
constexpr char BKu[]
underline black
constexpr char MGbr[]
bold-reverse magenta
constexpr char CYr[]
reverse cyan
constexpr char YLbu[]
bold-underline yellow
constexpr char WTbr[]
bold-reverse white
constexpr char BL[]
normal blue
constexpr char RDu[]
underline red
constexpr char WTbi[]
bold-italic white
constexpr char CLbr[]
clear bold-reverse
constexpr char GYb[]
bold grey
constexpr char WTr[]
reverse white
constexpr char YL[]
normal yellow
constexpr char MGi[]
italic magenta
constexpr char CYi[]
italic cyan
constexpr char YLu[]
underline yellow
constexpr char CLbu[]
clear bold-underline
constexpr char YLi[]
italic yellow
constexpr char CLu[]
clear underline
constexpr char BLbi[]
bold-italic blue
constexpr char RDbi[]
bold-italic red
constexpr char BLbu[]
bold-underline blue
constexpr char WTu[]
underline white
constexpr char MGbu[]
bold-underline magenta
constexpr char CYb[]
bold cyan
constexpr char BKbu[]
bold-underline black
constexpr char RDi[]
italic red
constexpr char MGb[]
bold magenta
constexpr char GNbi[]
bold-italic green
constexpr char GYbu[]
bold-underline grey
constexpr char BLbr[]
bold-reverse blue
constexpr char WTb[]
bold white
constexpr char BKb[]
bold black
constexpr char MGbi[]
bold-italic magenta
constexpr char BKi[]
italic black
constexpr char RDbu[]
bold-underline red
constexpr char BKbi[]
bold-italic black
constexpr char CYbu[]
bold-underline cyan
constexpr char GYbi[]
bold-italic grey
constexpr char MG[]
normal magenta
constexpr char BLb[]
bold blue
constexpr char CYu[]
underline cyan
constexpr char BLu[]
underline blue
constexpr char GN[]
normal green
constexpr char RDr[]
reverse red
constexpr char YLbr[]
bold-reverse yellow
constexpr char BLr[]
reverse blue
constexpr char CLbi[]
clear bold-italic
constexpr char YLb[]
bold yellow
constexpr char WT[]
normal white
constexpr char YLr[]
reverse yellow
constexpr char YLbi[]
bold-italic yellow
constexpr char RDbr[]
bold-reverse red
constexpr char CLb[]
clear bold
constexpr char BLi[]
italic blue
constexpr int InputDataQaLevel
Flag: input data QA level.
constexpr int Alignment
Default alignment of data (bytes)
constexpr int AssertionLevel
Assertion level.
constexpr fscal NegligibleFieldkG
Negligible field [kG].
constexpr double PionMassD
Pion mass [GeV/c2].
constexpr fscal ElectronMass
Electron mass [GeV/c2].
constexpr fscal KaonMass
Kaon mass [GeV/c2] (PDG 22.08.2023)
constexpr double MuonMassD
Particle masses etc used for the track fit, double precision.
constexpr double ProtonMassD
Proton mass [GeV/c2] (PDG 11.08.2022)
constexpr fscal PionMass
Pion mass [GeV/c2].
constexpr double SpeedOfLightD
Speed of light [cm/ns].
constexpr fscal MuonMass
Particle masses etc used for the track fit, fscal precision.
constexpr fscal SpeedOfLight
Speed of light [cm/ns].
constexpr double KaonMassD
Kaon mass [GeV/c2] (PDG 22.08.2023)
constexpr fscal ProtonMass
Proton mass [GeV/c2] (PDG 11.08.2022)
constexpr double SpeedOfLightInvD
Inverse speed of light [ns/cm].
constexpr double ElectronMassD
Electron mass [GeV/c2].
constexpr unsigned int StationBits
Amount of bits to code a station or triplet. This values determine the maximum number of stations and...
constexpr uint8_t DetBits
Maximum 16 detector systems.
constexpr int MaxFieldApproxPolynomialOrder
Order of polynomial to approximate field in the vicinity of station plane.
constexpr int MaxNtrackGroups
constexpr unsigned int TripletBits
Amount of bits to code one triplet.
constexpr int MaxNtriplets
Max number of triplets, 2^26 = 67,108,864.
constexpr int MaxNFieldApproxCoefficients
Amount of coefficients in field approximations.
constexpr int MaxNdetectors
Max number of tracking detectors.
constexpr T2 Undef
Undefined values.
TODO: SZh 8.11.2022: add selection of parameterisation.