Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4tgrVolumeAssembly.cc File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4tgrVolumeAssembly &obj)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const G4tgrVolumeAssembly obj 
)

Definition at line 123 of file G4tgrVolumeAssembly.cc.

124{
125 os << "G4tgrVolumeAssembly= " << obj.theName;
126
127 for(std::size_t ii = 0; ii < obj.theComponentNames.size(); ++ii)
128 {
129 os << obj.theComponentNames[ii]
130 << " RotMatName= " << obj.theComponentRMs[ii]
131 << " Position= " << obj.theComponentPos[ii].x() << " "
132 << obj.theComponentPos[ii].y() << " " << obj.theComponentPos[ii].z();
133 }
134 os << G4endl;
135
136 return os;
137}
#define G4endl
Definition: G4ios.hh:57
std::vector< G4ThreeVector > theComponentPos
std::vector< G4String > theComponentRMs
std::vector< G4String > theComponentNames
G4String theName
Definition: G4tgrVolume.hh:102