Geant4 11.2.2
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 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}