Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
G4GeometryCellStepStream.hh File Reference
#include "G4GeometryCell.hh"
#include "G4GeometryCellStep.hh"

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

#define G4GeometryCellStepStream_hh   G4GeometryCellStepStream_hh

Definition at line 39 of file G4GeometryCellStepStream.hh.

Function Documentation

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

Definition at line 40 of file G4GeometryCellStepStream.cc.

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

41 {
42  out << "Volume name = " << tk.GetPhysicalVolume().GetName() << ", ";
43  out << "Replica number = " << tk.GetReplicaNumber();
44  return out;
45 }
const G4String & GetName() const
G4int GetReplicaNumber() const
const G4VPhysicalVolume & GetPhysicalVolume() const
std::ostream& operator<< ( std::ostream &  out,
const G4GeometryCellStep ps 
)

Definition at line 47 of file G4GeometryCellStepStream.cc.

References G4GeometryCellStep::GetCrossBoundary(), G4GeometryCellStep::GetPostGeometryCell(), and G4GeometryCellStep::GetPreGeometryCell().

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