52 : faxis(axis), fnDiv( nDiv), fwidth(step), foffset(offset),
53 fDivisionType(divType), fmotherSolid( motherSolid ), fReflectedSolid(false),
54 fDeleteSolid(false), theVoluFirstCopyNo(1), fhgap(0.)
59 G4cout <<
" G4VDivisionParameterisation no divisions " <<
fnDiv
107 G4cout <<
" G4VDivisionParameterisation::CalculateNDiv: "
108 << ( motherDim - offset ) / width
109 <<
" Motherdim: " << motherDim <<
", Offset: " << offset
110 <<
", Width: " << width <<
G4endl;
113 return G4int( ( motherDim - offset ) / width );
122 G4cout <<
" G4VDivisionParameterisation::CalculateWidth: "
123 << ( motherDim - offset ) / nDiv
124 <<
", Motherdim: " << motherDim <<
", Offset: " << offset
125 <<
", Number of divisions: " << nDiv <<
G4endl;
128 return ( motherDim - offset ) / nDiv;
145 message <<
"Configuration not supported." <<
G4endl
147 <<
" has too big offset = " <<
G4endl
148 <<
" " <<
foffset <<
" > " << maxPar <<
" !";
149 G4Exception(
"G4VDivisionParameterisation::CheckOffset()",
161 message <<
"Configuration not supported." <<
G4endl
163 <<
" has too big offset + width*nDiv = " <<
G4endl
168 G4Exception(
"G4VDivisionParameterisation::CheckNDivAndWidth()",
static const G4int verbose
virtual ~G4VDivisionParameterisation()
DivisionType fDivisionType
CLHEP::HepRotation G4RotationMatrix
void message(RunManager *runmanager)
virtual G4VSolid * ComputeSolid(const G4int, G4VPhysicalVolume *)
G4VDivisionParameterisation(EAxis axis, G4int nDiv, G4double width, G4double offset, DivisionType divType, G4VSolid *motherSolid=0)
static G4ThreadLocal G4RotationMatrix * fRot
virtual G4double GetMaxParameter() const =0
virtual G4VSolid * ComputeSolid(const G4int, G4VPhysicalVolume *)
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual void CheckParametersValidity()
HepRotation & rotateZ(double delta)
G4GLOB_DLL std::ostream G4cout
void CheckNDivAndWidth(G4double maxPar)
void SetRotation(G4RotationMatrix *)
static G4GeometryTolerance * GetInstance()
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
void CheckOffset(G4double maxPar)
virtual G4GeometryType GetEntityType() const =0
G4double GetSurfaceTolerance() const
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const