Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CrossSectionFactoryRegistry.hh File Reference
#include <ostream>
#include <G4String.hh>
#include <map>

Go to the source code of this file.

Classes

class  G4CrossSectionFactoryRegistry
 

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}