Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
G4ParameterisationPolyhedraRho Class Reference

#include <G4ParameterisationPolyhedra.hh>

Inheritance diagram for G4ParameterisationPolyhedraRho:
G4VParameterisationPolyhedra G4VDivisionParameterisation G4VPVParameterisation

Public Member Functions

void CheckParametersValidity ()
 
void ComputeDimensions (G4Polyhedra &phedra, const G4int copyNo, const G4VPhysicalVolume *physVol) const
 
virtual G4MaterialComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=nullptr)
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
void ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const
 
 G4ParameterisationPolyhedraRho (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *motherSolid, DivisionType divType)
 
EAxis GetAxis () const
 
G4double GetHalfGap () const
 
virtual G4VVolumeMaterialScannerGetMaterialScanner ()
 
G4double GetMaxParameter () const
 
G4VSolidGetMotherSolid () const
 
G4int GetNoDiv () const
 
G4double GetOffset () const
 
const G4StringGetType () const
 
G4double GetWidth () const
 
virtual G4bool IsNested () const
 
void SetHalfGap (G4double hg)
 
void SetType (const G4String &type)
 
G4int VolumeFirstCopyNo () const
 
 ~G4ParameterisationPolyhedraRho ()
 

Protected Member Functions

G4int CalculateNDiv (G4double motherDim, G4double width, G4double offset) const
 
G4double CalculateWidth (G4double motherDim, G4int nDiv, G4double offset) const
 
void ChangeRotMatrix (G4VPhysicalVolume *physVol, G4double rotZ=0.0) const
 
void CheckNDivAndWidth (G4double maxPar)
 
void CheckOffset (G4double maxPar)
 
G4double OffsetZ () const
 

Protected Attributes

EAxis faxis
 
G4bool fDeleteSolid = false
 
DivisionType fDivisionType
 
G4double fhgap = 0.0
 
G4VSolidfmotherSolid = nullptr
 
G4int fnDiv = 0
 
G4double foffset = 0.0
 
G4bool fReflectedSolid = false
 
G4String ftype
 
G4double fwidth = 0.0
 
G4double kCarTolerance
 
G4int theVoluFirstCopyNo = 1
 

Static Protected Attributes

static G4ThreadLocal G4RotationMatrixfRot = nullptr
 
static const G4int verbose = 5
 

Private Member Functions

void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
G4double ConvertRadiusFactor (const G4Polyhedra &phedra) const
 

Detailed Description

Definition at line 79 of file G4ParameterisationPolyhedra.hh.

Constructor & Destructor Documentation

◆ G4ParameterisationPolyhedraRho()

G4ParameterisationPolyhedraRho::G4ParameterisationPolyhedraRho ( EAxis  axis,
G4int  nCopies,
G4double  offset,
G4double  step,
G4VSolid motherSolid,
DivisionType  divType 
)

Definition at line 135 of file G4ParameterisationPolyhedra.cc.

139 : G4VParameterisationPolyhedra( axis, nDiv, width, offset, msolid, divType )
140{
141
143 SetType( "DivisionPolyhedraRho" );
144
146 G4PolyhedraHistorical* original_pars = msol->GetOriginalParameters();
147
148 if( divType == DivWIDTH )
149 {
150 fnDiv = CalculateNDiv( original_pars->Rmax[0]
151 - original_pars->Rmin[0], width, offset );
152 }
153 else if( divType == DivNDIV )
154 {
155 fwidth = CalculateWidth( original_pars->Rmax[0]
156 - original_pars->Rmin[0], nDiv, offset );
157 }
158
159#ifdef G4DIVDEBUG
160 if( verbose >= 1 )
161 {
162 G4cout << " G4ParameterisationPolyhedraRho - # divisions " << fnDiv
163 << " = " << nDiv << G4endl
164 << " Offset " << foffset << " = " << offset << G4endl
165 << " Width " << fwidth << " = " << width << G4endl;
166 }
167#endif
168}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
G4PolyhedraHistorical * GetOriginalParameters() const
void SetType(const G4String &type)
G4double CalculateWidth(G4double motherDim, G4int nDiv, G4double offset) const
G4int CalculateNDiv(G4double motherDim, G4double width, G4double offset) const
G4VParameterisationPolyhedra(EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)

References G4VDivisionParameterisation::CalculateNDiv(), G4VDivisionParameterisation::CalculateWidth(), CheckParametersValidity(), DivNDIV, DivWIDTH, G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::fnDiv, G4VDivisionParameterisation::foffset, G4VDivisionParameterisation::fwidth, G4cout, G4endl, G4Polyhedra::GetOriginalParameters(), G4PolyhedraHistorical::Rmax, G4PolyhedraHistorical::Rmin, G4VDivisionParameterisation::SetType(), and G4VDivisionParameterisation::verbose.

◆ ~G4ParameterisationPolyhedraRho()

G4ParameterisationPolyhedraRho::~G4ParameterisationPolyhedraRho ( )

Definition at line 171 of file G4ParameterisationPolyhedra.cc.

172{
173}

Member Function Documentation

◆ CalculateNDiv()

G4int G4VDivisionParameterisation::CalculateNDiv ( G4double  motherDim,
G4double  width,
G4double  offset 
) const
protectedinherited

Definition at line 99 of file G4VDivisionParameterisation.cc.

101{
102#ifdef G4DIVDEBUG
103 G4cout << " G4VDivisionParameterisation::CalculateNDiv: "
104 << ( motherDim - offset ) / width
105 << " Motherdim: " << motherDim << ", Offset: " << offset
106 << ", Width: " << width << G4endl;
107#endif
108
109 return G4int( ( motherDim - offset ) / width );
110}
int G4int
Definition: G4Types.hh:85

References G4cout, and G4endl.

Referenced by G4ParameterisationBoxX::G4ParameterisationBoxX(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4ParameterisationParaX::G4ParameterisationParaX(), G4ParameterisationParaY::G4ParameterisationParaY(), G4ParameterisationParaZ::G4ParameterisationParaZ(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4ParameterisationPolyconeZ::G4ParameterisationPolyconeZ(), G4ParameterisationPolyhedraRho(), G4ParameterisationPolyhedraZ::G4ParameterisationPolyhedraZ(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), and G4ParameterisationTubsZ::G4ParameterisationTubsZ().

◆ CalculateWidth()

G4double G4VDivisionParameterisation::CalculateWidth ( G4double  motherDim,
G4int  nDiv,
G4double  offset 
) const
protectedinherited

Definition at line 114 of file G4VDivisionParameterisation.cc.

116{
117#ifdef G4DIVDEBUG
118 G4cout << " G4VDivisionParameterisation::CalculateWidth: "
119 << ( motherDim - offset ) / nDiv
120 << ", Motherdim: " << motherDim << ", Offset: " << offset
121 << ", Number of divisions: " << nDiv << G4endl;
122#endif
123
124 return ( motherDim - offset ) / nDiv;
125}

References G4cout, and G4endl.

Referenced by G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationPolyconeRho::ComputeDimensions(), ComputeDimensions(), G4ParameterisationBoxX::G4ParameterisationBoxX(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4ParameterisationParaX::G4ParameterisationParaX(), G4ParameterisationParaY::G4ParameterisationParaY(), G4ParameterisationParaZ::G4ParameterisationParaZ(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4ParameterisationPolyhedraPhi::G4ParameterisationPolyhedraPhi(), G4ParameterisationPolyhedraRho(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), and G4ParameterisationTubsZ::G4ParameterisationTubsZ().

◆ ChangeRotMatrix()

void G4VDivisionParameterisation::ChangeRotMatrix ( G4VPhysicalVolume physVol,
G4double  rotZ = 0.0 
) const
protectedinherited

◆ CheckNDivAndWidth()

void G4VDivisionParameterisation::CheckNDivAndWidth ( G4double  maxPar)
protectedinherited

Definition at line 151 of file G4VDivisionParameterisation.cc.

152{
154 && (foffset + fwidth*fnDiv - maxPar > kCarTolerance ) )
155 {
156 std::ostringstream message;
157 message << "Configuration not supported." << G4endl
158 << "Division of solid " << fmotherSolid->GetName()
159 << " has too big offset + width*nDiv = " << G4endl
160 << " " << foffset + fwidth*fnDiv << " > "
161 << foffset << ". Width = "
162 << G4endl
163 << " " << fwidth << ". nDiv = " << fnDiv << " !";
164 G4Exception("G4VDivisionParameterisation::CheckNDivAndWidth()",
165 "GeomDiv0001", FatalException, message);
166 }
167}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35
G4String GetName() const

References DivNDIVandWIDTH, FatalException, G4VDivisionParameterisation::fDivisionType, G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::fnDiv, G4VDivisionParameterisation::foffset, G4VDivisionParameterisation::fwidth, G4endl, G4Exception(), G4VSolid::GetName(), and G4VDivisionParameterisation::kCarTolerance.

Referenced by G4VDivisionParameterisation::CheckParametersValidity().

◆ CheckOffset()

void G4VDivisionParameterisation::CheckOffset ( G4double  maxPar)
protectedinherited

Definition at line 136 of file G4VDivisionParameterisation.cc.

137{
138 if( foffset >= maxPar )
139 {
140 std::ostringstream message;
141 message << "Configuration not supported." << G4endl
142 << "Division of solid " << fmotherSolid->GetName()
143 << " has too big offset = " << G4endl
144 << " " << foffset << " > " << maxPar << " !";
145 G4Exception("G4VDivisionParameterisation::CheckOffset()",
146 "GeomDiv0001", FatalException, message);
147 }
148}

References FatalException, G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::foffset, G4endl, G4Exception(), and G4VSolid::GetName().

Referenced by G4VDivisionParameterisation::CheckParametersValidity().

◆ CheckParametersValidity()

void G4ParameterisationPolyhedraRho::CheckParametersValidity ( )
virtual

Reimplemented from G4VDivisionParameterisation.

Definition at line 176 of file G4ParameterisationPolyhedra.cc.

177{
179
181
183 {
184 std::ostringstream message;
185 message << "In solid " << msol->GetName() << G4endl
186 << "Division along R will be done with a width "
187 << "different for each solid section." << G4endl
188 << "WIDTH will not be used !";
189 G4Exception("G4ParameterisationPolyhedraRho::CheckParametersValidity()",
190 "GeomDiv1001", JustWarning, message);
191 }
192 if( foffset != 0. )
193 {
194 std::ostringstream message;
195 message << "In solid " << msol->GetName() << G4endl
196 << "Division along R will be done with a width "
197 << "different for each solid section." << G4endl
198 << "OFFSET will not be used !";
199 G4Exception("G4ParameterisationPolyhedraRho::CheckParametersValidity()",
200 "GeomDiv1001", JustWarning, message);
201 }
202}
@ JustWarning

References G4VDivisionParameterisation::CheckParametersValidity(), DivNDIVandWIDTH, DivWIDTH, G4VDivisionParameterisation::fDivisionType, G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::foffset, G4endl, G4Exception(), G4VSolid::GetName(), and JustWarning.

Referenced by G4ParameterisationPolyhedraRho().

◆ ComputeDimensions() [1/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Box ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 104 of file G4ParameterisationPolyhedra.hh.

105 {}

◆ ComputeDimensions() [2/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Cons ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 120 of file G4ParameterisationPolyhedra.hh.

121 {}

◆ ComputeDimensions() [3/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Ellipsoid ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 110 of file G4ParameterisationPolyhedra.hh.

111 {}

◆ ComputeDimensions() [4/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Hype ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 116 of file G4ParameterisationPolyhedra.hh.

117 {}

◆ ComputeDimensions() [5/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Orb ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 108 of file G4ParameterisationPolyhedra.hh.

109 {}

◆ ComputeDimensions() [6/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Para ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 114 of file G4ParameterisationPolyhedra.hh.

115 {}

◆ ComputeDimensions() [7/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Polycone ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 122 of file G4ParameterisationPolyhedra.hh.

123 {}

◆ ComputeDimensions() [8/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Polyhedra phedra,
const G4int  copyNo,
const G4VPhysicalVolume physVol 
) const
virtual

Reimplemented from G4VPVParameterisation.

Definition at line 250 of file G4ParameterisationPolyhedra.cc.

253{
255
256 G4PolyhedraHistorical* origparamMother = msol->GetOriginalParameters();
257 G4PolyhedraHistorical origparam( *origparamMother );
258 G4int nZplanes = origparamMother->Num_z_planes;
259
260 G4double width = 0.;
261 for( G4int ii = 0; ii < nZplanes; ++ii )
262 {
263 width = CalculateWidth( origparamMother->Rmax[ii]
264 - origparamMother->Rmin[ii], fnDiv, foffset );
265 origparam.Rmin[ii] = origparamMother->Rmin[ii]+foffset+width*copyNo;
266 origparam.Rmax[ii] = origparamMother->Rmin[ii]+foffset+width*(copyNo+1);
267 }
268
269 phedra.SetOriginalParameters(&origparam); // copy values & transfer pointers
270 phedra.Reset(); // reset to new solid parameters
271
272#ifdef G4DIVDEBUG
273 if( verbose >= -2 )
274 {
275 G4cout << "G4ParameterisationPolyhedraRho::ComputeDimensions()" << G4endl
276 << "-- Parametrised phedra copy-number: " << copyNo << G4endl;
277 phedra.DumpInfo();
278 }
279#endif
280}
double G4double
Definition: G4Types.hh:83
void SetOriginalParameters(G4PolyhedraHistorical *pars)
G4bool Reset()
Definition: G4Polyhedra.cc:463
void DumpInfo() const

References G4VDivisionParameterisation::CalculateWidth(), G4VSolid::DumpInfo(), G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::fnDiv, G4VDivisionParameterisation::foffset, G4cout, G4endl, G4Polyhedra::GetOriginalParameters(), G4PolyhedraHistorical::Num_z_planes, G4Polyhedra::Reset(), G4PolyhedraHistorical::Rmax, G4PolyhedraHistorical::Rmin, G4Polyhedra::SetOriginalParameters(), and G4VDivisionParameterisation::verbose.

◆ ComputeDimensions() [9/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Sphere ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 106 of file G4ParameterisationPolyhedra.hh.

107 {}

◆ ComputeDimensions() [10/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Torus ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 112 of file G4ParameterisationPolyhedra.hh.

113 {}

◆ ComputeDimensions() [11/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Trap ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 102 of file G4ParameterisationPolyhedra.hh.

103 {}

◆ ComputeDimensions() [12/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Trd ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 100 of file G4ParameterisationPolyhedra.hh.

101 {}

◆ ComputeDimensions() [13/13]

void G4ParameterisationPolyhedraRho::ComputeDimensions ( G4Tubs ,
const  G4int,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 118 of file G4ParameterisationPolyhedra.hh.

119 {}

◆ ComputeMaterial()

G4Material * G4VPVParameterisation::ComputeMaterial ( const G4int  repNo,
G4VPhysicalVolume currentVol,
const G4VTouchable parentTouch = nullptr 
)
virtualinherited

◆ ComputeSolid()

G4VSolid * G4VDivisionParameterisation::ComputeSolid ( const G4int  i,
G4VPhysicalVolume pv 
)
virtualinherited

Reimplemented from G4VPVParameterisation.

Definition at line 72 of file G4VDivisionParameterisation.cc.

74{
76 if (solid->GetEntityType() == "G4ReflectedSolid")
77 {
78 solid = ((G4ReflectedSolid*)solid)->GetConstituentMovedSolid();
79 }
80 return solid;
81}
virtual G4VSolid * ComputeSolid(const G4int, G4VPhysicalVolume *)
virtual G4GeometryType GetEntityType() const =0

References G4VPVParameterisation::ComputeSolid(), and G4VSolid::GetEntityType().

◆ ComputeTransformation()

void G4ParameterisationPolyhedraRho::ComputeTransformation ( const G4int  copyNo,
G4VPhysicalVolume physVol 
) const
virtual

Implements G4VDivisionParameterisation.

Definition at line 214 of file G4ParameterisationPolyhedra.cc.

216{
217 //----- translation
218 G4ThreeVector origin(0.,0.,0.);
219
220 //----- set translation
221 physVol->SetTranslation( origin );
222
223 //----- calculate rotation matrix: unit
224
225#ifdef G4DIVDEBUG
226 if( verbose >= 2 )
227 {
228 G4cout << " G4ParameterisationPolyhedraRho " << G4endl
229 << " foffset: " << foffset/CLHEP::deg
230 << " - fwidth: " << fwidth/CLHEP::deg << G4endl;
231 }
232#endif
233
234 ChangeRotMatrix( physVol );
235
236#ifdef G4DIVDEBUG
237 if( verbose >= 2 )
238 {
239 G4cout << std::setprecision(8) << " G4ParameterisationPolyhedraRho "
240 << G4endl
241 << " Position: " << origin
242 << " - Width: " << fwidth
243 << " - Axis: " << faxis << G4endl;
244 }
245#endif
246}
void ChangeRotMatrix(G4VPhysicalVolume *physVol, G4double rotZ=0.0) const
void SetTranslation(const G4ThreeVector &v)
static constexpr double deg

References G4VDivisionParameterisation::ChangeRotMatrix(), CLHEP::deg, G4VDivisionParameterisation::faxis, G4VDivisionParameterisation::foffset, G4VDivisionParameterisation::fwidth, G4cout, G4endl, G4VPhysicalVolume::SetTranslation(), and G4VDivisionParameterisation::verbose.

◆ ConvertRadiusFactor()

G4double G4VParameterisationPolyhedra::ConvertRadiusFactor ( const G4Polyhedra phedra) const
privateinherited

Definition at line 121 of file G4ParameterisationPolyhedra.cc.

123{
124 G4double phiTotal = phedra.GetEndPhi() - phedra.GetStartPhi();
125 G4int nofSides = phedra.GetOriginalParameters()->numSide;
126
127 if ( (phiTotal <=0) || (phiTotal >
128 2*pi+G4GeometryTolerance::GetInstance()->GetAngularTolerance()) )
129 { phiTotal = 2*pi; }
130
131 return std::cos(0.5*phiTotal/nofSides);
132}
static constexpr double pi
Definition: G4SIunits.hh:55
static G4GeometryTolerance * GetInstance()
G4double GetEndPhi() const
G4double GetStartPhi() const

References G4Polyhedra::GetEndPhi(), G4GeometryTolerance::GetInstance(), G4Polyhedra::GetOriginalParameters(), G4Polyhedra::GetStartPhi(), G4PolyhedraHistorical::numSide, and pi.

Referenced by G4VParameterisationPolyhedra::G4VParameterisationPolyhedra().

◆ GetAxis()

EAxis G4VDivisionParameterisation::GetAxis ( ) const
inlineinherited

◆ GetHalfGap()

G4double G4VDivisionParameterisation::GetHalfGap ( ) const
inlineinherited

◆ GetMaterialScanner()

G4VVolumeMaterialScanner * G4VPVParameterisation::GetMaterialScanner ( )
virtualinherited

Reimplemented in G4VNestedParameterisation.

Definition at line 62 of file G4VPVParameterisation.cc.

63{
64 return nullptr;
65}

Referenced by G4Region::ScanVolumeTree().

◆ GetMaxParameter()

G4double G4ParameterisationPolyhedraRho::GetMaxParameter ( ) const
virtual

◆ GetMotherSolid()

G4VSolid * G4VDivisionParameterisation::GetMotherSolid ( ) const
inlineinherited

◆ GetNoDiv()

G4int G4VDivisionParameterisation::GetNoDiv ( ) const
inlineinherited

◆ GetOffset()

G4double G4VDivisionParameterisation::GetOffset ( ) const
inlineinherited

◆ GetType()

const G4String & G4VDivisionParameterisation::GetType ( ) const
inlineinherited

◆ GetWidth()

G4double G4VDivisionParameterisation::GetWidth ( ) const
inlineinherited

◆ IsNested()

G4bool G4VPVParameterisation::IsNested ( ) const
virtualinherited

◆ OffsetZ()

G4double G4VDivisionParameterisation::OffsetZ ( ) const
protectedinherited

◆ SetHalfGap()

void G4VDivisionParameterisation::SetHalfGap ( G4double  hg)
inlineinherited

◆ SetType()

void G4VDivisionParameterisation::SetType ( const G4String type)
inlineinherited

◆ VolumeFirstCopyNo()

G4int G4VDivisionParameterisation::VolumeFirstCopyNo ( ) const
inlineinherited

Field Documentation

◆ faxis

EAxis G4VDivisionParameterisation::faxis
protectedinherited

◆ fDeleteSolid

G4bool G4VDivisionParameterisation::fDeleteSolid = false
protectedinherited

◆ fDivisionType

DivisionType G4VDivisionParameterisation::fDivisionType
protectedinherited

◆ fhgap

G4double G4VDivisionParameterisation::fhgap = 0.0
protectedinherited

◆ fmotherSolid

G4VSolid* G4VDivisionParameterisation::fmotherSolid = nullptr
protectedinherited

Definition at line 99 of file G4VDivisionParameterisation.hh.

Referenced by G4VDivisionParameterisation::CheckNDivAndWidth(), G4VDivisionParameterisation::CheckOffset(), G4ParameterisationPolyconeRho::CheckParametersValidity(), G4ParameterisationPolyconeZ::CheckParametersValidity(), CheckParametersValidity(), G4ParameterisationPolyhedraPhi::CheckParametersValidity(), G4ParameterisationPolyhedraZ::CheckParametersValidity(), G4ParameterisationBoxX::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4ParameterisationParaX::ComputeDimensions(), G4ParameterisationParaY::ComputeDimensions(), G4ParameterisationParaZ::ComputeDimensions(), G4ParameterisationPolyconeRho::ComputeDimensions(), G4ParameterisationPolyconePhi::ComputeDimensions(), ComputeDimensions(), G4ParameterisationPolyhedraPhi::ComputeDimensions(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), G4ParameterisationBoxX::ComputeTransformation(), G4ParameterisationBoxY::ComputeTransformation(), G4ParameterisationBoxZ::ComputeTransformation(), G4ParameterisationParaX::ComputeTransformation(), G4ParameterisationParaY::ComputeTransformation(), G4ParameterisationParaZ::ComputeTransformation(), G4ParameterisationTrdX::ComputeTransformation(), G4ParameterisationTrdY::ComputeTransformation(), G4ParameterisationTrdZ::ComputeTransformation(), G4ParameterisationTubsZ::ComputeTransformation(), G4ParameterisationBoxX::G4ParameterisationBoxX(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4ParameterisationParaX::G4ParameterisationParaX(), G4ParameterisationParaY::G4ParameterisationParaY(), G4ParameterisationParaZ::G4ParameterisationParaZ(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4ParameterisationPolyhedraPhi::G4ParameterisationPolyhedraPhi(), G4ParameterisationPolyhedraRho(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), G4VParameterisationBox::G4VParameterisationBox(), G4VParameterisationCons::G4VParameterisationCons(), G4VParameterisationPara::G4VParameterisationPara(), G4VParameterisationPolycone::G4VParameterisationPolycone(), G4VParameterisationPolyhedra::G4VParameterisationPolyhedra(), G4VParameterisationTrd::G4VParameterisationTrd(), G4VParameterisationTubs::G4VParameterisationTubs(), G4ParameterisationBoxX::GetMaxParameter(), G4ParameterisationBoxY::GetMaxParameter(), G4ParameterisationBoxZ::GetMaxParameter(), G4ParameterisationConsRho::GetMaxParameter(), G4ParameterisationConsPhi::GetMaxParameter(), G4ParameterisationConsZ::GetMaxParameter(), G4ParameterisationParaX::GetMaxParameter(), G4ParameterisationParaY::GetMaxParameter(), G4ParameterisationParaZ::GetMaxParameter(), G4ParameterisationPolyconeRho::GetMaxParameter(), G4ParameterisationPolyconePhi::GetMaxParameter(), GetMaxParameter(), G4ParameterisationPolyhedraPhi::GetMaxParameter(), G4ParameterisationTrdX::GetMaxParameter(), G4ParameterisationTrdY::GetMaxParameter(), G4ParameterisationTrdZ::GetMaxParameter(), G4ParameterisationTubsRho::GetMaxParameter(), G4ParameterisationTubsPhi::GetMaxParameter(), G4ParameterisationTubsZ::GetMaxParameter(), and G4VDivisionParameterisation::~G4VDivisionParameterisation().

◆ fnDiv

G4int G4VDivisionParameterisation::fnDiv = 0
protectedinherited

Definition at line 95 of file G4VDivisionParameterisation.hh.

Referenced by G4VDivisionParameterisation::CheckNDivAndWidth(), G4ParameterisationPolyconeZ::CheckParametersValidity(), G4ParameterisationPolyhedraPhi::CheckParametersValidity(), G4ParameterisationPolyhedraZ::CheckParametersValidity(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationPolyconeRho::ComputeDimensions(), ComputeDimensions(), G4ParameterisationBoxX::G4ParameterisationBoxX(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4ParameterisationParaX::G4ParameterisationParaX(), G4ParameterisationParaY::G4ParameterisationParaY(), G4ParameterisationParaZ::G4ParameterisationParaZ(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4ParameterisationPolyconeZ::G4ParameterisationPolyconeZ(), G4ParameterisationPolyhedraPhi::G4ParameterisationPolyhedraPhi(), G4ParameterisationPolyhedraRho(), G4ParameterisationPolyhedraZ::G4ParameterisationPolyhedraZ(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), G4VDivisionParameterisation::G4VDivisionParameterisation(), and G4VDivisionParameterisation::OffsetZ().

◆ foffset

G4double G4VDivisionParameterisation::foffset = 0.0
protectedinherited

Definition at line 97 of file G4VDivisionParameterisation.hh.

Referenced by G4VDivisionParameterisation::CheckNDivAndWidth(), G4VDivisionParameterisation::CheckOffset(), G4ParameterisationPolyconeRho::CheckParametersValidity(), G4ParameterisationPolyconeZ::CheckParametersValidity(), CheckParametersValidity(), G4ParameterisationPolyhedraPhi::CheckParametersValidity(), G4ParameterisationPolyhedraZ::CheckParametersValidity(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationPolyconeRho::ComputeDimensions(), G4ParameterisationPolyconeZ::ComputeDimensions(), ComputeDimensions(), G4ParameterisationPolyhedraZ::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationBoxX::ComputeTransformation(), G4ParameterisationBoxY::ComputeTransformation(), G4ParameterisationConsRho::ComputeTransformation(), G4ParameterisationConsPhi::ComputeTransformation(), G4ParameterisationConsZ::ComputeTransformation(), G4ParameterisationParaX::ComputeTransformation(), G4ParameterisationParaY::ComputeTransformation(), G4ParameterisationPolyconeRho::ComputeTransformation(), G4ParameterisationPolyconePhi::ComputeTransformation(), G4ParameterisationPolyconeZ::ComputeTransformation(), ComputeTransformation(), G4ParameterisationPolyhedraZ::ComputeTransformation(), G4ParameterisationTrdX::ComputeTransformation(), G4ParameterisationTrdY::ComputeTransformation(), G4ParameterisationTrdZ::ComputeTransformation(), G4ParameterisationTubsRho::ComputeTransformation(), G4ParameterisationTubsPhi::ComputeTransformation(), G4ParameterisationTubsZ::ComputeTransformation(), G4ParameterisationBoxX::G4ParameterisationBoxX(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4ParameterisationParaX::G4ParameterisationParaX(), G4ParameterisationParaY::G4ParameterisationParaY(), G4ParameterisationParaZ::G4ParameterisationParaZ(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4ParameterisationPolyconeZ::G4ParameterisationPolyconeZ(), G4ParameterisationPolyhedraPhi::G4ParameterisationPolyhedraPhi(), G4ParameterisationPolyhedraRho(), G4ParameterisationPolyhedraZ::G4ParameterisationPolyhedraZ(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), G4VDivisionParameterisation::G4VDivisionParameterisation(), and G4VDivisionParameterisation::OffsetZ().

◆ fReflectedSolid

G4bool G4VDivisionParameterisation::fReflectedSolid = false
protectedinherited

◆ fRot

G4ThreadLocal G4RotationMatrix * G4VDivisionParameterisation::fRot = nullptr
staticprotectedinherited

◆ ftype

G4String G4VDivisionParameterisation::ftype
protectedinherited

Definition at line 93 of file G4VDivisionParameterisation.hh.

◆ fwidth

G4double G4VDivisionParameterisation::fwidth = 0.0
protectedinherited

Definition at line 96 of file G4VDivisionParameterisation.hh.

Referenced by G4VDivisionParameterisation::CheckNDivAndWidth(), G4ParameterisationPolyconeZ::CheckParametersValidity(), G4ParameterisationPolyhedraZ::CheckParametersValidity(), G4ParameterisationBoxX::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4ParameterisationParaX::ComputeDimensions(), G4ParameterisationParaY::ComputeDimensions(), G4ParameterisationParaZ::ComputeDimensions(), G4ParameterisationPolyconePhi::ComputeDimensions(), G4ParameterisationPolyconeZ::ComputeDimensions(), G4ParameterisationPolyhedraPhi::ComputeDimensions(), G4ParameterisationPolyhedraZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), G4ParameterisationBoxX::ComputeTransformation(), G4ParameterisationBoxY::ComputeTransformation(), G4ParameterisationBoxZ::ComputeTransformation(), G4ParameterisationConsRho::ComputeTransformation(), G4ParameterisationConsPhi::ComputeTransformation(), G4ParameterisationConsZ::ComputeTransformation(), G4ParameterisationParaX::ComputeTransformation(), G4ParameterisationParaY::ComputeTransformation(), G4ParameterisationParaZ::ComputeTransformation(), G4ParameterisationPolyconeRho::ComputeTransformation(), G4ParameterisationPolyconePhi::ComputeTransformation(), G4ParameterisationPolyconeZ::ComputeTransformation(), ComputeTransformation(), G4ParameterisationPolyhedraPhi::ComputeTransformation(), G4ParameterisationPolyhedraZ::ComputeTransformation(), G4ParameterisationTrdX::ComputeTransformation(), G4ParameterisationTrdY::ComputeTransformation(), G4ParameterisationTrdZ::ComputeTransformation(), G4ParameterisationTubsRho::ComputeTransformation(), G4ParameterisationTubsPhi::ComputeTransformation(), G4ParameterisationTubsZ::ComputeTransformation(), G4ParameterisationBoxX::G4ParameterisationBoxX(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4ParameterisationParaX::G4ParameterisationParaX(), G4ParameterisationParaY::G4ParameterisationParaY(), G4ParameterisationParaZ::G4ParameterisationParaZ(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4ParameterisationPolyconeZ::G4ParameterisationPolyconeZ(), G4ParameterisationPolyhedraPhi::G4ParameterisationPolyhedraPhi(), G4ParameterisationPolyhedraRho(), G4ParameterisationPolyhedraZ::G4ParameterisationPolyhedraZ(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), G4VDivisionParameterisation::G4VDivisionParameterisation(), and G4VDivisionParameterisation::OffsetZ().

◆ kCarTolerance

G4double G4VDivisionParameterisation::kCarTolerance
protectedinherited

◆ theVoluFirstCopyNo

G4int G4VDivisionParameterisation::theVoluFirstCopyNo = 1
protectedinherited

Definition at line 106 of file G4VDivisionParameterisation.hh.

◆ verbose

const G4int G4VDivisionParameterisation::verbose = 5
staticprotectedinherited

Definition at line 105 of file G4VDivisionParameterisation.hh.

Referenced by G4ParameterisationBoxX::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4ParameterisationParaX::ComputeDimensions(), G4ParameterisationParaY::ComputeDimensions(), G4ParameterisationParaZ::ComputeDimensions(), G4ParameterisationPolyconeRho::ComputeDimensions(), G4ParameterisationPolyconePhi::ComputeDimensions(), G4ParameterisationPolyconeZ::ComputeDimensions(), ComputeDimensions(), G4ParameterisationPolyhedraPhi::ComputeDimensions(), G4ParameterisationPolyhedraZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), G4ParameterisationBoxX::ComputeTransformation(), G4ParameterisationBoxY::ComputeTransformation(), G4ParameterisationBoxZ::ComputeTransformation(), G4ParameterisationConsRho::ComputeTransformation(), G4ParameterisationConsPhi::ComputeTransformation(), G4ParameterisationConsZ::ComputeTransformation(), G4ParameterisationParaX::ComputeTransformation(), G4ParameterisationParaY::ComputeTransformation(), G4ParameterisationParaZ::ComputeTransformation(), G4ParameterisationPolyconeRho::ComputeTransformation(), G4ParameterisationPolyconePhi::ComputeTransformation(), G4ParameterisationPolyconeZ::ComputeTransformation(), ComputeTransformation(), G4ParameterisationPolyhedraPhi::ComputeTransformation(), G4ParameterisationPolyhedraZ::ComputeTransformation(), G4ParameterisationTrdX::ComputeTransformation(), G4ParameterisationTrdY::ComputeTransformation(), G4ParameterisationTrdZ::ComputeTransformation(), G4ParameterisationTubsRho::ComputeTransformation(), G4ParameterisationTubsPhi::ComputeTransformation(), G4ParameterisationTubsZ::ComputeTransformation(), G4ParameterisationBoxX::G4ParameterisationBoxX(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4ParameterisationParaX::G4ParameterisationParaX(), G4ParameterisationParaY::G4ParameterisationParaY(), G4ParameterisationParaZ::G4ParameterisationParaZ(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4ParameterisationPolyconeZ::G4ParameterisationPolyconeZ(), G4ParameterisationPolyhedraPhi::G4ParameterisationPolyhedraPhi(), G4ParameterisationPolyhedraRho(), G4ParameterisationPolyhedraZ::G4ParameterisationPolyhedraZ(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), and G4VDivisionParameterisation::G4VDivisionParameterisation().


The documentation for this class was generated from the following files: