Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Data Fields
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 ()
 

Data Fields

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

Detailed Description

Definition at line 49 of file G4RegularNavigationHelper.hh.

Constructor & Destructor Documentation

G4RegularNavigationHelper::~G4RegularNavigationHelper ( )

Definition at line 58 of file G4RegularNavigationHelper.cc.

59 {
60  if (theInstance) { delete theInstance; theInstance=0; }
61 }

Member Function Documentation

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

Definition at line 72 of file G4RegularNavigationHelper.cc.

References theStepLengths.

Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().

73 {
74  theStepLengths.push_back( std::pair<G4int,G4double>(copyNo,slen) );
75 }
std::vector< std::pair< G4int, G4double > > theStepLengths
void G4RegularNavigationHelper::ClearStepLengths ( )

Definition at line 65 of file G4RegularNavigationHelper.cc.

References theStepLengths.

Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().

66 {
67  theStepLengths.clear();
68 }
std::vector< std::pair< G4int, G4double > > theStepLengths
const std::vector< std::pair< G4int, G4double > > & G4RegularNavigationHelper::GetStepLengths ( )
G4RegularNavigationHelper * G4RegularNavigationHelper::Instance ( void  )
static

Field Documentation

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

Definition at line 59 of file G4RegularNavigationHelper.hh.

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


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