Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PhysicalVolumeModel.hh File Reference
#include "G4VModel.hh"
#include "G4VTouchable.hh"
#include "G4Transform3D.hh"
#include "G4Plane3D.hh"
#include <iostream>
#include <vector>
#include <map>
Include dependency graph for G4PhysicalVolumeModel.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4PhysicalVolumeModel
 
class  G4PhysicalVolumeModel::G4PhysicalVolumeNodeID
 
class  G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable
 

Functions

std::ostream & operator<< (std::ostream &os, const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID &)
 
std::ostream & operator<< (std::ostream &os, const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID  
)

Definition at line 903 of file G4PhysicalVolumeModel.cc.

904 {
905  G4VPhysicalVolume* pPV = node.GetPhysicalVolume();
906  if (pPV) {
907  os << pPV->GetName()
908  << ' ' << node.GetCopyNo()
909 // << '[' << node.GetNonCulledDepth() << ']'
910 // << ':' << node.GetTransform()
911  ;
912 // os << " (";
913 // if (!node.GetDrawn()) os << "not ";
914 // os << "drawn)";
915  } else {
916  os << " (Null node)";
917  }
918  return os;
919 }
const G4String & GetName() const

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &   
)

Definition at line 922 of file G4PhysicalVolumeModel.cc.

923 {
924  for (const auto& nodeID: path) {
925  os << nodeID << ' ';
926  }
927  return os;
928 }