File indexing completed on 2025-01-18 09:11:19
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/EventData/TrackStatePropMask.hpp"
0010
0011 #include "Acts/Utilities/Helpers.hpp"
0012
0013 #include <ostream>
0014
0015 namespace Acts {
0016
0017 std::ostream& operator<<(std::ostream& os, TrackStatePropMask mask) {
0018 using PM = TrackStatePropMask;
0019 os << "TrackStatePropMask(";
0020 if (mask == PM::None) {
0021 os << "None";
0022 } else {
0023 os << "\n [" << (ACTS_CHECK_BIT(mask, PM::Predicted) ? "x" : " ")
0024 << "] predicted";
0025 os << "\n [" << (ACTS_CHECK_BIT(mask, PM::Filtered) ? "x" : " ")
0026 << "] filtered";
0027 os << "\n [" << (ACTS_CHECK_BIT(mask, PM::Smoothed) ? "x" : " ")
0028 << "] smoothed";
0029 os << "\n [" << (ACTS_CHECK_BIT(mask, PM::Jacobian) ? "x" : " ")
0030 << "] jacobian";
0031 os << "\n [" << (ACTS_CHECK_BIT(mask, PM::Calibrated) ? "x" : " ")
0032 << "] calibrated";
0033 os << "\n";
0034 }
0035 os << ")";
0036 return os;
0037 }
0038
0039 }