102 if (systemName==
"ROOT")
104 G4cout<<
" G4PersistencyCenter: \"ROOT\" Persistency Package is selected."
113 else if (systemName==
"ODBMS")
115 G4cout<<
" G4PersistencyCenter: \"ODBMS\" package is selected."<<
G4endl;
125 G4cout<<
" G4PersistencyCenter: Default is selected."<<
G4endl;
160 G4cerr <<
"!! unknown object type " << objName <<
" for output."
171 G4cerr <<
"!! unknown object type " << objName <<
" for input."
202 G4cerr <<
"!! unknown object type " << objName <<
" for output."
219 G4cerr <<
"!! File \"" << objName <<
"\" does not exist."
250 FileMap::iterator itr;
252 if ( file == (*itr).second )
return (*itr).first;
255 if ( file == (*itr).second )
return (*itr).first;
269 G4cerr <<
"Error! -- HCIO assignment failed for detector " << detName
270 <<
", collection " << colName <<
G4endl;
286 std::string colName =
"";
291 G4cerr <<
"Error! -- DCIO assignment failed for detector " << detName
292 <<
", collection " << colName <<
G4endl;
309 ObjMap::iterator itr;
314 G4cout <<
"Output object types and file names:" <<
G4endl;
316 name = (*itr).second;
318 if ( name !=
"HepMC" && name !=
"MCTruth" ) {
323 }
else if ( mode ==
kOff ) {
329 if ( file ==
"" ) file =
" <N/A>";
335 G4cout <<
"Input object types and file names:" <<
G4endl;
337 name = (*itr).second;
339 if ( name !=
"HepMC" && name !=
"MCTruth" ) {
347 if ( file ==
"" ) file =
" <N/A>";
360 G4cout <<
"Hit IO Manager catalog is not registered." <<
G4endl;
370 G4cout <<
"Digit IO Manager catalog is not registered." <<
G4endl;
413 if ( name.length() > width ) {
414 return name.substr(0,width-1) +
"#";
416 std::string wname =
name;
417 for (
unsigned int i=0; i < width-name.length(); i++) wname = wname +
" ";