Geant4 9.6.0
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 173 of file G4tgrSolid.cc.

174{
175 os << "G4tgrSolid= " << sol.theName
176 << " of type " << sol.theType << " PARAMS: ";
177 if( sol.theSolidParams.size() != 0 )
178 {
179 std::vector<G4double> solpar = *(sol.theSolidParams[0]);
180 for( size_t ii = 0; ii < solpar.size(); ii++)
181 {
182 os << solpar[ii] << " " ;
183 }
184 }
185 os << G4endl;
186
187 return os;
188}
#define G4endl
Definition: G4ios.hh:52
G4String theType
Definition: G4tgrSolid.hh:75
std::vector< std::vector< G4double > * > theSolidParams
Definition: G4tgrSolid.hh:77
G4String theName
Definition: G4tgrSolid.hh:73