#include <G4ParameterisationCons.hh>
|
| G4ParameterisationConsRho (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType) |
|
| ~G4ParameterisationConsRho () |
|
G4double | GetMaxParameter () const |
|
void | ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const |
|
void | ComputeDimensions (G4Cons &tubs, const G4int copyNo, const G4VPhysicalVolume *physVol) const |
|
| G4VParameterisationCons (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType) |
|
virtual | ~G4VParameterisationCons () |
|
| 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 77 of file G4ParameterisationCons.hh.
Definition at line 82 of file G4ParameterisationCons.cc.
93 std::ostringstream message;
94 message <<
"OuterRadiusMinusZ = 0" <<
G4endl
95 <<
"Width is calculated as that of OuterRadiusMinusZ !";
96 G4Exception(
"G4ParameterisationConsRho::G4ParameterisationConsRho()",
115 G4cout <<
" G4ParameterisationConsRho - no divisions " <<
fnDiv <<
" = "
117 <<
" Offset " <<
foffset <<
" = " << offset
virtual void CheckParametersValidity()
static const G4int verbose
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4double GetOuterRadiusMinusZ() const
G4GLOB_DLL std::ostream G4cout
G4double GetInnerRadiusPlusZ() const
G4VParameterisationCons(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
G4double GetInnerRadiusMinusZ() const
G4ParameterisationConsRho::~G4ParameterisationConsRho |
( |
| ) |
|
Reimplemented from G4VPVParameterisation.
Definition at line 171 of file G4ParameterisationCons.cc.
186 +
foffset + fwidthPlus * copyNo;
188 +
foffset + fwidthPlus * (copyNo+1);
196 cons.SetInnerRadiusMinusZ( pRMin1 +
fhgap );
197 cons.SetOuterRadiusMinusZ( pRMax1 -
fhgap );
198 cons.SetInnerRadiusPlusZ( pRMin2 + d_half_gap );
199 cons.SetOuterRadiusPlusZ( pRMax2 - d_half_gap );
200 cons.SetZHalfLength( pDz );
201 cons.SetStartPhiAngle( pSPhi,
false );
202 cons.SetDeltaPhiAngle( pDPhi );
207 G4cout <<
" G4ParameterisationConsRho::ComputeDimensions()" <<
G4endl
208 <<
" pRMin: " << pRMin1 <<
" - pRMax: " << pRMax1 <<
G4endl;
209 if(
verbose >= 4 ) cons.DumpInfo();
static const G4int verbose
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4GLOB_DLL std::ostream G4cout
G4double GetStartPhiAngle() const
G4double GetInnerRadiusPlusZ() const
G4double GetInnerRadiusMinusZ() const
G4double GetOuterRadiusPlusZ() const
G4double GetZHalfLength() const
G4double GetDeltaPhiAngle() const
Implements G4VDivisionParameterisation.
Definition at line 138 of file G4ParameterisationCons.cc.
161 G4cout << std::setprecision(8) <<
" G4ParameterisationConsRho" <<
G4endl
162 <<
" 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)
G4double G4ParameterisationConsRho::GetMaxParameter |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: