59 G4String trackerChamberSDname =
"Tracker";
69 G4cout <<
"Found " << auxmap->size()
70 <<
" volume(s) with auxiliary information."
72 for(G4GDMLAuxMapType::const_iterator iter=auxmap->begin();
73 iter!=auxmap->end(); iter++)
75 G4cout <<
"Volume " << ((*iter).first)->GetName()
76 <<
" has the following list of auxiliary information: "
78 for (G4GDMLAuxListType::const_iterator vit=(*iter).second.begin();
79 vit!=(*iter).second.end(); vit++)
81 G4cout <<
"--> Type: " << (*vit).type
82 <<
" Value: " << (*vit).value <<
G4endl;
90 for(G4GDMLAuxMapType::const_iterator iter=auxmap->begin();
91 iter!=auxmap->end(); iter++)
93 G4cout <<
"Volume " << ((*iter).first)->GetName()
94 <<
" has the following list of auxiliary information: "
96 for (G4GDMLAuxListType::const_iterator vit=(*iter).second.begin();
97 vit!=(*iter).second.end();vit++)
99 if ((*vit).type==
"SensDet")
101 G4cout <<
"Attaching sensitive detector " << (*vit).value
102 <<
" to volume " << ((*iter).first)->GetName()
114 G4cout << (*vit).value <<
" detector not found" <<
G4endl;