Geant4-11
Public Member Functions | Static Public Member Functions | Data Fields | Private Member Functions | Friends
G4RegularNavigationHelper Class Reference

#include <G4RegularNavigationHelper.hh>

Public Member Functions

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

Static Public Member Functions

static G4RegularNavigationHelperInstance ()
 

Data Fields

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

Private Member Functions

 G4RegularNavigationHelper ()
 

Friends

class G4ThreadLocalSingleton< G4RegularNavigationHelper >
 

Detailed Description

Definition at line 45 of file G4RegularNavigationHelper.hh.

Constructor & Destructor Documentation

◆ ~G4RegularNavigationHelper()

G4RegularNavigationHelper::~G4RegularNavigationHelper ( )

Definition at line 47 of file G4RegularNavigationHelper.cc.

48{
49}

◆ G4RegularNavigationHelper()

G4RegularNavigationHelper::G4RegularNavigationHelper ( )
private

Definition at line 41 of file G4RegularNavigationHelper.cc.

42{
43}

Member Function Documentation

◆ AddStepLength()

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

Definition at line 60 of file G4RegularNavigationHelper.cc.

61{
62 theStepLengths.push_back( std::pair<G4int,G4double>(copyNo,slen) );
63}
std::vector< std::pair< G4int, G4double > > theStepLengths

References theStepLengths.

Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().

◆ ClearStepLengths()

void G4RegularNavigationHelper::ClearStepLengths ( )

Definition at line 53 of file G4RegularNavigationHelper.cc.

54{
55 theStepLengths.clear();
56}

References theStepLengths.

Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().

◆ GetStepLengths()

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

◆ Instance()

G4RegularNavigationHelper * G4RegularNavigationHelper::Instance ( )
static

Friends And Related Function Documentation

◆ G4ThreadLocalSingleton< G4RegularNavigationHelper >

Definition at line 1 of file G4RegularNavigationHelper.hh.

Field 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: