45 for (
size_t i=0; i< fMedVector->size(); i++) {
47 if (
id == mte->
GetID())
return mte;
57 fMedVector->push_back(mte);
62 if (i<0 || i>=
G4int(fMedVector->size()))
65 return (*fMedVector)[i];
70 return (
G4int)fMedVector->size();
76 while (fMedVector->size()>0) {
77 a = fMedVector->back();
78 fMedVector->pop_back();
79 for (G3MediumVector::iterator i=fMedVector->begin();
80 i!=fMedVector->end();){
82 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)