Geant4 11.1.1
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 981 of file G4PhysicalVolumeModel.cc.

983{
985 if (pPV) {
986 os << pPV->GetName()
987 << ' ' << node.GetCopyNo()
988// << '[' << node.GetNonCulledDepth() << ']'
989// << ':' << node.GetTransform()
990 ;
991// os << " (";
992// if (!node.GetDrawn()) os << "not ";
993// os << "drawn)";
994 } else {
995 os << " (Null PV node)";
996 }
997 return os;
998}
const G4String & GetName() const

◆ operator<<() [2/2]

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

Definition at line 1000 of file G4PhysicalVolumeModel.cc.

1002{
1003 if (path.empty()) {
1004 os << " TOP";
1005 } else {
1006 for (const auto& nodeID: path) {
1007 os << ' ' << nodeID;
1008 }
1009 }
1010 return os;
1011}