Geant4-11
Functions
G4tgrVolumeAssembly.cc File Reference
#include "G4tgrVolumeAssembly.hh"
#include "G4tgrUtils.hh"
#include "G4tgrVolumeMgr.hh"
#include "G4tgrPlaceSimple.hh"
#include "G4tgrPlaceDivRep.hh"
#include "G4tgrPlaceParameterisation.hh"
#include "G4tgrFileReader.hh"
#include "G4tgrMessenger.hh"

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