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

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

Definition at line 173 of file G4tgrSolid.cc.

References G4endl, G4tgrSolid::theName, G4tgrSolid::theSolidParams, and G4tgrSolid::theType.

00174 {
00175   os << "G4tgrSolid= " << sol.theName
00176      << " of type " << sol.theType << " PARAMS: ";
00177   if( sol.theSolidParams.size() != 0 )
00178   {
00179     std::vector<G4double> solpar = *(sol.theSolidParams[0]); 
00180     for( size_t ii = 0; ii < solpar.size(); ii++)
00181     {
00182       os << solpar[ii] << " " ;
00183     }
00184   }
00185   os << G4endl;
00186 
00187   return os;
00188 }


Generated on Mon May 27 17:51:10 2013 for Geant4 by  doxygen 1.4.7