Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GeometryCellImportance.hh File Reference
#include <map>
#include "globals.hh"
#include "G4GeometryCell.hh"
#include "G4GeometryCellComp.hh"

Go to the source code of this file.

Typedefs

using G4GeometryCellImportance = std::map< G4GeometryCell, G4double, G4GeometryCellComp >
 

Functions

std::ostream & operator<< (std::ostream &out, const G4GeometryCellImportance &gCelli)
 

Typedef Documentation

◆ G4GeometryCellImportance

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
const G4GeometryCellImportance gCelli 
)

Definition at line 34 of file G4GeometryCellImportance.cc.

36{
37 for (auto it = gCelli.cbegin(); it != gCelli.cend(); ++it)
38 {
39 out << (*it).first << ", importance = ";
40 out << (*it).second << "\n";
41 }
42 return out;
43}