9 KalmanState::KalmanState(
const Settings *settings,
21 : settings_(settings),
23 last_state_(last_state),
29 l1track3D_(candidate) {
31 matC_.ResizeTo(matC.GetNrows(), matC.GetNcols());
33 matK_.ResizeTo(matK.GetNrows(), matK.GetNcols());
35 matV_.ResizeTo(matV.GetNrows(), matV.GetNcols());
40 if (last_state !=
nullptr)
42 if (stub !=
nullptr &&
kLayer_ >= 0)
49 if (stub !=
nullptr) {
62 if (stub !=
nullptr) {
63 const set<const TP *> &tps = stub->
assocTPs();
64 if (tps.find(tp) == tps.end())
82 if (state->
stub() !=
nullptr)
90 std::vector<Stub *> all_stubs;
96 all_stubs.push_back(stub);
99 std::reverse(all_stubs.begin(), all_stubs.end());
const KalmanState * last_update_state() const
unsigned int hitPattern() const
unsigned int kalmanChi2RphiScale() const
const Settings * settings_
bool good(const TP *tp) const
double reducedChi2() const
unsigned int kalmanChi2RphiScale_
static const std::string kLayer("layer")
const KalmanState * last_state() const
std::vector< Stub * > stubs() const
const std::set< const TP * > & assocTPs() const