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->
SDname()) != theStore.end() ) {
81 if ( theCatalog.find(name) == theCatalog.end() ) {
82 G4cout <<
"Hit Collection I/O manager entry \"" << name
83 <<
"\" not found!" << std::endl;
94 if ( theStore.find(name) == theStore.end() ) {
95 G4cout <<
"Hit Collection I/O manager \"" << name
96 <<
"\" not found!" <<
G4endl;
107 G4cout <<
"I/O manager entries: ";
109 HCIOmap::const_iterator it;
110 for ( it=theCatalog.begin(); it != theCatalog.end(); it++ ) {
118 std::string list =
"";
119 HCIOstore::const_iterator it;
120 for ( it=theStore.begin(); it != theStore.end(); it++ ) {
121 list += (*it).first +
" ";
129 G4cout <<
"I/O managers: ";
131 HCIOstore::const_iterator it;
132 for ( it=theStore.begin(); it != theStore.end(); it++ ) {
133 G4cout <<
" --- " << (*it).first
134 <<
", " << (*it).second <<
"." <<
G4endl;
142 HCIOstore::const_iterator it;
143 for ( it=theStore.begin(); it != theStore.end(); it++ ) {
144 if (i++ == n)
return (*it).second;
G4VHCIOentry * GetEntry(std::string name)
std::string CurrentHCIOmanager()
void RegisterEntry(G4VHCIOentry *d)
static G4HCIOcatalog * GetHCIOcatalog()
G4GLOB_DLL std::ostream G4cout
G4VPHitsCollectionIO * GetHCIOmanager(std::string name)
void RegisterHCIOmanager(G4VPHitsCollectionIO *d)