Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PhysicalVolumeModel.hh File Reference
#include "G4VModel.hh"
#include "G4ModelingParameters.hh"
#include "G4VTouchable.hh"
#include "G4Transform3D.hh"
#include "G4Plane3D.hh"
#include <iostream>
#include <vector>
#include <map>

Go to the source code of this file.

Classes

class  G4PhysicalVolumeModel
class  G4PhysicalVolumeModel::G4PhysicalVolumeNodeID
class  G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable
struct  G4PhysicalVolumeModel::TouchableProperties

Functions

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

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 1132 of file G4PhysicalVolumeModel.cc.

1134{
1136 if (pPV) {
1137 os << pPV->GetName()
1138 << ' ' << node.GetCopyNo()
1139// << '[' << node.GetNonCulledDepth() << ']'
1140// << ':' << node.GetTransform()
1141 ;
1142// os << " (";
1143// if (!node.GetDrawn()) os << "not ";
1144// os << "drawn)";
1145 } else {
1146 os << " (Null PV node)";
1147 }
1148 return os;
1149}
G4VPhysicalVolume is an abstract base class for the representation of a positioned volume....
const G4String & GetName() const

◆ operator<<() [2/2]

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

Definition at line 1151 of file G4PhysicalVolumeModel.cc.

1153{
1154 if (path.empty()) {
1155 os << " TOP";
1156 } else {
1157 for (const auto& nodeID: path) {
1158 os << ' ' << nodeID;
1159 }
1160 }
1161 return os;
1162}