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++)
41 os <<
"-----TrkrClusterContainerv2-----" << std::endl;
42 os <<
"Number of clusters: " <<
size() << std::endl;
46 for (
unsigned int phi_segment = 0; phi_segment <
max_phisegment; phi_segment++)
48 for (
unsigned int z_segment = 0; z_segment <
max_zsegment; z_segment++)
50 const auto iter =
m_clusmap[
layer][phi_segment][z_segment].begin();
54 std::cout <<
"layer: " <<
layer <<
" | " << flayer
55 <<
" phi_seg: " << phi_segment <<
" | " << fsector
56 <<
" z_seg: " << z_segment <<
" | " << fside
62 os <<
"clus key " << pair.first <<
" layer " <<
TrkrDefs::getLayer(pair.first) << std::endl;
69 os <<
"------------------------------" << std::endl;
87 <<
"TrkrClusterContainerv2::removeCluster - out of range access."
88 <<
" layer: " << layer
89 <<
" sector: " << sector
105 const auto [iter, success] =
m_clusmap[
layer][sector][side].insert(std::make_pair(key, newclus));
108 std::cout <<
"TrkrClusterContainerv2::AddClusterSpecifyKey: duplicate key: " << key <<
" exiting now" << std::endl;
115 <<
"TrkrClusterContainerv2::addClusterSpecifyKey - out of range access."
116 <<
" layer: " << layer
117 <<
" sector: " << sector
134 return std::make_pair(
m_clusmap[layer][sector][side].cbegin(),
m_clusmap[layer][sector][side].cend());
139 <<
"TrkrClusterContainerv2::getClusters - out of range access."
140 <<
" layer: " << layer
141 <<
" sector: " << sector
145 return std::make_pair(dummy_map.cbegin(), dummy_map.cend());
172 <<
"TrkrClusterContainerv2::findOrAddCluster - out of range access."
173 <<
" layer: " << layer
174 <<
" sector: " << sector
184 unsigned int size = 0;
187 for (
unsigned phi_segment = 0; phi_segment <
max_phisegment; phi_segment++)
189 for (
unsigned z_segment = 0; z_segment <
max_zsegment; z_segment++)