23 for (
unsigned int phi_segment = 0; phi_segment <
max_phisegment; phi_segment++)
25 for (
unsigned int z_segment = 0; z_segment <
max_zsegment; z_segment++)
36 std::multimap<TrkrDefs::cluskey, TrkrDefs::hitkey>::const_iterator iter;
37 os <<
"-----TrkrClusterHitAssocv2-----" << std::endl;
38 os <<
"Number of associations: " <<
size() << std::endl;
41 for (
unsigned int phi_segment = 0; phi_segment <
max_phisegment; phi_segment++)
43 for (
unsigned int z_segment = 0; z_segment <
max_zsegment; z_segment++)
45 for (
const auto& pair :
m_map[
layer][phi_segment][z_segment])
47 os <<
"clus key " << pair.first << std::dec
49 <<
" hit key: " << pair.second << std::endl;
54 os <<
"------------------------------" << std::endl;
69 m_map[
layer][sector][side].insert(std::make_pair(ckey, hidx));
74 <<
"TrkrClusterHitAssocv2::addAssoc - out of range access."
75 <<
" layer: " << layer
76 <<
" sector: " << sector
97 <<
"TrkrClusterHitAssocv2::getClusterMap - out of range access."
98 <<
" layer: " << layer
99 <<
" sector: " << sector
116 return std::make_pair(
m_map[layer][sector][side].lower_bound(ckey),
m_map[layer][sector][side].upper_bound(ckey));
121 <<
"TrkrClusterHitAssocv2::getHits - out of range access."
122 <<
" layer: " << layer
123 <<
" sector: " << sector
126 return std::make_pair(dummy_map.cbegin(), dummy_map.cend());
133 unsigned int size = 0;
136 for (
unsigned phi_segment = 0; phi_segment <
max_phisegment; phi_segment++)
138 for (
unsigned z_segment = 0; z_segment <
max_zsegment; z_segment++)
140 size +=
m_map[
layer][phi_segment][z_segment].size();