Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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 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}
const G4GeometryCell & GetPreGeometryCell() const
G4bool GetCrossBoundary() const
const G4GeometryCell & GetPostGeometryCell() const