Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4tgrSolidMultiUnion.cc File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4tgrSolidMultiUnion &sol)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const G4tgrSolidMultiUnion sol 
)

Definition at line 111 of file G4tgrSolidMultiUnion.cc.

112{
113 os << "G4tgrSolidMultiUnion= " << sol.theName << " of type " << sol.theType
114 << " PARAMS: ";
115 if(sol.theSolidParams.size() != 0)
116 {
117 std::vector<G4double> solpar = *(sol.theSolidParams[0]);
118 for(std::size_t ii = 0; ii < solpar.size(); ++ii)
119 {
120 os << solpar[ii] << " ";
121 }
122 }
123 os << G4endl;
124
125 return os;
126}
#define G4endl
Definition: G4ios.hh:57
G4String theType
Definition: G4tgrSolid.hh:68
G4String theName
Definition: G4tgrSolid.hh:66