32 std::set<unsigned int> ids_matched{};
34 ids_matched.insert(trkid);
37 std::set<int> ids_unmatched;
38 for (
auto reco = m_SvtxTrackMap->
begin(); reco != m_SvtxTrackMap->
end(); ++reco) {
39 auto trkid = reco->first;
40 if (ids_matched.count(trkid)==0) ids_unmatched.insert(trkid);
42 std::vector<int> ids_vec;
43 for (
auto id : ids_unmatched) ids_vec.push_back((
int)
id);
44 std::sort(ids_vec.begin(), ids_vec.end());
53 cluster->getPosition(0), cluster->getPhiSize(), cluster->getPosition(1), cluster->getZSize(), key};
61 cluster->getPosition(0), cluster->getPhiSize(), cluster->getPosition(1), cluster->getZSize(), key};
69 auto dphi =
abs_dphi(clus_T->getPosition(0),clus_R->getPosition(0));
79 const float delta_z = fabs(clus_T->getPosition(1)-clus_R->getPosition(1));
83 stat += delta_z / (ismatcher->
tol_pitch_z_MVTX * std::max(clus_T->getZSize(), clus_R->getZSize()));
99 const float delta_t = fabs(clus_T->getPosition(1)-clus_R->getPosition(1));
103 stat += delta_t / (ismatcher->
tol_step_t_TPC * std::max(clus_T->getZSize(), clus_R->getZSize()));