Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4tgrVolumeAssembly.cc File Reference
Include dependency graph for G4tgrVolumeAssembly.cc:

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 131 of file G4tgrVolumeAssembly.cc.

132 {
133  os << "G4tgrVolumeAssembly= " << obj.theName;
134 
135  for( size_t ii = 0; ii < obj.theComponentNames.size(); ii++ )
136  {
137  os << obj.theComponentNames[ii] << " RotMatName= "
138  << obj.theComponentRMs[ii] << " Position= "
139  << obj.theComponentPos[ii].x() << " "
140  << obj.theComponentPos[ii].y() << " "
141  << obj.theComponentPos[ii].z();
142  }
143  os << G4endl;
144 
145  return os;
146 }
std::vector< G4ThreeVector > theComponentPos
G4String theName
Definition: G4tgrVolume.hh:108
std::vector< G4String > theComponentRMs
#define G4endl
Definition: G4ios.hh:61
std::vector< G4String > theComponentNames