Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ParameterisedNavigation Class Reference

#include <G4ParameterisedNavigation.hh>

+ Inheritance diagram for G4ParameterisedNavigation:

Public Member Functions

 G4ParameterisedNavigation ()
 
 ~G4ParameterisedNavigation ()
 
G4SmartVoxelNodeParamVoxelLocate (G4SmartVoxelHeader *pHead, const G4ThreeVector &localPoint)
 
G4bool LevelLocate (G4NavigationHistory &history, const G4VPhysicalVolume *blockedVol, const G4int blockedNum, const G4ThreeVector &globalPoint, const G4ThreeVector *globalDirection, const G4bool pLocatedOnEdge, G4ThreeVector &localPoint)
 
G4double ComputeStep (const G4ThreeVector &globalPoint, const G4ThreeVector &globalDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo)
 
G4double ComputeSafety (const G4ThreeVector &localPoint, const G4NavigationHistory &history, const G4double pProposedMaxLength=DBL_MAX)
 
- Public Member Functions inherited from G4VoxelNavigation
 G4VoxelNavigation ()
 
virtual ~G4VoxelNavigation ()
 
G4SmartVoxelNodeVoxelLocate (G4SmartVoxelHeader *pHead, const G4ThreeVector &localPoint)
 
virtual G4bool LevelLocate (G4NavigationHistory &history, const G4VPhysicalVolume *blockedVol, const G4int blockedNum, const G4ThreeVector &globalPoint, const G4ThreeVector *globalDirection, const G4bool pLocatedOnEdge, G4ThreeVector &localPoint)
 
virtual G4double ComputeStep (const G4ThreeVector &globalPoint, const G4ThreeVector &globalDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo)
 
virtual G4double ComputeSafety (const G4ThreeVector &globalpoint, const G4NavigationHistory &history, const G4double pMaxLength=DBL_MAX)
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int level)
 
void CheckMode (G4bool mode)
 
void EnableBestSafety (G4bool flag=false)
 

Additional Inherited Members

- Protected Member Functions inherited from G4VoxelNavigation
G4double ComputeVoxelSafety (const G4ThreeVector &localPoint) const
 
G4bool LocateNextVoxel (const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4double currentStep)
 
G4SmartVoxelNodeVoxelLocateLight (G4SmartVoxelHeader *pHead, const G4ThreeVector &localPoint) const
 
- Protected Attributes inherited from G4VoxelNavigation
G4BlockingList fBList
 
G4int fVoxelDepth = -1
 
std::vector< EAxisfVoxelAxisStack
 
std::vector< G4intfVoxelNoSlicesStack
 
std::vector< G4doublefVoxelSliceWidthStack
 
std::vector< G4intfVoxelNodeNoStack
 
std::vector< G4SmartVoxelHeader * > fVoxelHeaderStack
 
G4SmartVoxelNodefVoxelNode = nullptr
 
G4VoxelSafetyfpVoxelSafety = nullptr
 
G4double fHalfTolerance
 
G4bool fCheck = false
 
G4bool fBestSafety = false
 
G4NavigationLoggerfLogger
 

Detailed Description

Definition at line 54 of file G4ParameterisedNavigation.hh.

Constructor & Destructor Documentation

◆ G4ParameterisedNavigation()

G4ParameterisedNavigation::G4ParameterisedNavigation ( )

Definition at line 56 of file G4ParameterisedNavigation.cc.

57{
58}

◆ ~G4ParameterisedNavigation()

G4ParameterisedNavigation::~G4ParameterisedNavigation ( )

Definition at line 64 of file G4ParameterisedNavigation.cc.

65{
66}

Member Function Documentation

◆ ComputeSafety()

G4double G4ParameterisedNavigation::ComputeSafety ( const G4ThreeVector localPoint,
const G4NavigationHistory history,
const G4double  pProposedMaxLength = DBL_MAX 
)
virtual

Reimplemented from G4VoxelNavigation.

Definition at line 396 of file G4ParameterisedNavigation.cc.

399{
400 G4VPhysicalVolume *motherPhysical, *samplePhysical;
401 G4VPVParameterisation *sampleParam;
402 G4LogicalVolume *motherLogical;
403 G4VSolid *motherSolid, *sampleSolid;
404 G4double motherSafety, ourSafety;
405 G4int sampleNo, curVoxelNodeNo;
406
407 G4SmartVoxelNode *curVoxelNode;
408 G4int curNoVolumes, contentNo;
409 G4double voxelSafety;
410
411 // Replication data
412 //
413 EAxis axis;
414 G4int nReplicas;
415 G4double width, offset;
416 G4bool consuming;
417
418 motherPhysical = history.GetTopVolume();
419 motherLogical = motherPhysical->GetLogicalVolume();
420 motherSolid = motherLogical->GetSolid();
421
422 //
423 // Compute mother safety
424 //
425
426 motherSafety = motherSolid->DistanceToOut(localPoint);
427 ourSafety = motherSafety; // Working isotropic safety
428
429 //
430 // Compute daughter safeties
431 //
432
433 // By definition, parameterised volumes exist as first
434 // daughter of the mother volume
435 //
436 samplePhysical = motherLogical->GetDaughter(0);
437 samplePhysical->GetReplicationData(axis, nReplicas,
438 width, offset, consuming);
439 sampleParam = samplePhysical->GetParameterisation();
440
441 // Look inside the current Voxel only at the current point
442 //
443 if ( axis==kUndefined ) // 3D case: current voxel node is retrieved
444 { // from G4VoxelNavigation.
445 curVoxelNode = fVoxelNode;
446 }
447 else // 1D case: current voxel node is computed here.
448 {
449 curVoxelNodeNo = G4int((localPoint(fVoxelAxis)
450 -fVoxelHeader->GetMinExtent()) / fVoxelSliceWidth );
451 curVoxelNode = fVoxelHeader->GetSlice(curVoxelNodeNo)->GetNode();
452 fVoxelNodeNo = curVoxelNodeNo;
453 fVoxelNode = curVoxelNode;
454 }
455 curNoVolumes = curVoxelNode->GetNoContained();
456
457 for ( contentNo=curNoVolumes-1; contentNo>=0; contentNo-- )
458 {
459 sampleNo = curVoxelNode->GetVolume(contentNo);
460
461 // Call virtual methods, and copy information if needed
462 //
463 sampleSolid= IdentifyAndPlaceSolid( sampleNo,samplePhysical,sampleParam );
464
465 G4AffineTransform sampleTf(samplePhysical->GetRotation(),
466 samplePhysical->GetTranslation());
467 sampleTf.Invert();
468 const G4ThreeVector samplePoint = sampleTf.TransformPoint(localPoint);
469 G4double sampleSafety = sampleSolid->DistanceToIn(samplePoint);
470 if ( sampleSafety<ourSafety )
471 {
472 ourSafety = sampleSafety;
473 }
474 }
475
476 voxelSafety = ComputeVoxelSafety(localPoint,axis);
477 if ( voxelSafety<ourSafety )
478 {
479 ourSafety=voxelSafety;
480 }
481
482 return ourSafety;
483}
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
G4VSolid * GetSolid() const
G4VPhysicalVolume * GetDaughter(const G4int i) const
G4VPhysicalVolume * GetTopVolume() const
G4double GetMinExtent() const
G4SmartVoxelProxy * GetSlice(G4int n) const
G4int GetVolume(G4int pVolumeNo) const
size_t GetNoContained() const
G4SmartVoxelNode * GetNode() const
const G4RotationMatrix * GetRotation() const
const G4ThreeVector GetTranslation() const
G4LogicalVolume * GetLogicalVolume() const
virtual void GetReplicationData(EAxis &axis, G4int &nReplicas, G4double &width, G4double &offset, G4bool &consuming) const =0
virtual G4VPVParameterisation * GetParameterisation() const =0
virtual G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const =0
virtual G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const =0
G4SmartVoxelNode * fVoxelNode
EAxis
Definition: geomdefs.hh:54
@ kUndefined
Definition: geomdefs.hh:61

Referenced by G4Navigator::ComputeSafety(), G4ITNavigator1::ComputeSafety(), and G4ITNavigator2::ComputeSafety().

◆ ComputeStep()

G4double G4ParameterisedNavigation::ComputeStep ( const G4ThreeVector globalPoint,
const G4ThreeVector globalDirection,
const G4double  currentProposedStepLength,
G4double newSafety,
G4NavigationHistory history,
G4bool validExitNormal,
G4ThreeVector exitNormal,
G4bool exiting,
G4bool entering,
G4VPhysicalVolume **  pBlockedPhysical,
G4int blockedReplicaNo 
)
virtual

Reimplemented from G4VoxelNavigation.

Definition at line 72 of file G4ParameterisedNavigation.cc.

84{
85 G4VPhysicalVolume *motherPhysical, *samplePhysical;
86 G4VPVParameterisation *sampleParam;
87 G4LogicalVolume *motherLogical;
88 G4VSolid *motherSolid, *sampleSolid;
89 G4ThreeVector sampleDirection;
90 G4double ourStep=currentProposedStepLength, ourSafety;
91 G4double motherSafety, motherStep = DBL_MAX;
92 G4bool motherValidExitNormal = false;
93 G4ThreeVector motherExitNormal;
94
95 G4int sampleNo;
96
97 G4bool initialNode, noStep;
98 G4SmartVoxelNode *curVoxelNode;
99 G4int curNoVolumes, contentNo;
100 G4double voxelSafety;
101
102 // Replication data
103 //
104 EAxis axis;
105 G4int nReplicas;
106 G4double width, offset;
107 G4bool consuming;
108
109 motherPhysical = history.GetTopVolume();
110 motherLogical = motherPhysical->GetLogicalVolume();
111 motherSolid = motherLogical->GetSolid();
112
113 //
114 // Compute mother safety
115 //
116
117 motherSafety = motherSolid->DistanceToOut(localPoint);
118 ourSafety = motherSafety; // Working isotropic safety
119
120#ifdef G4VERBOSE
121 if ( fCheck )
122 {
123 if( motherSafety < 0.0 )
124 {
125 motherSolid->DumpInfo();
126 std::ostringstream message;
127 message << "Negative Safety In Voxel Navigation !" << G4endl
128 << " Current solid " << motherSolid->GetName()
129 << " gave negative safety: " << motherSafety << G4endl
130 << " for the current (local) point " << localPoint;
131 G4Exception("G4ParameterisedNavigation::ComputeStep()",
132 "GeomNav0003", FatalException, message);
133 }
134 if( motherSolid->Inside(localPoint) == kOutside )
135 {
136 std::ostringstream message;
137 message << "Point is outside Current Volume !" << G4endl
138 << " Point " << localPoint
139 << " is outside current volume " << motherPhysical->GetName()
140 << G4endl;
141 G4double estDistToSolid = motherSolid->DistanceToIn(localPoint);
142 G4cout << " Estimated isotropic distance to solid (distToIn)= "
143 << estDistToSolid;
144 if( estDistToSolid > 100.0 * motherSolid->GetTolerance() )
145 {
146 motherSolid->DumpInfo();
147 G4Exception("G4ParameterisedNavigation::ComputeStep()",
148 "GeomNav0003", FatalException, message,
149 "Point is far outside Current Volume !");
150 }
151 else
152 {
153 G4Exception("G4ParameterisedNavigation::ComputeStep()",
154 "GeomNav1002", JustWarning, message,
155 "Point is a little outside Current Volume.");
156 }
157 }
158
159 // Compute early:
160 // a) to check whether point is (wrongly) outside
161 // (signaled if step < 0 or step == kInfinity )
162 // b) to check value against answer of daughters!
163 //
164 motherStep = motherSolid->DistanceToOut(localPoint,
165 localDirection,
166 true,
167 &motherValidExitNormal,
168 &motherExitNormal);
169
170 if( (motherStep >= kInfinity) || (motherStep < 0.0) )
171 {
172 // Error - indication of being outside solid !!
173 //
174 fLogger->ReportOutsideMother(localPoint, localDirection, motherPhysical);
175
176 ourStep = motherStep = 0.0;
177 exiting = true;
178 entering = false;
179
180 // If we are outside the solid does the normal make sense?
181 validExitNormal = motherValidExitNormal;
182 exitNormal = motherExitNormal;
183
184 *pBlockedPhysical = nullptr; // or motherPhysical ?
185 blockedReplicaNo = 0; // or motherReplicaNumber ?
186
187 newSafety = 0.0;
188 return ourStep;
189 }
190 }
191#endif
192
193 initialNode = true;
194 noStep = true;
195
196 // By definition, the parameterised volume is the first
197 // (and only) daughter of the mother volume
198 //
199 samplePhysical = motherLogical->GetDaughter(0);
200 samplePhysical->GetReplicationData(axis,nReplicas,width,offset,consuming);
201 fBList.Enlarge(nReplicas);
202 fBList.Reset();
203
204 // Exiting normal optimisation
205 //
206 if (exiting && (*pBlockedPhysical==samplePhysical) && validExitNormal)
207 {
208 if (localDirection.dot(exitNormal)>=kMinExitingNormalCosine)
209 {
210 // Block exited daughter replica; Must be on boundary => zero safety
211 //
212 fBList.BlockVolume(blockedReplicaNo);
213 ourSafety = 0;
214 }
215 }
216 exiting = false;
217 entering = false;
218
219 sampleParam = samplePhysical->GetParameterisation();
220
221 // Loop over voxels & compute daughter safeties & intersections
222
223 do
224 {
225 curVoxelNode = fVoxelNode;
226 curNoVolumes = curVoxelNode->GetNoContained();
227
228 for ( contentNo=curNoVolumes-1; contentNo>=0; contentNo-- )
229 {
230 sampleNo = curVoxelNode->GetVolume(contentNo);
231 if ( !fBList.IsBlocked(sampleNo) )
232 {
233 fBList.BlockVolume(sampleNo);
234
235 // Call virtual methods, and copy information if needed
236 //
237 sampleSolid = IdentifyAndPlaceSolid( sampleNo, samplePhysical,
238 sampleParam );
239
240 G4AffineTransform sampleTf(samplePhysical->GetRotation(),
241 samplePhysical->GetTranslation());
242 sampleTf.Invert();
243 const G4ThreeVector samplePoint = sampleTf.TransformPoint(localPoint);
244 const G4double sampleSafety = sampleSolid->DistanceToIn(samplePoint);
245 if ( sampleSafety<ourSafety )
246 {
247 ourSafety = sampleSafety;
248 }
249 if ( sampleSafety<=ourStep )
250 {
251 sampleDirection = sampleTf.TransformAxis(localDirection);
252 G4double sampleStep =
253 sampleSolid->DistanceToIn(samplePoint, sampleDirection);
254 if ( sampleStep<=ourStep )
255 {
256 ourStep = sampleStep;
257 entering = true;
258 exiting = false;
259 *pBlockedPhysical = samplePhysical;
260 blockedReplicaNo = sampleNo;
261#ifdef G4VERBOSE
262 // Check to see that the resulting point is indeed in/on volume.
263 // This check could eventually be made only for successful
264 // candidate.
265
266 if ( ( fCheck ) && ( sampleStep < kInfinity ) )
267 {
268 G4ThreeVector intersectionPoint;
269 intersectionPoint = samplePoint + sampleStep * sampleDirection;
270 EInside insideIntPt = sampleSolid->Inside(intersectionPoint);
271 if( insideIntPt != kSurface )
272 {
273 G4int oldcoutPrec = G4cout.precision(16);
274 std::ostringstream message;
275 message << "Navigator gets conflicting response from Solid."
276 << G4endl
277 << " Inaccurate solid DistanceToIn"
278 << " for solid " << sampleSolid->GetName() << G4endl
279 << " Solid gave DistanceToIn = "
280 << sampleStep << " yet returns " ;
281 if( insideIntPt == kInside )
282 message << "-kInside-";
283 else if( insideIntPt == kOutside )
284 message << "-kOutside-";
285 else
286 message << "-kSurface-";
287 message << " for this point !" << G4endl
288 << " Point = " << intersectionPoint
289 << G4endl;
290 if ( insideIntPt != kInside )
291 message << " DistanceToIn(p) = "
292 << sampleSolid->DistanceToIn(intersectionPoint);
293 if ( insideIntPt != kOutside )
294 message << " DistanceToOut(p) = "
295 << sampleSolid->DistanceToOut(intersectionPoint);
296 G4Exception("G4ParameterisedNavigation::ComputeStep()",
297 "GeomNav1002", JustWarning, message);
298 G4cout.precision(oldcoutPrec);
299 }
300 }
301#endif
302 }
303 }
304 }
305 }
306
307 if ( initialNode )
308 {
309 initialNode = false;
310 voxelSafety = ComputeVoxelSafety(localPoint,axis);
311 if ( voxelSafety<ourSafety )
312 {
313 ourSafety = voxelSafety;
314 }
315 if ( currentProposedStepLength<ourSafety )
316 {
317 // Guaranteed physics limited
318 //
319 noStep = false;
320 entering = false;
321 exiting = false;
322 *pBlockedPhysical = nullptr;
323 ourStep = kInfinity;
324 }
325 else
326 {
327 // Consider intersection with mother solid
328 //
329 if ( motherSafety<=ourStep )
330 {
331 if ( !fCheck )
332 {
333 motherStep = motherSolid->DistanceToOut(localPoint,
334 localDirection,
335 true,
336 &motherValidExitNormal,
337 &motherExitNormal);
338 }
339
340 if( ( motherStep < 0.0 ) || ( motherStep >= kInfinity) )
341 {
342#ifdef G4VERBOSE
343 fLogger->ReportOutsideMother(localPoint, localDirection,
344 motherPhysical);
345#endif
346 ourStep = motherStep = 0.0;
347 // Rely on the code below to set the remaining state, i.e.
348 // exiting, entering, exitNormal & validExitNormal,
349 // pBlockedPhysical etc.
350 }
351#ifdef G4VERBOSE
352 if( motherValidExitNormal && ( fCheck || (motherStep<=ourStep)) )
353 {
354 fLogger->CheckAndReportBadNormal(motherExitNormal,
355 localPoint, localDirection,
356 motherStep, motherSolid,
357 "From motherSolid::DistanceToOut");
358 }
359#endif
360 if ( motherStep<=ourStep )
361 {
362 ourStep = motherStep;
363 exiting = true;
364 entering = false;
365 if ( validExitNormal )
366 {
367 const G4RotationMatrix* rot = motherPhysical->GetRotation();
368 if (rot)
369 {
370 exitNormal *= rot->inverse();
371 }
372 }
373 }
374 else
375 {
376 validExitNormal = false;
377 }
378 }
379 }
380 newSafety = ourSafety;
381 }
382 if (noStep)
383 {
384 noStep = LocateNextVoxel(localPoint, localDirection, ourStep, axis);
385 }
386 } while (noStep);
387
388 return ourStep;
389}
@ JustWarning
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
HepRotation inverse() const
void BlockVolume(const G4int v)
void Enlarge(const G4int nv)
G4bool IsBlocked(const G4int v) const
G4bool CheckAndReportBadNormal(const G4ThreeVector &unitNormal, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, G4double step, const G4VSolid *solid, const char *msg) const
void ReportOutsideMother(const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4VPhysicalVolume *motherPV, G4double tDist=30.0 *CLHEP::cm) const
const G4String & GetName() const
G4String GetName() const
G4double GetTolerance() const
virtual EInside Inside(const G4ThreeVector &p) const =0
void DumpInfo() const
G4NavigationLogger * fLogger
G4BlockingList fBList
EInside
Definition: geomdefs.hh:67
@ kInside
Definition: geomdefs.hh:70
@ kOutside
Definition: geomdefs.hh:68
@ kSurface
Definition: geomdefs.hh:69
#define DBL_MAX
Definition: templates.hh:62

Referenced by G4Navigator::ComputeStep(), G4ITNavigator1::ComputeStep(), and G4ITNavigator2::ComputeStep().

◆ LevelLocate()

G4bool G4ParameterisedNavigation::LevelLocate ( G4NavigationHistory history,
const G4VPhysicalVolume blockedVol,
const G4int  blockedNum,
const G4ThreeVector globalPoint,
const G4ThreeVector globalDirection,
const G4bool  pLocatedOnEdge,
G4ThreeVector localPoint 
)
virtual

Reimplemented from G4VoxelNavigation.

Definition at line 602 of file G4ParameterisedNavigation.cc.

609{
610 G4SmartVoxelHeader *motherVoxelHeader;
611 G4SmartVoxelNode *motherVoxelNode;
612 G4VPhysicalVolume *motherPhysical, *pPhysical;
613 G4VPVParameterisation *pParam;
614 G4LogicalVolume *motherLogical;
615 G4VSolid *pSolid;
616 G4ThreeVector samplePoint;
617 G4int voxelNoDaughters, replicaNo;
618
619 motherPhysical = history.GetTopVolume();
620 motherLogical = motherPhysical->GetLogicalVolume();
621 motherVoxelHeader = motherLogical->GetVoxelHeader();
622
623 // Find the voxel containing the point
624 //
625 motherVoxelNode = ParamVoxelLocate(motherVoxelHeader,localPoint);
626
627 voxelNoDaughters = motherVoxelNode->GetNoContained();
628 if ( voxelNoDaughters==0 ) { return false; }
629
630 pPhysical = motherLogical->GetDaughter(0);
631 pParam = pPhysical->GetParameterisation();
632
633 // Save parent history in touchable history
634 // ... for use as parent t-h in ComputeMaterial method of param
635 //
636 G4TouchableHistory parentTouchable( history );
637
638 // Search replicated daughter volume
639 //
640 for ( auto sampleNo=voxelNoDaughters-1; sampleNo>=0; sampleNo-- )
641 {
642 replicaNo = motherVoxelNode->GetVolume(sampleNo);
643 if ( (replicaNo!=blockedNum) || (pPhysical!=blockedVol) )
644 {
645 // Obtain solid (as it can vary) and obtain its parameters
646 //
647 pSolid = IdentifyAndPlaceSolid( replicaNo, pPhysical, pParam );
648
649 // Setup history
650 //
651 history.NewLevel(pPhysical, kParameterised, replicaNo);
652 samplePoint = history.GetTopTransform().TransformPoint(globalPoint);
653 if ( !G4AuxiliaryNavServices::CheckPointOnSurface( pSolid, samplePoint,
654 globalDirection, history.GetTopTransform(), pLocatedOnEdge) )
655 {
656 history.BackLevel();
657 }
658 else
659 {
660 // Enter this daughter
661 //
662 localPoint = samplePoint;
663
664 // Set the correct copy number in physical
665 //
666 pPhysical->SetCopyNo(replicaNo);
667
668 // Set the correct solid and material in Logical Volume
669 //
670 G4LogicalVolume *pLogical = pPhysical->GetLogicalVolume();
671 pLogical->SetSolid(pSolid);
672 pLogical->UpdateMaterial(pParam->ComputeMaterial(replicaNo,
673 pPhysical, &parentTouchable) );
674 return true;
675 }
676 }
677 }
678 return false;
679}
G4ThreeVector TransformPoint(const G4ThreeVector &vec) const
static G4bool CheckPointOnSurface(const G4VSolid *sampleSolid, const G4ThreeVector &localPoint, const G4ThreeVector *globalDirection, const G4AffineTransform &sampleTransform, const G4bool locatedOnEdge)
void SetSolid(G4VSolid *pSolid)
G4SmartVoxelHeader * GetVoxelHeader() const
void UpdateMaterial(G4Material *pMaterial)
void NewLevel(G4VPhysicalVolume *pNewMother, EVolume vType=kNormal, G4int nReplica=-1)
const G4AffineTransform & GetTopTransform() const
G4SmartVoxelNode * ParamVoxelLocate(G4SmartVoxelHeader *pHead, const G4ThreeVector &localPoint)
virtual G4Material * ComputeMaterial(const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=nullptr)
virtual void SetCopyNo(G4int CopyNo)=0
@ kParameterised
Definition: geomdefs.hh:86

Referenced by G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), and G4Navigator::LocateGlobalPointAndSetup().

◆ ParamVoxelLocate()


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