Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4tgrSolid.cc File Reference
#include <map>
#include <set>
#include "G4tgrSolid.hh"
#include "G4SystemOfUnits.hh"
#include "G4tgrUtils.hh"
#include "G4tgrMessenger.hh"
#include "G4tgrVolumeMgr.hh"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 190 of file G4tgrSolid.cc.

191{
192 os << "G4tgrSolid= " << sol.theName << " of type " << sol.theType
193 << " PARAMS: ";
194 if(sol.theSolidParams.size() != 0)
195 {
196 std::vector<G4double> solpar = *(sol.theSolidParams[0]);
197 for(std::size_t ii = 0; ii < solpar.size(); ++ii)
198 {
199 os << solpar[ii] << " ";
200 }
201 }
202 os << G4endl;
203
204 return os;
205}
#define G4endl
Definition: G4ios.hh:57
G4String theType
Definition: G4tgrSolid.hh:68
G4String theName
Definition: G4tgrSolid.hh:66
std::vector< std::vector< G4double > * > theSolidParams
Definition: G4tgrSolid.hh:70