#include <G4ParameterisationPolyhedra.hh>
|
| G4ParameterisationPolyhedraZ (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationPolyhedraZ () |
|
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 () |
|
|
G4double | GetR (G4double z, G4double z1, G4double r1, G4double z2, G4double r2) const |
|
G4double | GetRmin (G4double z, G4int nsegment) const |
|
G4double | GetRmax (G4double z, G4int nsegment) const |
|
void | ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const |
|
void | ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const |
|
◆ G4ParameterisationPolyhedraZ()
Definition at line 434 of file G4ParameterisationPolyhedra.cc.
442 SetType(
"DivisionPolyhedraZ" );
460 G4cout <<
" G4ParameterisationPolyhedraZ - # divisions " <<
fnDiv <<
" = " G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
static const G4int verbose
void SetType(const G4String &type)
G4VParameterisationPolyhedra(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4GLOB_DLL std::ostream G4cout
G4PolyhedraHistorical * fOrigParamMother
void CheckParametersValidity()
◆ ~G4ParameterisationPolyhedraZ()
G4ParameterisationPolyhedraZ::~G4ParameterisationPolyhedraZ |
( |
| ) |
|
◆ CheckParametersValidity()
void G4ParameterisationPolyhedraZ::CheckParametersValidity |
( |
| ) |
|
|
virtual |
Reimplemented from G4VDivisionParameterisation.
Definition at line 518 of file G4ParameterisationPolyhedra.cc.
525 std::ostringstream message;
526 message <<
"Configuration not supported." <<
G4endl 527 <<
"Division along Z will be done splitting in the defined" 529 <<
"Z planes, i.e, the number of division would be :" 532 G4Exception(
"G4ParameterisationPolyhedraZ::CheckParametersValidity()",
543 G4int isegstart = -1;
554 while ( isegend < 0 && counter < fOrigParamMother->Num_z_planes-1 ) {
557 zstart < fOrigParamMother->Z_values[counter+1] ) {
562 zend <= fOrigParamMother->Z_values[counter+1] ) {
576 while ( isegend < 0 && counter < fOrigParamMother->Num_z_planes-1 ) {
578 if ( zstart <= fOrigParamMother->Z_values[counter] &&
583 if ( zend < fOrigParamMother->Z_values[counter] &&
591 if ( isegstart != isegend ) {
592 std::ostringstream message;
593 message <<
"Configuration not supported." <<
G4endl 594 <<
"Division with user defined width." <<
G4endl 596 <<
"Divided region is not between two Z planes.";
597 G4Exception(
"G4ParameterisationPolyhedraZ::CheckParametersValidity()",
virtual void CheckParametersValidity()
G4PolyhedraHistorical * fOrigParamMother
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
DivisionType fDivisionType
◆ ComputeDimensions() [1/13]
Reimplemented from G4VPVParameterisation.
Definition at line 657 of file G4ParameterisationPolyhedra.cc.
723 if ( origparam.
Rmin[0] < 0.0 ) origparam.
Rmin[0] = 0.0;
724 if ( origparam.
Rmin[nz-1] < 0.0 ) origparam.
Rmin[1] = 0.0;
733 G4cout <<
"G4ParameterisationPolyhedraZ::ComputeDimensions()" <<
G4endl 734 <<
"-- Parametrised phedra copy-number: " << copyNo <<
G4endl;
static const G4int verbose
G4GLOB_DLL std::ostream G4cout
G4PolyhedraHistorical * fOrigParamMother
G4double GetRmin(G4double z, G4int nsegment) const
void SetOriginalParameters(G4PolyhedraHistorical *pars)
G4double GetRmax(G4double z, G4int nsegment) const
DivisionType fDivisionType
◆ ComputeDimensions() [2/13]
◆ ComputeDimensions() [3/13]
◆ ComputeDimensions() [4/13]
◆ ComputeDimensions() [5/13]
◆ ComputeDimensions() [6/13]
◆ ComputeDimensions() [7/13]
◆ ComputeDimensions() [8/13]
◆ ComputeDimensions() [9/13]
◆ ComputeDimensions() [10/13]
◆ ComputeDimensions() [11/13]
◆ ComputeDimensions() [12/13]
◆ ComputeDimensions() [13/13]
◆ ComputeTransformation()
void G4ParameterisationPolyhedraZ::ComputeTransformation |
( |
const G4int |
copyNo, |
|
|
G4VPhysicalVolume * |
physVol |
|
) |
| const |
|
virtual |
Implements G4VDivisionParameterisation.
Definition at line 608 of file G4ParameterisationPolyhedra.cc.
635 G4cout <<
" G4ParameterisationPolyhedraZ - position: " << posi <<
G4endl 636 <<
" copyNo: " << copyNo <<
" - foffset: " <<
foffset/
deg 646 G4cout << std::setprecision(8) <<
" G4ParameterisationPolyhedraZ " 648 <<
" Position: " << origin <<
" - Width: " <<
fwidth static const G4int verbose
CLHEP::Hep3Vector G4ThreeVector
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.) const
G4GLOB_DLL std::ostream G4cout
void SetTranslation(const G4ThreeVector &v)
G4PolyhedraHistorical * fOrigParamMother
DivisionType fDivisionType
◆ GetMaxParameter()
G4double G4ParameterisationPolyhedraZ::GetMaxParameter |
( |
| ) |
const |
|
virtual |
◆ GetR()
◆ GetRmax()
Definition at line 499 of file G4ParameterisationPolyhedra.cc.
G4PolyhedraHistorical * fOrigParamMother
G4double GetR(G4double z, G4double z1, G4double r1, G4double z2, G4double r2) const
◆ GetRmin()
Definition at line 487 of file G4ParameterisationPolyhedra.cc.
G4PolyhedraHistorical * fOrigParamMother
G4double GetR(G4double z, G4double z1, G4double r1, G4double z2, G4double r2) const
◆ fNSegment
G4int G4ParameterisationPolyhedraZ::fNSegment |
|
private |
◆ fOrigParamMother
The documentation for this class was generated from the following files: