50 G4int theMaxPointsPerError )
51 : out(o), maxPointsPerError(theMaxPointsPerError)
64 o << std::setprecision(6) << std::setw(14) <<
p.x()/
cm;
65 o << std::setprecision(6) << std::setw(14) <<
p.y()/
cm;
66 o << std::setprecision(6) << std::setw(14) <<
p.z()/
cm;
85 o << volume->GetName() <<
"[" << volume->GetCopyNo() <<
"]";
103 out <<
"GeomTest Error: SolidProblem\n"
104 <<
" " << message <<
"\n"
105 <<
" Solid name = " << solid->
GetName() <<
"\n"
106 <<
" Local position = " <<
PrintPos(point) << std::endl;
115 out << message << std::endl;
128 out <<
"GeomTest Error: Overlapping daughter volumes\n"
133 <<
" appear to overlap at the following " << (n>1 ?
"points" :
"point")
134 <<
" in global coordinates:";
136 G4int nInterval, nStop;
144 out <<
" (list truncated)\n";
153 for(i=0;i<nStop;i+=nInterval) {
158 out <<
" Which in the mother coordinate system " <<
IsAre(n) <<
":\n";
161 for(i=0;i<nStop;i+=nInterval) {
166 out <<
" Which in the coordinate system of "
170 for(i=0;i<nStop;i+=nInterval) {
175 out <<
" Which in the coordinate system of "
179 for(i=0;i<nStop;i+=nInterval) {
197 out <<
"GeomTest Error: Overshooting daughter volume\n"
199 <<
" appears to extend outside the mother volume "
201 <<
" at the following " << (n>1 ?
"points" :
"point")
202 <<
" in global coordinates:";
205 G4int nInterval, nStop;
213 out <<
" (list truncated)\n";
222 for(i=0;i<nStop;i+=nInterval) {
227 out <<
" Which in the mother coordinate system " <<
IsAre(n) <<
":\n";
230 for(i=0;i<nStop;i+=nInterval) {
235 out <<
" Which in the coordinate system of "
239 for(i=0;i<nStop;i+=nInterval) {
256 static const char *header =
257 " length (cm) ---------- start position (cm) ----------- ----------- end position (cm) ------------\n";
273 out <<
" " << std::setprecision(6) << std::setw(14)
287 const char *is =
"is";
288 const char *are =
"are";
290 return n > 1 ? are : is;