Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PhysicalVolumeModel.cc File Reference
#include "G4PhysicalVolumeModel.hh"
#include "G4VGraphicsScene.hh"
#include "G4VPhysicalVolume.hh"
#include "G4VPVParameterisation.hh"
#include "G4LogicalVolume.hh"
#include "G4VSolid.hh"
#include "G4SubtractionSolid.hh"
#include "G4IntersectionSolid.hh"
#include "G4Material.hh"
#include "G4VisAttributes.hh"
#include "G4BoundingExtentScene.hh"
#include "G4PhysicalVolumeSearchScene.hh"
#include "G4TransportationManager.hh"
#include "G4Polyhedron.hh"
#include "HepPolyhedronProcessor.h"
#include "G4AttDefStore.hh"
#include "G4AttDef.hh"
#include "G4AttValue.hh"
#include "G4UnitsTable.hh"
#include "G4Vector3D.hh"
#include <sstream>
#include <iomanip>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 991 of file G4PhysicalVolumeModel.cc.

993{
995 if (pPV) {
996 os << pPV->GetName()
997 << ' ' << node.GetCopyNo()
998// << '[' << node.GetNonCulledDepth() << ']'
999// << ':' << node.GetTransform()
1000 ;
1001// os << " (";
1002// if (!node.GetDrawn()) os << "not ";
1003// os << "drawn)";
1004 } else {
1005 os << " (Null PV node)";
1006 }
1007 return os;
1008}
const G4String & GetName() const

◆ operator<<() [2/2]

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

Definition at line 1010 of file G4PhysicalVolumeModel.cc.

1012{
1013 if (path.empty()) {
1014 os << " TOP";
1015 } else {
1016 for (const auto& nodeID: path) {
1017 os << ' ' << nodeID;
1018 }
1019 }
1020 return os;
1021}