53 if ( m_verbose > 0 ) {
55 <<
"\" " << d <<
"." <<
G4endl;
57 if ( theCatalog.find(d->
GetName()) != theCatalog.end() ) {
67 if ( m_verbose > 0 ) {
69 <<
"\" " << d <<
"." <<
G4endl;
71 if ( theStore.find(d->
DMname()) != theStore.end() ) {
81 if ( theCatalog.find(name) == theCatalog.end() ) {
82 G4cout <<
"Digit Collection I/O manager entry \"" << name
83 <<
"\" not found!" <<
G4endl;
94 if ( theStore.find(name) == theStore.end() ) {
95 G4cout <<
"Digit Collection I/O manager \"" << name
96 <<
"\" not found!" <<
G4endl;
107 G4cout <<
"I/O manager entries: ";
109 DCIOmap::const_iterator it;
110 for ( it=theCatalog.begin(); it != theCatalog.end(); it++ ) {
118 std::string list =
"";
119 DCIOstore::const_iterator it;
120 for ( it=theStore.begin(); it != theStore.end(); it++ ) {
121 list += (*it).first +
" ";
129 G4cout <<
"I/O managers: ";
131 DCIOstore::const_iterator it;
132 for ( it=theStore.begin(); it != theStore.end(); it++ ) {
133 G4cout <<
" --- " << (*it).first
134 <<
", " << (*it).second <<
"." <<
G4endl;
142 DCIOstore::const_iterator it;
143 for ( it=theStore.begin(); it != theStore.end(); it++ ) {
144 if (i++ == n)
return (*it).second;
G4DLLIMPORT std::ostream G4cout
void RegisterEntry(G4VDCIOentry *d)
G4VDCIOentry * GetEntry(std::string name)
std::string CurrentDCIOmanager()
static G4DCIOcatalog * GetDCIOcatalog()
void RegisterDCIOmanager(G4VPDigitsCollectionIO *d)
G4VPDigitsCollectionIO * GetDCIOmanager(std::string name)