#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 G4RegularNavigationHelper * | Instance () |
Data Fields | |
std::vector< std::pair< G4int, G4double > > | theStepLengths |
Definition at line 47 of file G4RegularNavigationHelper.hh.
G4RegularNavigationHelper::~G4RegularNavigationHelper | ( | ) |
Definition at line 71 of file G4RegularNavigationHelper.cc.
References theStepLengths.
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
00072 { 00073 theStepLengths.push_back( std::pair<G4int,G4double>(copyNo,slen) ); 00074 }
void G4RegularNavigationHelper::ClearStepLengths | ( | ) |
Definition at line 64 of file G4RegularNavigationHelper.cc.
References theStepLengths.
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
00065 { 00066 theStepLengths.clear(); 00067 }
Definition at line 78 of file G4RegularNavigationHelper.cc.
References theStepLengths.
Referenced by G4EnergySplitter::GetFirstVoxelID(), G4EnergySplitter::GetLastVoxelID(), G4EnergySplitter::GetVoxelID(), G4ScoreSplittingProcess::PostStepDoIt(), and G4EnergySplitter::SplitEnergyInVolumes().
00079 { 00080 return theStepLengths; 00081 }
G4RegularNavigationHelper * G4RegularNavigationHelper::Instance | ( | ) | [static] |
Definition at line 40 of file G4RegularNavigationHelper.cc.
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials(), G4EnergySplitter::GetFirstVoxelID(), G4EnergySplitter::GetLastVoxelID(), G4EnergySplitter::GetVoxelID(), G4ScoreSplittingProcess::PostStepDoIt(), and G4EnergySplitter::SplitEnergyInVolumes().
00041 { 00042 if(theInstance == 0) 00043 { 00044 static G4RegularNavigationHelper helper; 00045 theInstance = &helper; 00046 } 00047 return theInstance; 00048 }
std::vector< std::pair<G4int,G4double> > G4RegularNavigationHelper::theStepLengths |
Definition at line 57 of file G4RegularNavigationHelper.hh.
Referenced by AddStepLength(), ClearStepLengths(), and GetStepLengths().