Geant4-11
Typedefs | Functions
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

Definition at line 43 of file G4GeometryCellImportance.hh.

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}