43 #ifndef G4TWISTEDTUBS_HH
44 #define G4TWISTEDTUBS_HH
111 const G4bool calcnorm =
false,
112 G4bool* validnorm =
nullptr,
125 std::ostream &
StreamInfo(std::ostream& os)
const;
241 if (
this == &r) {
return *
this; }
270 if (&r ==
this) {
return *
this; }
294 if (
this == &r) {
return *
this; }
317 if (
this == &r) {
return *
this; }
349 fEndZ[0] = negativeEndz;
350 fEndZ[1] = positiveEndz;
352 fEndZ2[1] = fEndZ[1] * fEndZ[1];
358 if (std::fabs(fEndZ[0]) >= std::fabs(fEndZ[1]))
369 G4double innerNumerator = std::fabs(fInnerRadius * tanHalfTwist) *
parity;
370 G4double outerNumerator = std::fabs(fOuterRadius * tanHalfTwist) *
parity;
388 G4cout <<
"/********* G4TwistedTubs::SetFields() Field Parameters ***************** " <<
G4endl;
390 G4cout <<
"/* fEndZ(0, 1) : " << fEndZ[0] <<
" , " << fEndZ[1] <<
G4endl;
392 G4cout <<
"/* fInnerRadius, fOuterRadius : " << fInnerRadius <<
" , " << fOuterRadius <<
G4endl;
399 G4cout <<
"/*********************************************************************** " <<
G4endl;