Geant4-11
Functions
G4GeometryCellStepStream.hh File Reference
#include "G4GeometryCell.hh"
#include "G4GeometryCellStep.hh"

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

References G4VPhysicalVolume::GetName(), G4GeometryCell::GetPhysicalVolume(), and G4GeometryCell::GetReplicaNumber().

◆ 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}
static constexpr double ps
Definition: G4SIunits.hh:157

References ps.