Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GeometryCellStepStream.hh File Reference

Go to the source code of this file.

Macros

#define G4GeometryCellStepStream_hh   G4GeometryCellStepStream_hh
 

Functions

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

Macro Definition Documentation

◆ G4GeometryCellStepStream_hh

#define G4GeometryCellStepStream_hh   G4GeometryCellStepStream_hh

Definition at line 39 of file G4GeometryCellStepStream.hh.

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