56 msol = (
G4Box*)(mConstituentSolid);
89 G4cout <<
" G4ParameterisationBoxX - no divisions "
127 std::ostringstream message;
128 message <<
"Only axes along X are allowed ! Axis: " <<
faxis;
129 G4Exception(
"G4ParameterisationBoxX::ComputeTransformation()",
135 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxX: "
137 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
163 G4cout <<
" G4ParameterisationBoxX::ComputeDimensions()" <<
G4endl
164 <<
" pDx: " << pDz <<
G4endl;
193 G4cout <<
" G4ParameterisationBoxY - no divisions " <<
fnDiv <<
" = "
194 << nDiv <<
". Offset " <<
foffset <<
" = " << offset
229 std::ostringstream message;
230 message <<
"Only axes along Y are allowed ! Axis: " <<
faxis;
231 G4Exception(
"G4ParameterisationBoxY::ComputeTransformation()",
237 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxY: "
239 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
265 G4cout <<
" G4ParameterisationBoxY::ComputeDimensions()" <<
G4endl
266 <<
" pDx: " << pDz <<
G4endl;
294 G4cout <<
" G4ParameterisationBoxZ - no divisions " <<
fnDiv <<
" = "
295 << nDiv <<
". Offset " <<
foffset <<
" = " << offset
331 std::ostringstream message;
332 message <<
"Only axes along Z are allowed ! Axis: " <<
faxis;
333 G4Exception(
"G4ParameterisationBoxZ::ComputeTransformation()",
339 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxZ: "
341 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
367 G4cout <<
" G4ParameterisationBoxZ::ComputeDimensions()" <<
G4endl
368 <<
" pDx: " << pDz <<
G4endl;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4double GetYHalfLength() const
G4double GetZHalfLength() const
void SetZHalfLength(G4double dz)
G4double GetXHalfLength() const
void SetYHalfLength(G4double dy)
void SetXHalfLength(G4double dx)
G4ParameterisationBoxX(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
void ComputeDimensions(G4Box &box, const G4int copyNo, const G4VPhysicalVolume *physVol) const
~G4ParameterisationBoxX()
G4double GetMaxParameter() const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
G4ParameterisationBoxY(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4double GetMaxParameter() const
~G4ParameterisationBoxY()
void ComputeDimensions(G4Box &box, const G4int copyNo, const G4VPhysicalVolume *physVol) const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
G4double GetMaxParameter() const
void ComputeDimensions(G4Box &box, const G4int copyNo, const G4VPhysicalVolume *physVol) const
G4ParameterisationBoxZ(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
~G4ParameterisationBoxZ()
virtual void CheckParametersValidity()
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
static const G4int verbose
G4VParameterisationBox(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
virtual ~G4VParameterisationBox()
void SetTranslation(const G4ThreeVector &v)
virtual G4GeometryType GetEntityType() const =0