Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4tgrSolidBoolean.cc File Reference
#include "G4tgrSolidBoolean.hh"
#include "G4tgrUtils.hh"
#include "G4tgrVolume.hh"
#include "G4tgrVolumeMgr.hh"
#include "G4tgrMessenger.hh"
#include "G4tgrFileReader.hh"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 108 of file G4tgrSolidBoolean.cc.

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