G4GeometryCellStepStream.cc File Reference

#include "G4GeometryCellStepStream.hh"
#include "G4VPhysicalVolume.hh"
#include "G4GeometryCellStep.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const G4GeometryCell &tk)
std::ostream & operator<< (std::ostream &out, const G4GeometryCellStep &ps)


Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const G4GeometryCellStep ps 
)

Definition at line 47 of file G4GeometryCellStepStream.cc.

References G4GeometryCellStep::GetCrossBoundary(), G4GeometryCellStep::GetPostGeometryCell(), and G4GeometryCellStep::GetPreGeometryCell().

00048 {
00049   out << "PreGeometryCell : " <<  ps.GetPreGeometryCell() << " ";
00050   out << "PostGeometryCell: " <<  ps.GetPostGeometryCell() << " ";
00051   out << "CrossBoundary   : " <<  ps.GetCrossBoundary() << "\n";
00052   return out;
00053 }

std::ostream& operator<< ( std::ostream &  out,
const G4GeometryCell tk 
)

Definition at line 40 of file G4GeometryCellStepStream.cc.

References G4VPhysicalVolume::GetName(), G4GeometryCell::GetPhysicalVolume(), and G4GeometryCell::GetReplicaNumber().

00041 {
00042   out << "Volume name = " << tk.GetPhysicalVolume().GetName() << ", ";
00043   out << "Replica number = " << tk.GetReplicaNumber();
00044   return out;
00045 }


Generated on Mon May 27 17:50:45 2013 for Geant4 by  doxygen 1.4.7