#include <G4ParameterisationPolyhedra.hh>
|
| G4ParameterisationPolyhedraPhi (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationPolyhedraPhi () |
|
void | CheckParametersValidity () |
|
G4double | GetMaxParameter () const |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const |
|
void | ComputeDimensions (G4Polyhedra &phedra, const G4int copyNo, const G4VPhysicalVolume *physVol) const |
|
| G4VParameterisationPolyhedra (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType) |
|
virtual | ~G4VParameterisationPolyhedra () |
|
| G4VDivisionParameterisation (EAxis axis, G4int nDiv, G4double width, G4double offset, DivisionType divType, G4VSolid *motherSolid=0) |
|
virtual | ~G4VDivisionParameterisation () |
|
virtual G4VSolid * | ComputeSolid (const G4int, G4VPhysicalVolume *) |
|
const G4String & | GetType () const |
|
EAxis | GetAxis () const |
|
G4int | GetNoDiv () const |
|
G4double | GetWidth () const |
|
G4double | GetOffset () const |
|
G4VSolid * | GetMotherSolid () const |
|
void | SetType (const G4String &type) |
|
G4int | VolumeFirstCopyNo () const |
|
void | SetHalfGap (G4double hg) |
|
G4double | GetHalfGap () const |
|
| G4VPVParameterisation () |
|
virtual | ~G4VPVParameterisation () |
|
virtual G4Material * | ComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0) |
|
virtual G4bool | IsNested () const |
|
virtual G4VVolumeMaterialScanner * | GetMaterialScanner () |
|
Definition at line 285 of file G4ParameterisationPolyhedra.cc.
291 SetType(
"DivisionPolyhedraPhi" );
306 G4cout <<
" G4ParameterisationPolyhedraPhi - # divisions " <<
fnDiv
307 <<
" = " << nDiv <<
G4endl
static const G4int verbose
void SetType(const G4String &type)
void CheckParametersValidity()
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4double GetEndPhi() const
G4VParameterisationPolyhedra(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4GLOB_DLL std::ostream G4cout
G4double GetStartPhi() const
G4ParameterisationPolyhedraPhi::~G4ParameterisationPolyhedraPhi |
( |
| ) |
|
void G4ParameterisationPolyhedraPhi::CheckParametersValidity |
( |
| ) |
|
|
virtual |
Reimplemented from G4VDivisionParameterisation.
Definition at line 327 of file G4ParameterisationPolyhedra.cc.
335 std::ostringstream message;
337 <<
" Division along PHI will be done splitting "
338 <<
"in the defined numSide." <<
G4endl
339 <<
"WIDTH will not be used !";
340 G4Exception(
"G4ParameterisationPolyhedraPhi::CheckParametersValidity()",
345 std::ostringstream message;
347 <<
"Division along PHI will be done splitting "
348 <<
"in the defined numSide." <<
G4endl
349 <<
"OFFSET will not be used !";
350 G4Exception(
"G4ParameterisationPolyhedraPhi::CheckParametersValidity()",
358 std::ostringstream message;
359 message <<
"Configuration not supported." <<
G4endl
360 <<
"Division along PHI will be done splitting in the defined"
362 <<
"numSide, i.e, the number of division would be :"
363 << origparamMother->
numSide <<
" instead of " <<
fnDiv <<
" !";
364 G4Exception(
"G4ParameterisationPolyhedraPhi::CheckParametersValidity()",
virtual void CheckParametersValidity()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4PolyhedraHistorical * GetOriginalParameters() const
DivisionType fDivisionType
Reimplemented from G4VPVParameterisation.
Definition at line 408 of file G4ParameterisationPolyhedra.cc.
416 origparam.numSide = 1;
417 origparam.Start_angle = origparamMother->
Start_angle;
418 origparam.Opening_angle =
fwidth;
426 G4cout <<
"G4ParameterisationPolyhedraPhi::ComputeDimensions():" <<
G4endl;
static const G4int verbose
G4GLOB_DLL std::ostream G4cout
G4PolyhedraHistorical * GetOriginalParameters() const
void SetOriginalParameters(G4PolyhedraHistorical *pars)
Implements G4VDivisionParameterisation.
Definition at line 372 of file G4ParameterisationPolyhedra.cc.
385 G4cout <<
" G4ParameterisationPolyhedraPhi - position: " << posi/
deg
387 <<
" copyNo: " << copyNo
388 <<
" - fwidth: " << fwidth/
deg <<
G4endl;
397 G4cout << std::setprecision(8) <<
" G4ParameterisationPolyhedraPhi " << copyNo
399 <<
" Position: " << origin <<
" - Width: " << fwidth
static const G4int verbose
G4GLOB_DLL std::ostream G4cout
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.) const
void SetTranslation(const G4ThreeVector &v)
static constexpr double deg
G4double G4ParameterisationPolyhedraPhi::GetMaxParameter |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: