Import Geant4 8.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:55:03 +02:00
parent 216a75eeb1
commit fe73f43734
6714 changed files with 118229 additions and 68144 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4Navigator.icc,v 1.10 2006/06/29 18:36:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
// $Id: G4Navigator.icc,v 1.12 2006/10/27 09:13:46 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//
// class G4Navigator Inline implementation
@@ -287,15 +287,30 @@ G4TouchableHistory* G4Navigator::CreateTouchableHistory() const
}
// ********************************************************************
// EnteredDaughterVolume
//
// To inform the caller if the track is entering a daughter volume
// LocateGlobalPointAndUpdateTouchableHandle
// ********************************************************************
//
inline
G4bool G4Navigator::EnteredDaughterVolume()
void G4Navigator::LocateGlobalPointAndUpdateTouchableHandle(
const G4ThreeVector& position,
const G4ThreeVector& direction,
G4TouchableHandle& oldTouchableToUpdate,
const G4bool RelativeSearch )
{
return fEnteredDaughter;
G4VPhysicalVolume* pPhysVol;
pPhysVol = LocateGlobalPointAndSetup( position,&direction,RelativeSearch );
if( fEnteredDaughter || fExitedMother )
{
oldTouchableToUpdate = CreateTouchableHistory();
if( pPhysVol == 0 )
{
// We want to ensure that the touchable is correct in this case.
// The method below should do this and recalculate a lot more ....
//
oldTouchableToUpdate->UpdateYourself( pPhysVol, &fHistory );
}
}
return;
}
// ********************************************************************
@@ -346,7 +361,7 @@ G4int G4Navigator::GetVerboseLevel() const
// ********************************************************************
//
inline
void G4Navigator::SetVerboseLevel(G4int level)
void G4Navigator::SetVerboseLevel(G4int level)
{
fVerbose = level;
fnormalNav.SetVerboseLevel(level);
@@ -370,11 +385,33 @@ G4bool G4Navigator::IsActive() const
// ********************************************************************
//
inline
void G4Navigator::Activate(G4bool flag)
void G4Navigator::Activate(G4bool flag)
{
fActive = flag;
}
// ********************************************************************
// EnteredDaughterVolume
//
// To inform the caller if the track is entering a daughter volume
// ********************************************************************
//
inline
G4bool G4Navigator::EnteredDaughterVolume() const
{
return fEnteredDaughter;
}
// ********************************************************************
// ExitedMotherVolume
// ********************************************************************
//
inline
G4bool G4Navigator::ExitedMotherVolume() const
{
return fExitedMother;
}
// ********************************************************************
// CheckMode
// ********************************************************************