Import Geant4 9.3.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LogicalSurface.hh,v 1.10 2006/06/29 18:30:50 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4LogicalSurface.hh,v 1.11 2009/04/21 15:18:15 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Class G4LogicalSurface
|
||||
@@ -85,27 +85,25 @@ class G4LogicalSurface
|
||||
G4SurfaceProperty* GetSurfaceProperty() const;
|
||||
void SetSurfaceProperty(G4SurfaceProperty* ptrSurfaceProperty);
|
||||
|
||||
G4String GetName() const;
|
||||
const G4String& GetName() const;
|
||||
void SetName(const G4String& name);
|
||||
|
||||
G4TransitionRadiationSurface* GetTransitionRadiationSurface() const;
|
||||
void SetTransitionRadiationSurface(G4TransitionRadiationSurface* transRadSurf);
|
||||
void SetTransitionRadiationSurface(G4TransitionRadiationSurface* tRadSurf);
|
||||
|
||||
public: // without description
|
||||
|
||||
virtual ~G4LogicalSurface();
|
||||
|
||||
G4int operator==(const G4LogicalSurface &right) const;
|
||||
G4int operator!=(const G4LogicalSurface &right) const;
|
||||
|
||||
protected:
|
||||
|
||||
// There should be no instances of this class
|
||||
// There should be no instances of this class
|
||||
|
||||
G4LogicalSurface(const G4String& name,
|
||||
G4SurfaceProperty* surfaceProperty);
|
||||
// Is the name more meaningful for the properties or the logical
|
||||
// surface ?
|
||||
|
||||
public:
|
||||
virtual ~G4LogicalSurface();
|
||||
|
||||
public:
|
||||
G4int operator==(const G4LogicalSurface &right) const;
|
||||
G4int operator!=(const G4LogicalSurface &right) const;
|
||||
G4LogicalSurface(const G4String& name, G4SurfaceProperty* surfaceProperty);
|
||||
// Is the name more meaningful for the properties or the logical surface ?
|
||||
|
||||
private:
|
||||
|
||||
@@ -116,7 +114,7 @@ class G4LogicalSurface
|
||||
|
||||
G4String theName; // Surface name
|
||||
|
||||
G4SurfaceProperty* theSurfaceProperty;
|
||||
G4SurfaceProperty* theSurfaceProperty;
|
||||
G4TransitionRadiationSurface* theTransRadSurface;
|
||||
};
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LogicalSurface.icc,v 1.9 2006/06/29 18:30:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4LogicalSurface.icc,v 1.10 2009/04/21 15:18:15 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Surface Class Inline Methods
|
||||
@@ -50,7 +50,7 @@ G4LogicalSurface::SetSurfaceProperty(G4SurfaceProperty* ptrSurfaceProperty)
|
||||
theSurfaceProperty = ptrSurfaceProperty;
|
||||
}
|
||||
|
||||
inline G4String
|
||||
inline const G4String&
|
||||
G4LogicalSurface::GetName() const
|
||||
{
|
||||
return theName;
|
||||
@@ -109,8 +109,7 @@ G4LogicalSurface::operator!=(const G4LogicalSurface &right) const
|
||||
|
||||
inline G4LogicalSurface::G4LogicalSurface(const G4String& name,
|
||||
G4SurfaceProperty* surfaceProperty)
|
||||
: theName(name),
|
||||
theSurfaceProperty(surfaceProperty)
|
||||
: theName(name), theSurfaceProperty(surfaceProperty)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Region.hh,v 1.20 2008/07/10 09:46:01 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4Region.hh,v 1.21 2009/11/27 16:34:37 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// class G4Region
|
||||
//
|
||||
@@ -47,6 +47,7 @@ class G4Material;
|
||||
class G4VUserRegionInformation;
|
||||
class G4MaterialCutsCouple;
|
||||
class G4UserLimits;
|
||||
class G4FieldManager;
|
||||
class G4FastSimulationManager;
|
||||
class G4VPhysicalVolume;
|
||||
class G4UserSteppingAction;
|
||||
@@ -143,6 +144,13 @@ class G4Region
|
||||
// Set G4FastSimulationManager pointer to the one for the parent region
|
||||
// if it exists. Otherwise set to null.
|
||||
|
||||
inline void SetFieldManager(G4FieldManager* fm);
|
||||
inline G4FieldManager* GetFieldManager() const;
|
||||
// Set and Get methods for G4FieldManager.
|
||||
// The region with assigned field-manager sets the field to the
|
||||
// geometrical area associated with it; priority is anyhow given
|
||||
// to local fields eventually set to logical volumes.
|
||||
|
||||
inline G4VPhysicalVolume* GetWorldPhysical() const;
|
||||
// Get method for the world physical volume which this region
|
||||
// belongs to. A valid pointer will be assigned by G4RunManagerKernel
|
||||
@@ -198,6 +206,7 @@ class G4Region
|
||||
|
||||
G4VUserRegionInformation* fUserInfo;
|
||||
G4UserLimits* fUserLimits;
|
||||
G4FieldManager* fFieldManager;
|
||||
|
||||
G4FastSimulationManager* fFastSimulationManager;
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Region.icc,v 1.15 2007/04/28 01:48:29 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4Region.icc,v 1.16 2009/11/27 16:34:37 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// class G4Region Inline Implementation file
|
||||
@@ -248,6 +248,26 @@ G4FastSimulationManager* G4Region::GetFastSimulationManager() const
|
||||
return fFastSimulationManager;
|
||||
}
|
||||
|
||||
// ********************************************************************
|
||||
// GetFieldManager
|
||||
// ********************************************************************
|
||||
//
|
||||
inline
|
||||
G4FieldManager* G4Region::GetFieldManager() const
|
||||
{
|
||||
return fFieldManager;
|
||||
}
|
||||
|
||||
// ********************************************************************
|
||||
// SetFieldManager
|
||||
// ********************************************************************
|
||||
//
|
||||
inline
|
||||
void G4Region::SetFieldManager(G4FieldManager* fm)
|
||||
{
|
||||
fFieldManager = fm;
|
||||
}
|
||||
|
||||
// ********************************************************************
|
||||
// GetWorldPhysical
|
||||
// ********************************************************************
|
||||
|
||||
@@ -24,82 +24,16 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTouchable.icc,v 1.9 2006/06/29 18:33:07 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VTouchable.icc,v 1.10 2009/11/06 10:36:00 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// class G4VTouchable Inline implementation
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
inline
|
||||
G4VTouchable::G4VTouchable()
|
||||
{
|
||||
}
|
||||
|
||||
inline
|
||||
G4VTouchable::~G4VTouchable()
|
||||
{
|
||||
}
|
||||
|
||||
inline
|
||||
G4VPhysicalVolume* G4VTouchable::GetVolume(G4int) const
|
||||
{
|
||||
G4Exception("G4VTouchable::GetVolume()", "NotApplicable",
|
||||
FatalException, "Undefined call to base class.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline
|
||||
G4VSolid* G4VTouchable::GetSolid(G4int) const
|
||||
{
|
||||
G4Exception("G4VTouchable::GetSolid()", "NotApplicable",
|
||||
FatalException, "Undefined call to base class.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4VTouchable::GetReplicaNumber(G4int) const
|
||||
{
|
||||
G4Exception("G4VTouchable::GetReplicaNumber()", "NotApplicable",
|
||||
FatalException, "Undefined call to base class.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4VTouchable::GetCopyNumber(G4int depth) const
|
||||
{
|
||||
return GetReplicaNumber(depth);
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4VTouchable::MoveUpHistory(G4int)
|
||||
{
|
||||
G4Exception("G4VTouchable::MoveUpHistory()", "NotApplicable",
|
||||
FatalException, "Undefined call to base class.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4VTouchable::UpdateYourself(G4VPhysicalVolume*,
|
||||
const G4NavigationHistory* )
|
||||
{
|
||||
G4Exception("G4VTouchable::UpdateYourself()", "NotApplicable",
|
||||
FatalException, "Undefined call to base class.");
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4VTouchable::GetHistoryDepth() const
|
||||
{
|
||||
G4Exception("G4VTouchable::GetHistoryDepth()", "NotApplicable",
|
||||
FatalException, "Undefined call to base class.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline
|
||||
const G4NavigationHistory* G4VTouchable::GetHistory() const
|
||||
{
|
||||
G4Exception("G4VTouchable::GetHistory()", "NotApplicable",
|
||||
FatalException, "Undefined call to base class.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user