Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ITNavigator2::G4SaveNavigatorState Struct Reference

#include <G4ITNavigator2.hh>

Public Member Functions

 G4SaveNavigatorState ()
 
 G4SaveNavigatorState (G4NavigatorState *)
 
virtual ~G4SaveNavigatorState ()
 

Public Attributes

G4ThreeVector sExitNormal
 
G4bool sValidExitNormal
 
G4bool sEntering
 
G4bool sExiting
 
G4VPhysicalVolumespBlockedPhysicalVolume
 
G4int sBlockedReplicaNo
 
G4int sLastStepWasZero
 
G4bool sLocatedOutsideWorld
 
G4ThreeVector sLastLocatedPointLocal
 
G4bool sEnteredDaughter
 
G4bool sExitedMother
 
G4bool sWasLimitedByGeometry
 
G4ThreeVector sPreviousSftOrigin
 
G4double sPreviousSafety
 

Detailed Description

Definition at line 529 of file G4ITNavigator2.hh.

Constructor & Destructor Documentation

◆ G4SaveNavigatorState() [1/2]

G4ITNavigator2::G4SaveNavigatorState::G4SaveNavigatorState ( )

Definition at line 144 of file G4ITNavigatorState2.cc.

145{
146
147 sWasLimitedByGeometry = false;
148 sEntering = false;
149 sExiting = false;
151 sEnteredDaughter = false;
152 sExitedMother = false;
153
154
155 sValidExitNormal = false;
156 sExitNormal = G4ThreeVector(0, 0, 0);
157
159 sPreviousSafety = 0.0;
160
161// sLocatedOnEdge = false;
162// sPushed = false;
163// sNumberZeroSteps = 0;
164
165 spBlockedPhysicalVolume = nullptr;
167
168 sLastLocatedPointLocal = G4ThreeVector(kInfinity, -kInfinity, 0.0);
169 sLocatedOutsideWorld = false;
170}
CLHEP::Hep3Vector G4ThreeVector

◆ G4SaveNavigatorState() [2/2]

G4ITNavigator2::G4SaveNavigatorState::G4SaveNavigatorState ( G4NavigatorState * rhs)

Definition at line 172 of file G4ITNavigatorState2.cc.

173{
174 sExitNormal = rhs->fExitNormal;
175 sValidExitNormal = rhs->fValidExitNormal;
176 sExiting = rhs->fExiting;
177 sEntering = rhs->fEntering;
178
179 spBlockedPhysicalVolume = rhs->fBlockedPhysicalVolume;
180 sBlockedReplicaNo = rhs->fBlockedReplicaNo;
181
182 sLastStepWasZero = static_cast<G4int>(rhs->fLastStepWasZero);
183
184 sPreviousSftOrigin = rhs->fPreviousSftOrigin;
185 sPreviousSafety = rhs->fPreviousSafety;
186
187 sWasLimitedByGeometry = rhs->fWasLimitedByGeometry;
188
189// sLocatedOnEdge = rhs->fLocatedOnEdge;
190// sPushed = rhs->fPushed;
191// sNumberZeroSteps = rhs->fNumberZeroSteps;
192
193 sEnteredDaughter = rhs->fEnteredDaughter;
194 sExitedMother = rhs->fExitedMother;
195
196 sLastLocatedPointLocal = rhs->fLastLocatedPointLocal;
197 sLocatedOutsideWorld = rhs->fLocatedOutsideWorld;
198}
int G4int
Definition G4Types.hh:85

◆ ~G4SaveNavigatorState()

virtual G4ITNavigator2::G4SaveNavigatorState::~G4SaveNavigatorState ( )
inlinevirtual

Definition at line 533 of file G4ITNavigator2.hh.

534 { ;}

Member Data Documentation

◆ sBlockedReplicaNo

G4int G4ITNavigator2::G4SaveNavigatorState::sBlockedReplicaNo

Definition at line 539 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sEnteredDaughter

G4bool G4ITNavigator2::G4SaveNavigatorState::sEnteredDaughter

Definition at line 552 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sEntering

G4bool G4ITNavigator2::G4SaveNavigatorState::sEntering

Definition at line 537 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sExitedMother

G4bool G4ITNavigator2::G4SaveNavigatorState::sExitedMother

Definition at line 552 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sExiting

G4bool G4ITNavigator2::G4SaveNavigatorState::sExiting

Definition at line 537 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sExitNormal

G4ThreeVector G4ITNavigator2::G4SaveNavigatorState::sExitNormal

Definition at line 535 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sLastLocatedPointLocal

G4ThreeVector G4ITNavigator2::G4SaveNavigatorState::sLastLocatedPointLocal

Definition at line 551 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sLastStepWasZero

G4int G4ITNavigator2::G4SaveNavigatorState::sLastStepWasZero

Definition at line 540 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sLocatedOutsideWorld

G4bool G4ITNavigator2::G4SaveNavigatorState::sLocatedOutsideWorld

Definition at line 550 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ spBlockedPhysicalVolume

G4VPhysicalVolume* G4ITNavigator2::G4SaveNavigatorState::spBlockedPhysicalVolume

Definition at line 538 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sPreviousSafety

G4double G4ITNavigator2::G4SaveNavigatorState::sPreviousSafety

Definition at line 556 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sPreviousSftOrigin

G4ThreeVector G4ITNavigator2::G4SaveNavigatorState::sPreviousSftOrigin

Definition at line 555 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sValidExitNormal

G4bool G4ITNavigator2::G4SaveNavigatorState::sValidExitNormal

Definition at line 536 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().

◆ sWasLimitedByGeometry

G4bool G4ITNavigator2::G4SaveNavigatorState::sWasLimitedByGeometry

Definition at line 553 of file G4ITNavigator2.hh.

Referenced by G4ITNavigator2::G4NavigatorState::operator=().


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