Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4GeometryCellStepStream.cc 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 40 of file G4GeometryCellStepStream.cc.

41{
42 out << "Volume name = " << tk.GetPhysicalVolume().GetName() << ", ";
43 out << "Replica number = " << tk.GetReplicaNumber();
44 return out;
45}
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 47 of file G4GeometryCellStepStream.cc.

48{
49 out << "PreGeometryCell : " << ps.GetPreGeometryCell() << " ";
50 out << "PostGeometryCell: " << ps.GetPostGeometryCell() << " ";
51 out << "CrossBoundary : " << ps.GetCrossBoundary() << "\n";
52 return out;
53}
const G4GeometryCell & GetPreGeometryCell() const
G4bool GetCrossBoundary() const
const G4GeometryCell & GetPostGeometryCell() const