14 const std::vector<Trk::TrackingVolume*>
19 std::vector<Trk::TrackingVolume*> >& glv)
20 : m_glueVolumes(glv) {
24 for (; searchIter != endIter; ++searchIter)
30 std::vector<Trk::TrackingVolume*>& gvs) {
33 searchIter = m_glueVolumes.find(bsf);
34 if (searchIter == m_glueVolumes.end()) m_glueFaces.push_back(bsf);
36 m_glueVolumes[bsf] = gvs;
39 const std::vector<Trk::TrackingVolume*>&
44 searchIter = m_glueVolumes.find(bsf);
45 if (searchIter != endIter)
return searchIter->second;
51 sl <<
"Trk::GlueVolumesDescriptor: " << std::endl;
52 const std::vector<Trk::BoundarySurfaceFace>& glueFaceVector = gvd.
glueFaces();
53 sl <<
" has Tracking Volumes registered for : " << glueFaceVector.size()
54 <<
" Volume faces." << std::endl;
55 std::vector<Trk::BoundarySurfaceFace>::const_iterator glueFaceIter =
56 glueFaceVector.begin();
57 std::vector<Trk::BoundarySurfaceFace>::const_iterator glueFaceIterEnd =
60 for (; glueFaceIter != glueFaceIterEnd; ++glueFaceIter) {
61 const std::vector<Trk::TrackingVolume*>& glueVolumesVector =
63 auto glueVolumeIter = glueVolumesVector.begin();
64 auto glueVolumeIterEnd = glueVolumesVector.end();
66 sl <<
" -----> Processing Face: " <<
int(*glueFaceIter) <<
" - has ";
67 sl << glueVolumesVector.size()
68 <<
" TrackingVolumes marked as 'GlueVolumes' " << std::endl;
69 for (; glueVolumeIter != glueVolumeIterEnd; ++glueVolumeIter)
70 sl <<
" - TrackingVolume: " << (*glueVolumeIter)->volumeName()
78 sl <<
"Trk::GlueVolumesDescriptor: " << std::endl;
79 const std::vector<Trk::BoundarySurfaceFace>& glueFaceVector = gvd.
glueFaces();
80 sl <<
" has Tracking Volumes registered for : " << glueFaceVector.size()
81 <<
" Volume faces." << std::endl;
82 std::vector<Trk::BoundarySurfaceFace>::const_iterator glueFaceIter =
83 glueFaceVector.begin();
84 std::vector<Trk::BoundarySurfaceFace>::const_iterator glueFaceIterEnd =
87 for (; glueFaceIter != glueFaceIterEnd; ++glueFaceIter) {
88 const std::vector<Trk::TrackingVolume*>& glueVolumesVector =
90 auto glueVolumeIter = glueVolumesVector.begin();
91 auto glueVolumeIterEnd = glueVolumesVector.end();
93 sl <<
" -----> Processing Face: " <<
int(*glueFaceIter) <<
" - has ";
94 sl << glueVolumesVector.size()
95 <<
" TrackingVolumes marked as 'GlueVolumes' " << std::endl;
96 for (; glueVolumeIter != glueVolumeIterEnd; ++glueVolumeIter)
97 sl <<
" - TrackingVolume: " << (*glueVolumeIter)->volumeName()