updated for geant4.2.0 (processNameList type in PrintAllProcesses())
[u/mrichter/AliRoot.git] / TGeant4 / TG4PhysicsList.cxx
index b9e3088d2f79513243dfd1c2b66879bab547deb9..e8ddbfc4f60b1f21d565be17af20e288893d2862 100644 (file)
@@ -187,9 +187,10 @@ void TG4PhysicsList::PrintAllProcesses() const
   G4cout << "========================= " << endl;
  
   G4ProcessTable* processTable = G4ProcessTable::GetProcessTable();
-  TG4StringVector* processNameList = processTable->GetNameList();
+  G4ProcessTable::G4ProcNameVector* processNameList 
+    = processTable->GetNameList();
 
-  for (G4int i=0; i <processNameList->entries(); i++){
+  for (G4int i=0; i <processNameList->size(); i++){
     G4cout << "   " << (*processNameList)[i] << endl;
   }  
 }