Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
G4VParameterisationPolyhedra Class Referenceabstract

#include <G4ParameterisationPolyhedra.hh>

Inheritance diagram for G4VParameterisationPolyhedra:
G4VDivisionParameterisation G4VPVParameterisation G4ParameterisationPolyhedraPhi G4ParameterisationPolyhedraRho G4ParameterisationPolyhedraZ

Public Member Functions

virtual void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
virtual G4MaterialComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=nullptr)
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
virtual void ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const =0
 
 G4VParameterisationPolyhedra (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
 
EAxis GetAxis () const
 
G4double GetHalfGap () const
 
virtual G4VVolumeMaterialScannerGetMaterialScanner ()
 
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
 
virtual ~G4VParameterisationPolyhedra ()
 

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)
 
virtual void CheckParametersValidity ()
 
virtual G4double GetMaxParameter () const =0
 
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

G4double ConvertRadiusFactor (const G4Polyhedra &phedra) const
 

Detailed Description

Definition at line 58 of file G4ParameterisationPolyhedra.hh.

Constructor & Destructor Documentation

◆ G4VParameterisationPolyhedra()

G4VParameterisationPolyhedra::G4VParameterisationPolyhedra ( EAxis  axis,
G4int  nCopies,
G4double  offset,
G4double  step,
G4VSolid msolid,
DivisionType  divType 
)

Definition at line 45 of file G4ParameterisationPolyhedra.cc.

49 : G4VDivisionParameterisation( axis, nDiv, width, offset, divType, msolid )
50{
51 std::ostringstream message;
52 /* #ifdef G4MULTITHREADED
53 message << "Divisions for G4Polyhedra currently NOT supported in MT-mode."
54 << G4endl
55 << "Sorry! Solid: " << msolid->GetName();
56 G4Exception("G4VParameterisationPolyhedra::G4VParameterisationPolyhedra()",
57 "GeomDiv0001", FatalException, message);
58 #endif */
59
60 G4Polyhedra* msol = (G4Polyhedra*)(msolid);
61 if ((msolid->GetEntityType() != "G4ReflectedSolid") && (msol->IsGeneric()))
62 {
63 message << "Generic construct for G4Polyhedra NOT supported." << G4endl
64 << "Sorry! Solid: " << msol->GetName();
65 G4Exception("G4VParameterisationPolyhedra::G4VParameterisationPolyhedra()",
66 "GeomDiv0001", FatalException, message);
67 }
68 if (msolid->GetEntityType() == "G4ReflectedSolid")
69 {
70 // Get constituent solid
71 //
72 G4VSolid* mConstituentSolid
73 = ((G4ReflectedSolid*)msolid)->GetConstituentMovedSolid();
74 msol = (G4Polyhedra*)(mConstituentSolid);
75
76 // Get parameters
77 //
78 G4int nofSides = msol->GetOriginalParameters()->numSide;
79 G4int nofZplanes = msol->GetOriginalParameters()->Num_z_planes;
80 G4double* zValues = msol->GetOriginalParameters()->Z_values;
81 G4double* rminValues = msol->GetOriginalParameters()->Rmin;
82 G4double* rmaxValues = msol->GetOriginalParameters()->Rmax;
83
84 // Invert z values, convert radius parameters
85 //
86 G4double* rminValues2 = new G4double[nofZplanes];
87 G4double* rmaxValues2 = new G4double[nofZplanes];
88 G4double* zValuesRefl = new G4double[nofZplanes];
89 for (G4int i=0; i<nofZplanes; ++i)
90 {
91 rminValues2[i] = rminValues[i] * ConvertRadiusFactor(*msol);
92 rmaxValues2[i] = rmaxValues[i] * ConvertRadiusFactor(*msol);
93 zValuesRefl[i] = - zValues[i];
94 }
95
96 G4Polyhedra* newSolid
97 = new G4Polyhedra(msol->GetName(),
98 msol->GetStartPhi(),
99 msol->GetEndPhi() - msol->GetStartPhi(),
100 nofSides,
101 nofZplanes, zValuesRefl, rminValues2, rmaxValues2);
102
103 delete [] rminValues2;
104 delete [] rmaxValues2;
105 delete [] zValuesRefl;
106
107 msol = newSolid;
108 fmotherSolid = newSolid;
109 fReflectedSolid = true;
110 fDeleteSolid = true;
111 }
112}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
#define G4endl
Definition: G4ios.hh:57
G4double GetEndPhi() const
G4PolyhedraHistorical * GetOriginalParameters() const
G4double GetStartPhi() const
G4bool IsGeneric() const
G4VDivisionParameterisation(EAxis axis, G4int nDiv, G4double width, G4double offset, DivisionType divType, G4VSolid *motherSolid=nullptr)
G4double ConvertRadiusFactor(const G4Polyhedra &phedra) const
G4String GetName() const
virtual G4GeometryType GetEntityType() const =0

References ConvertRadiusFactor(), FatalException, G4VDivisionParameterisation::fDeleteSolid, G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::fReflectedSolid, G4endl, G4Exception(), G4Polyhedra::GetEndPhi(), G4VSolid::GetEntityType(), G4VSolid::GetName(), G4Polyhedra::GetOriginalParameters(), G4Polyhedra::GetStartPhi(), G4Polyhedra::IsGeneric(), G4PolyhedraHistorical::Num_z_planes, G4PolyhedraHistorical::numSide, G4PolyhedraHistorical::Rmax, G4PolyhedraHistorical::Rmin, and G4PolyhedraHistorical::Z_values.

◆ ~G4VParameterisationPolyhedra()

G4VParameterisationPolyhedra::~G4VParameterisationPolyhedra ( )
virtual

Definition at line 115 of file G4ParameterisationPolyhedra.cc.

116{
117}

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}
G4GLOB_DLL std::ostream G4cout

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::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(), G4ParameterisationPolyhedraRho::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::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

Definition at line 85 of file G4VDivisionParameterisation.cc.

87{
88 if (fRot == nullptr)
89 {
90 fRot = new G4RotationMatrix();
92 }
93 fRot->rotateZ( rotZ );
94 physVol->SetRotation(fRot);
95}
CLHEP::HepRotation G4RotationMatrix
HepRotation & rotateZ(double delta)
Definition: Rotation.cc:87
static G4ThreadLocal G4RotationMatrix * fRot
void SetRotation(G4RotationMatrix *)
void Register(T *inst)
Definition: G4AutoDelete.hh:65

References G4VDivisionParameterisation::fRot, G4AutoDelete::Register(), CLHEP::HepRotation::rotateZ(), and G4VPhysicalVolume::SetRotation().

Referenced by G4ParameterisationConsRho::ComputeTransformation(), G4ParameterisationConsPhi::ComputeTransformation(), G4ParameterisationConsZ::ComputeTransformation(), G4ParameterisationPolyconeRho::ComputeTransformation(), G4ParameterisationPolyconePhi::ComputeTransformation(), G4ParameterisationPolyconeZ::ComputeTransformation(), G4ParameterisationPolyhedraRho::ComputeTransformation(), G4ParameterisationPolyhedraPhi::ComputeTransformation(), G4ParameterisationPolyhedraZ::ComputeTransformation(), G4ParameterisationTubsRho::ComputeTransformation(), G4ParameterisationTubsPhi::ComputeTransformation(), and G4ParameterisationTubsZ::ComputeTransformation().

◆ 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}

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 G4VDivisionParameterisation::CheckParametersValidity ( )
protectedvirtualinherited

Reimplemented in G4ParameterisationPolyconeRho, G4ParameterisationPolyconeZ, G4ParameterisationPolyhedraRho, G4ParameterisationPolyhedraPhi, and G4ParameterisationPolyhedraZ.

Definition at line 128 of file G4VDivisionParameterisation.cc.

129{
130 G4double maxPar = GetMaxParameter();
131 CheckOffset( maxPar );
132 CheckNDivAndWidth( maxPar );
133}
virtual G4double GetMaxParameter() const =0

References G4VDivisionParameterisation::CheckNDivAndWidth(), G4VDivisionParameterisation::CheckOffset(), and G4VDivisionParameterisation::GetMaxParameter().

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

◆ ComputeDimensions() [1/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Box ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [2/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Cons ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [3/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Ellipsoid ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [4/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Hype ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [5/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Orb ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [6/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Para ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [7/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Polycone ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [8/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Polyhedra ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [9/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Sphere ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [10/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Torus ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [11/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Trap ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [12/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Trd ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ ComputeDimensions() [13/13]

virtual void G4VPVParameterisation::ComputeDimensions ( G4Tubs ,
const  G4int,
const G4VPhysicalVolume  
) const
inlinevirtualinherited

◆ 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 *)

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

◆ ComputeTransformation()

virtual void G4VDivisionParameterisation::ComputeTransformation ( const G4int  copyNo,
G4VPhysicalVolume physVol 
) const
pure virtualinherited

◆ ConvertRadiusFactor()

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

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()

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

Referenced by 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()

virtual G4double G4VDivisionParameterisation::GetMaxParameter ( ) const
protectedpure virtualinherited

◆ 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(), G4ParameterisationPolyhedraRho::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(), G4ParameterisationPolyhedraRho::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::G4ParameterisationPolyhedraRho(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), G4VParameterisationBox::G4VParameterisationBox(), G4VParameterisationCons::G4VParameterisationCons(), G4VParameterisationPara::G4VParameterisationPara(), G4VParameterisationPolycone::G4VParameterisationPolycone(), 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(), G4ParameterisationPolyhedraRho::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(), G4ParameterisationPolyhedraRho::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::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(), G4ParameterisationPolyhedraRho::CheckParametersValidity(), G4ParameterisationPolyhedraPhi::CheckParametersValidity(), G4ParameterisationPolyhedraZ::CheckParametersValidity(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationPolyconeRho::ComputeDimensions(), G4ParameterisationPolyconeZ::ComputeDimensions(), G4ParameterisationPolyhedraRho::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(), G4ParameterisationPolyhedraRho::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::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(), G4ParameterisationPolyhedraRho::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::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(), G4ParameterisationPolyhedraRho::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(), G4ParameterisationPolyhedraRho::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::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: