46 for (
size_t i=0; i< fMedVector->size(); i++) {
48 if (
id == mte->
GetID())
return mte;
58 fMedVector->push_back(mte);
63 if (i<0 || i>=
G4int(fMedVector->size()))
66 return (*fMedVector)[i];
71 return fMedVector->size();
77 while (fMedVector->size()>0) {
78 a = fMedVector->back();
79 fMedVector->pop_back();
80 for (G3MediumVector::iterator i=fMedVector->begin();
81 i!=fMedVector->end();){
83 i = fMedVector->erase(i);
std::vector< G3MedTableEntry * > G3MediumVector
G3MedTableEntry * GetMTE(G4int i) const
G3MedTableEntry * get(G4int id) const
void put(G4int id, G4Material *material, G4MagneticField *field, G4UserLimits *limits, G4int isvol)