Geant4 10.7.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 991 of file G4PhysicalVolumeModel.cc.

993{
995 if (pPV) {
996 os << pPV->GetName()
997 << ' ' << node.GetCopyNo()
998// << '[' << node.GetNonCulledDepth() << ']'
999// << ':' << node.GetTransform()
1000 ;
1001// os << " (";
1002// if (!node.GetDrawn()) os << "not ";
1003// os << "drawn)";
1004 } else {
1005 os << " (Null PV node)";
1006 }
1007 return os;
1008}
const G4String & GetName() const

◆ operator<<() [2/2]

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

Definition at line 1010 of file G4PhysicalVolumeModel.cc.

1012{
1013 if (path.empty()) {
1014 os << " TOP";
1015 } else {
1016 for (const auto& nodeID: path) {
1017 os << ' ' << nodeID;
1018 }
1019 }
1020 return os;
1021}