Import Geant4 2.0.0 source tree
This commit is contained in:
@@ -5,21 +5,23 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NavigationLevelRep.hh,v 1.3 1999/12/15 16:40:10 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4NavigationLevelRep.hh,v 1.4 2000/04/25 16:15:03 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// class G4NavigationLevelRep
|
||||
//
|
||||
// A data representation class, used to hold the data for
|
||||
// a single level of the Navigation history tree.
|
||||
// Class description:
|
||||
//
|
||||
// This is the body of a handle/body pair of classes,
|
||||
// that implement reference counting for NavigationLevels.
|
||||
// The corresponding handle class is G4NavigationLevel
|
||||
// A data representation class, used to hold the data for a single level
|
||||
// of the Navigation history tree.
|
||||
//
|
||||
// This is the body of a handle/body pair of classes, that implement
|
||||
// reference counting for NavigationLevels.
|
||||
// The corresponding handle class is G4NavigationLevel
|
||||
|
||||
// History:
|
||||
//
|
||||
// 1 October 1997, J.Apostolakis: Initial version.
|
||||
// - 1 October 1997, J.Apostolakis: initial version.
|
||||
|
||||
#ifndef G4NAVIGATIONLEVELREP_HH
|
||||
#define G4NAVIGATIONLEVELREP_HH
|
||||
@@ -33,21 +35,21 @@
|
||||
class G4NavigationLevelRep
|
||||
{
|
||||
|
||||
public:
|
||||
public: // with description
|
||||
|
||||
G4NavigationLevelRep(G4VPhysicalVolume* newPtrPhysVol,
|
||||
const G4AffineTransform& newT,
|
||||
EVolume newVolTp,
|
||||
G4int newRepNo= -1);
|
||||
|
||||
// As the previous constructor, but instead of giving Transform, give
|
||||
// the AffineTransform to the level above and the current level's
|
||||
// Transform relative to that.
|
||||
//
|
||||
G4NavigationLevelRep(G4VPhysicalVolume* newPtrPhysVol,
|
||||
const G4AffineTransform& levelAbove,
|
||||
const G4AffineTransform& relativeCurrent,
|
||||
EVolume newVolTp,
|
||||
G4int newRepNo= -1);
|
||||
// As the previous constructor, but instead of giving Transform, give
|
||||
// the AffineTransform to the level above and the current level's
|
||||
// Transform relative to that.
|
||||
|
||||
G4NavigationLevelRep();
|
||||
G4NavigationLevelRep( G4NavigationLevelRep& );
|
||||
@@ -64,28 +66,32 @@ class G4NavigationLevelRep
|
||||
EVolume GetVolumeType() const ;
|
||||
G4int GetReplicaNo() const ;
|
||||
|
||||
void AddAReference();
|
||||
G4bool RemoveAReference();
|
||||
// Take care of the reference counts.
|
||||
|
||||
inline void *operator new(size_t);
|
||||
// Override "new" to use "G4Allocator".
|
||||
inline void operator delete(void *aTrack);
|
||||
// Override "delete" to use "G4Allocator".
|
||||
|
||||
public: // without description
|
||||
|
||||
// const G4AffineTransform* GetPtrTransform() const;
|
||||
// G4AffineTransform& accessTransform();
|
||||
|
||||
// Take care of the reference counts.
|
||||
//
|
||||
void AddAReference();
|
||||
G4bool RemoveAReference();
|
||||
|
||||
inline void *operator new(size_t);
|
||||
// Override "new" to use "G4Allocator".
|
||||
inline void operator delete(void *aTrack);
|
||||
// Override "delete" to use "G4Allocator".
|
||||
|
||||
private:
|
||||
// Compounded global->local transformation (takes a point in the
|
||||
// global reference system to the system of the volume at this level)
|
||||
|
||||
G4AffineTransform sTransform;
|
||||
// Physical volume ptrs, for this level's volume
|
||||
// Compounded global->local transformation (takes a point in the
|
||||
// global reference system to the system of the volume at this level)
|
||||
|
||||
G4VPhysicalVolume* sPhysicalVolumePtr;
|
||||
// Volume `type'
|
||||
// Physical volume ptrs, for this level's volume
|
||||
|
||||
G4int sReplicaNo;
|
||||
EVolume sVolumeType;
|
||||
// Volume `type'
|
||||
|
||||
G4int fCountRef;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user