Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GeomTestStreamLogger::VolumeNameAndCopy Class Reference

#include <G4GeomTestStreamLogger.hh>

Public Member Functions

 VolumeNameAndCopy (const G4VPhysicalVolume *theVolume)
 
void Print (std::ostream &) const
 

Detailed Description

Definition at line 88 of file G4GeomTestStreamLogger.hh.

Constructor & Destructor Documentation

◆ VolumeNameAndCopy()

G4GeomTestStreamLogger::VolumeNameAndCopy::VolumeNameAndCopy ( const G4VPhysicalVolume theVolume)
inline

Definition at line 91 of file G4GeomTestStreamLogger.hh.

92 : volume(theVolume) {;}

Member Function Documentation

◆ Print()

void G4GeomTestStreamLogger::VolumeNameAndCopy::Print ( std::ostream &  o) const

Definition at line 83 of file G4GeomTestStreamLogger.cc.

84{
85 o << volume->GetName() << "[" << volume->GetCopyNo() << "]";
86}
virtual G4int GetCopyNo() const =0
const G4String & GetName() const

The documentation for this class was generated from the following files: