47 theLVs.insert(mmslv::value_type(
string, logv));
49 G4cout <<
"CCalSensitiveDetectors : Register " << logv->
GetName()
50 <<
" in category " <<
string <<
G4endl;
57 mmslv::const_iterator mmscite;
58 std::pair<mmslv::iterator, mmslv::iterator> mmsdi;
59 mmsdi = theLVs.equal_range(
string);
60 std::vector<G4LogicalVolume*> lvs;
61 for (mmscite = mmsdi.first; mmscite != mmsdi.second; mmscite++ ) {
62 lvs.push_back(const_cast<G4LogicalVolume*>((*mmscite).second));
65 if (exist)
G4cout <<
"CCalSensitiveDetector : " << lvs.size()
66 <<
" detectors for " <<
string <<
G4endl;
76 mmslv::const_iterator mmscite;
77 std::pair<mmslv::iterator, mmslv::iterator> mmsdi;
78 mmsdi = theLVs.equal_range(
string);
79 for (mmscite = mmsdi.first; mmscite != mmsdi.second; mmscite++ ) {