#include <G4ParameterisationPolyhedra.hh>
|
| G4ParameterisationPolyhedraRho (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationPolyhedraRho () |
|
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 137 of file G4ParameterisationPolyhedra.cc.
144 SetType(
"DivisionPolyhedraRho" );
152 - original_pars->
Rmin[0],
width, offset );
157 - original_pars->
Rmin[0], nDiv, offset );
163 G4cout <<
" G4ParameterisationPolyhedraRho - # divisions " <<
fnDiv
164 <<
" = " << nDiv <<
G4endl
static const G4int verbose
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4VParameterisationPolyhedra(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4GLOB_DLL std::ostream G4cout
void CheckParametersValidity()
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
G4PolyhedraHistorical * GetOriginalParameters() const
G4ParameterisationPolyhedraRho::~G4ParameterisationPolyhedraRho |
( |
| ) |
|
void G4ParameterisationPolyhedraRho::CheckParametersValidity |
( |
| ) |
|
|
virtual |
Reimplemented from G4VDivisionParameterisation.
Definition at line 177 of file G4ParameterisationPolyhedra.cc.
185 std::ostringstream message;
187 <<
"Division along R will be done with a width "
188 <<
"different for each solid section." <<
G4endl
189 <<
"WIDTH will not be used !";
190 G4Exception(
"G4ParameterisationPolyhedraRho::CheckParametersValidity()",
195 std::ostringstream message;
197 <<
"Division along R will be done with a width "
198 <<
"different for each solid section." <<
G4endl
199 <<
"OFFSET will not be used !";
200 G4Exception(
"G4ParameterisationPolyhedraRho::CheckParametersValidity()",
virtual void CheckParametersValidity()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
DivisionType fDivisionType
Reimplemented from G4VPVParameterisation.
Definition at line 252 of file G4ParameterisationPolyhedra.cc.
262 for(
G4int ii = 0; ii < nZplanes; ii++ )
266 origparam.Rmin[ii] = origparamMother->
Rmin[ii]+
foffset+width*copyNo;
267 origparam.Rmax[ii] = origparamMother->
Rmin[ii]+
foffset+width*(copyNo+1);
276 G4cout <<
"G4ParameterisationPolyhedraRho::ComputeDimensions()" <<
G4endl
277 <<
"-- Parametrised phedra copy-number: " << copyNo <<
G4endl;
static const G4int verbose
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4GLOB_DLL std::ostream G4cout
G4PolyhedraHistorical * GetOriginalParameters() const
void SetOriginalParameters(G4PolyhedraHistorical *pars)
Implements G4VDivisionParameterisation.
Definition at line 216 of file G4ParameterisationPolyhedra.cc.
240 G4cout << std::setprecision(8) <<
" G4ParameterisationPolyhedraRho "
242 <<
" Position: " << origin
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 G4ParameterisationPolyhedraRho::GetMaxParameter |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: