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