Geant4 11.2.2
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 "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 1070 of file G4PhysicalVolumeModel.cc.

1072{
1074 if (pPV) {
1075 os << pPV->GetName()
1076 << ' ' << node.GetCopyNo()
1077// << '[' << node.GetNonCulledDepth() << ']'
1078// << ':' << node.GetTransform()
1079 ;
1080// os << " (";
1081// if (!node.GetDrawn()) os << "not ";
1082// os << "drawn)";
1083 } else {
1084 os << " (Null PV node)";
1085 }
1086 return os;
1087}
const G4String & GetName() const

◆ operator<<() [2/2]

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

Definition at line 1089 of file G4PhysicalVolumeModel.cc.

1091{
1092 if (path.empty()) {
1093 os << " TOP";
1094 } else {
1095 for (const auto& nodeID: path) {
1096 os << ' ' << nodeID;
1097 }
1098 }
1099 return os;
1100}