Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4PhysicalVolumeModel.cc File Reference
#include "G4PhysicalVolumeModel.hh"
#include "G4VGraphicsScene.hh"
#include "G4VPhysicalVolume.hh"
#include "G4PhysicalVolumeStore.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 "G4TransportationManager.hh"
#include "G4Polyhedron.hh"
#include "HepPolyhedronProcessor.h"
#include "G4AttDefStore.hh"
#include "G4AttDef.hh"
#include "G4AttValue.hh"
#include "G4UnitsTable.hh"
#include "G4Vector3D.hh"
#include "G4Mesh.hh"
#include <sstream>
#include <iomanip>

Go to the source code of this file.

Macros

#define G4warn   G4cout
 

Functions

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

Macro Definition Documentation

◆ G4warn

#define G4warn   G4cout

Definition at line 58 of file G4PhysicalVolumeModel.cc.

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 1076 of file G4PhysicalVolumeModel.cc.

1078{
1080 if (pPV) {
1081 os << pPV->GetName()
1082 << ' ' << node.GetCopyNo()
1083// << '[' << node.GetNonCulledDepth() << ']'
1084// << ':' << node.GetTransform()
1085 ;
1086// os << " (";
1087// if (!node.GetDrawn()) os << "not ";
1088// os << "drawn)";
1089 } else {
1090 os << " (Null PV node)";
1091 }
1092 return os;
1093}
const G4String & GetName() const

◆ operator<<() [2/2]

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

Definition at line 1095 of file G4PhysicalVolumeModel.cc.

1097{
1098 if (path.empty()) {
1099 os << " TOP";
1100 } else {
1101 for (const auto& nodeID: path) {
1102 os << ' ' << nodeID;
1103 }
1104 }
1105 return os;
1106}