Import Geant4 9.1.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Track.icc,v 1.14 2006/06/29 21:14:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4Track.icc,v 1.15 2007/10/02 00:46:21 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//-----------------------------------------------------------------
|
||||
// Definitions of inline functions
|
||||
@@ -112,10 +112,12 @@
|
||||
|
||||
// volume
|
||||
inline G4VPhysicalVolume* G4Track::GetVolume() const
|
||||
{ return fpTouchable->GetVolume(); }
|
||||
{ if ( fpTouchable ==0 ) return 0;
|
||||
return fpTouchable->GetVolume(); }
|
||||
|
||||
inline G4VPhysicalVolume* G4Track::GetNextVolume() const
|
||||
{ return fpNextTouchable->GetVolume(); }
|
||||
{ if ( fpNextTouchable ==0 ) return 0;
|
||||
return fpNextTouchable->GetVolume(); }
|
||||
|
||||
// material
|
||||
inline
|
||||
|
||||
Reference in New Issue
Block a user