G4GeometryCellStepStream.hh File Reference

#include "G4GeometryCell.hh"
#include "G4GeometryCellStep.hh"

Go to the source code of this file.

Defines

#define G4GeometryCellStepStream_hh   G4GeometryCellStepStream_hh

Functions

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


Define Documentation

#define G4GeometryCellStepStream_hh   G4GeometryCellStepStream_hh

Definition at line 39 of file G4GeometryCellStepStream.hh.


Function Documentation

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

Definition at line 47 of file G4GeometryCellStepStream.cc.

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.

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