59 msol = (
G4Box*)(mConstituentSolid);
92 G4cout <<
" G4ParameterisationBoxX - no divisions "
130 G4Exception(
"G4ParameterisationBoxX::ComputeTransformation()",
132 "Only axes along X are allowed ! Axis: "+
faxis);
137 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxX: "
139 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
165 G4cout <<
" G4ParameterisationBoxX::ComputeDimensions()" <<
G4endl
166 <<
" pDx: " << pDz <<
G4endl;
195 G4cout <<
" G4ParameterisationBoxY - no divisions " <<
fnDiv <<
" = "
196 << nDiv <<
". Offset " <<
foffset <<
" = " << offset
231 G4Exception(
"G4ParameterisationBoxY::ComputeTransformation()",
233 "Only axes along Y are allowed ! Axis: "+
faxis);
238 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxY: "
240 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
266 G4cout <<
" G4ParameterisationBoxY::ComputeDimensions()" <<
G4endl
267 <<
" pDx: " << pDz <<
G4endl;
295 G4cout <<
" G4ParameterisationBoxZ - no divisions " <<
fnDiv <<
" = "
296 << nDiv <<
". Offset " <<
foffset <<
" = " << offset
332 G4Exception(
"G4ParameterisationBoxZ::ComputeTransformation()",
334 "Only axes along Z are allowed ! Axis: "+
faxis);
339 G4cout << std::setprecision(8) <<
" G4ParameterisationBoxZ: "
341 <<
" Position " << origin <<
" Axis " <<
faxis <<
G4endl;
367 G4cout <<
" G4ParameterisationBoxZ::ComputeDimensions()" <<
G4endl
368 <<
" pDx: " << pDz <<
G4endl;
G4DLLIMPORT 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
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
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)