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

#include <G4RegularNavigationHelper.hh>

Public Member Functions

 ~G4RegularNavigationHelper ()
 
void ClearStepLengths ()
 
void AddStepLength (G4int copyNo, G4double slen)
 
const std::vector< std::pair< G4int, G4double > > & GetStepLengths ()
 

Static Public Member Functions

static G4RegularNavigationHelperInstance ()
 

Public Attributes

std::vector< std::pair< G4int, G4double > > theStepLengths
 

Friends

class G4ThreadLocalSingleton< G4RegularNavigationHelper >
 

Detailed Description

Definition at line 45 of file G4RegularNavigationHelper.hh.

Constructor & Destructor Documentation

◆ ~G4RegularNavigationHelper()

G4RegularNavigationHelper::~G4RegularNavigationHelper ( )
default

Member Function Documentation

◆ AddStepLength()

void G4RegularNavigationHelper::AddStepLength ( G4int copyNo,
G4double slen )

Definition at line 56 of file G4RegularNavigationHelper.cc.

57{
58 theStepLengths.push_back( std::pair<G4int,G4double>(copyNo,slen) );
59}
std::vector< std::pair< G4int, G4double > > theStepLengths

Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().

◆ ClearStepLengths()

void G4RegularNavigationHelper::ClearStepLengths ( )

Definition at line 49 of file G4RegularNavigationHelper.cc.

50{
51 theStepLengths.clear();
52}

Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().

◆ GetStepLengths()

const std::vector< std::pair< G4int, G4double > > & G4RegularNavigationHelper::GetStepLengths ( )

◆ Instance()

Friends And Related Symbol Documentation

◆ G4ThreadLocalSingleton< G4RegularNavigationHelper >

Definition at line 1 of file G4RegularNavigationHelper.hh.

Member Data Documentation

◆ theStepLengths

std::vector< std::pair<G4int,G4double> > G4RegularNavigationHelper::theStepLengths

Definition at line 58 of file G4RegularNavigationHelper.hh.

Referenced by AddStepLength(), ClearStepLengths(), and GetStepLengths().


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