59 msol = (
G4Box*)(mConstituentSolid);
92 G4cout <<
" G4ParameterisationBoxX - no divisions "
130 std::ostringstream message;
131 message <<
"Only axes along X are allowed ! Axis: " <<
faxis;
132 G4Exception(
"G4ParameterisationBoxX::ComputeTransformation()",
138 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxX: "
140 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
166 G4cout <<
" G4ParameterisationBoxX::ComputeDimensions()" <<
G4endl
167 <<
" pDx: " << pDz <<
G4endl;
196 G4cout <<
" G4ParameterisationBoxY - no divisions " <<
fnDiv <<
" = "
197 << nDiv <<
". Offset " <<
foffset <<
" = " << offset
232 std::ostringstream message;
233 message <<
"Only axes along Y are allowed ! Axis: " <<
faxis;
234 G4Exception(
"G4ParameterisationBoxY::ComputeTransformation()",
240 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxY: "
242 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
268 G4cout <<
" G4ParameterisationBoxY::ComputeDimensions()" <<
G4endl
269 <<
" pDx: " << pDz <<
G4endl;
297 G4cout <<
" G4ParameterisationBoxZ - no divisions " <<
fnDiv <<
" = "
298 << nDiv <<
". Offset " <<
foffset <<
" = " << offset
334 std::ostringstream message;
335 message <<
"Only axes along Z are allowed ! Axis: " <<
faxis;
336 G4Exception(
"G4ParameterisationBoxZ::ComputeTransformation()",
342 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxZ: "
344 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
370 G4cout <<
" G4ParameterisationBoxZ::ComputeDimensions()" <<
G4endl
371 <<
" pDx: " << pDz <<
G4endl;
G4double GetXHalfLength() const
virtual void CheckParametersValidity()
void SetZHalfLength(G4double dz)
static const G4int verbose
G4ParameterisationBoxZ(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4ParameterisationBoxY(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4ParameterisationBoxX(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
void SetType(const G4String &type)
virtual ~G4VParameterisationBox()
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
G4double GetMaxParameter() const
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
virtual G4GeometryType GetEntityType() const =0
G4double GetZHalfLength() const
G4GLOB_DLL std::ostream G4cout
G4double GetMaxParameter() const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
~G4ParameterisationBoxY()
void SetTranslation(const G4ThreeVector &v)
G4double GetYHalfLength() const
~G4ParameterisationBoxX()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void ComputeDimensions(G4Box &box, const G4int copyNo, const G4VPhysicalVolume *physVol) const
~G4ParameterisationBoxZ()
G4VParameterisationBox(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
void ComputeDimensions(G4Box &box, const G4int copyNo, const G4VPhysicalVolume *physVol) const
void SetYHalfLength(G4double dy)
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
void SetXHalfLength(G4double dx)
G4double GetMaxParameter() const
void ComputeDimensions(G4Box &box, const G4int copyNo, const G4VPhysicalVolume *physVol) const