#include <G4ParameterisationPolycone.hh>
|
| G4ParameterisationPolyconeRho (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationPolyconeRho () |
|
void | CheckParametersValidity () |
|
G4double | GetMaxParameter () const |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const |
|
void | ComputeDimensions (G4Polycone &pcone, const G4int copyNo, const G4VPhysicalVolume *physVol) const |
|
| G4VParameterisationPolycone (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType) |
|
virtual | ~G4VParameterisationPolycone () |
|
| 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 99 of file G4ParameterisationPolycone.cc.
105 SetType(
"DivisionPolyconeRho" );
113 - origparamMother->
Rmin[0],
width, offset );
118 - origparamMother->
Rmin[0], nDiv, offset );
124 G4cout <<
" G4ParameterisationPolyconeRho - # divisions " <<
fnDiv
125 <<
" = " << nDiv <<
G4endl
static const G4int verbose
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
void CheckParametersValidity()
G4GLOB_DLL std::ostream G4cout
G4VParameterisationPolycone(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
G4PolyconeHistorical * GetOriginalParameters() const
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
G4ParameterisationPolyconeRho::~G4ParameterisationPolyconeRho |
( |
| ) |
|
void G4ParameterisationPolyconeRho::CheckParametersValidity |
( |
| ) |
|
|
virtual |
Reimplemented from G4VDivisionParameterisation.
Definition at line 138 of file G4ParameterisationPolycone.cc.
146 std::ostringstream message;
148 <<
"Division along R will be done with a width "
149 <<
"different for each solid section." <<
G4endl
150 <<
"WIDTH will not be used !";
151 G4Exception(
"G4VParameterisationPolycone::CheckParametersValidity()",
156 std::ostringstream message;
158 <<
"Division along R will be done with a width "
159 <<
"different for each solid section." <<
G4endl
160 <<
"OFFSET will not be used !";
161 G4Exception(
"G4VParameterisationPolycone::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 213 of file G4ParameterisationPolycone.cc.
223 for(
G4int ii = 0; ii < nZplanes; ii++ )
227 origparam.Rmin[ii] = origparamMother->
Rmin[ii]+
foffset+width*copyNo;
228 origparam.Rmax[ii] = origparamMother->
Rmin[ii]+
foffset+width*(copyNo+1);
237 G4cout <<
"G4ParameterisationPolyconeRho::ComputeDimensions()" <<
G4endl
238 <<
"-- Parametrised pcone copy-number: " << copyNo <<
G4endl;
static const G4int verbose
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4GLOB_DLL std::ostream G4cout
void SetOriginalParameters(G4PolyconeHistorical *pars)
G4PolyconeHistorical * GetOriginalParameters() const
Implements G4VDivisionParameterisation.
Definition at line 178 of file G4ParameterisationPolycone.cc.
201 G4cout << std::setprecision(8) <<
" G4ParameterisationPolyconeRho "
203 <<
" Position: " << origin/
mm
static const G4int verbose
static constexpr double mm
G4GLOB_DLL std::ostream G4cout
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.) const
void SetTranslation(const G4ThreeVector &v)
static constexpr double deg
G4double G4ParameterisationPolyconeRho::GetMaxParameter |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: