Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CrossSectionFactoryRegistry.cc File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &msg, const G4CrossSectionFactoryRegistry &rhs)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  msg,
const G4CrossSectionFactoryRegistry rhs 
)

Definition at line 98 of file G4CrossSectionFactoryRegistry.cc.

98 {
99 msg<<"Factory Registry "<<&rhs<<" has factories: [";
100 for ( std::map<G4String,G4VBaseXSFactory*>::const_iterator it =rhs.factories.begin() ;
101 it != rhs.factories.end() ; ++it )
102 {
103 msg<<(*it).first<<":"<<(*it).second<<",";
104 }
105 msg<<"]";
106 return msg;
107}