Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4GeometryCellStepStream.hh File Reference

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

◆ operator<<() [1/2]

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

Definition at line 35 of file G4GeometryCellStepStream.cc.

36{
37 out << "Volume name = " << tk.GetPhysicalVolume().GetName() << ", ";
38 out << "Replica number = " << tk.GetReplicaNumber();
39 return out;
40}
G4int GetReplicaNumber() const
const G4VPhysicalVolume & GetPhysicalVolume() const
const G4String & GetName() const

◆ operator<<() [2/2]

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

Definition at line 42 of file G4GeometryCellStepStream.cc.

43{
44 out << "PreGeometryCell : " << ps.GetPreGeometryCell() << " ";
45 out << "PostGeometryCell: " << ps.GetPostGeometryCell() << " ";
46 out << "CrossBoundary : " << ps.GetCrossBoundary() << "\n";
47 return out;
48}