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