Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SmoothTrajectory.hh,v 1.4 2002/11/05 16:15:50 jacek Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4SmoothTrajectory.hh,v 1.5 2003/06/16 17:13:07 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -50,7 +50,7 @@ class G4SmoothTrajectory;
|
||||
#include "G4Allocator.hh"
|
||||
#include <stdlib.h> // Include from 'system'
|
||||
#include "G4ios.hh" // Include from 'system'
|
||||
#include "g4std/vector" // G4RWTValOrderedVector
|
||||
#include <vector> // G4RWTValOrderedVector
|
||||
#include "globals.hh" // Include from 'global'
|
||||
#include "G4ParticleDefinition.hh" // Include from 'particle+matter'
|
||||
#include "G4SmoothTrajectoryPoint.hh" // Include from 'tracking'
|
||||
@@ -59,7 +59,7 @@ class G4SmoothTrajectory;
|
||||
|
||||
class G4Polyline; // Forward declaration.
|
||||
|
||||
typedef G4std::vector<G4VTrajectoryPoint*> TrajectoryPointContainer;
|
||||
typedef std::vector<G4VTrajectoryPoint*> TrajectoryPointContainer;
|
||||
class G4SmoothTrajectory : public G4VTrajectory
|
||||
{
|
||||
|
||||
@@ -96,7 +96,7 @@ public: // with description
|
||||
{ return initialMomentum; }
|
||||
|
||||
// Other member functions
|
||||
virtual void ShowTrajectory(G4std::ostream& os=G4cout) const;
|
||||
virtual void ShowTrajectory(std::ostream& os=G4cout) const;
|
||||
virtual void DrawTrajectory(G4int i_mode=0) const;
|
||||
virtual void AppendStep(const G4Step* aStep);
|
||||
virtual int GetPointEntries() const { return positionRecord->size(); }
|
||||
@@ -107,8 +107,8 @@ public: // with description
|
||||
G4ParticleDefinition* GetParticleDefinition();
|
||||
|
||||
// Get method for HEPRep style attributes
|
||||
virtual const G4std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual G4std::vector<G4AttValue>* CreateAttValues() const;
|
||||
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual std::vector<G4AttValue>* CreateAttValues() const;
|
||||
|
||||
//---------
|
||||
private:
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SmoothTrajectoryPoint.hh,v 1.6 2002/11/08 23:44:36 jacek Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4SmoothTrajectoryPoint.hh,v 1.7 2003/06/16 17:13:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -55,7 +55,7 @@ public: // without description
|
||||
// No auxiliary points setter, so must set the points in the
|
||||
// constructor already (jacek 31/10/2002)
|
||||
G4SmoothTrajectoryPoint(G4ThreeVector pos,
|
||||
G4std::vector<G4ThreeVector>* auxiliaryPoints);
|
||||
std::vector<G4ThreeVector>* auxiliaryPoints);
|
||||
G4SmoothTrajectoryPoint(G4ThreeVector pos);
|
||||
G4SmoothTrajectoryPoint(const G4SmoothTrajectoryPoint &right);
|
||||
virtual ~G4SmoothTrajectoryPoint();
|
||||
@@ -69,12 +69,12 @@ public: // without description
|
||||
// Get/Set functions
|
||||
inline const G4ThreeVector GetPosition() const
|
||||
{ return fPosition; }
|
||||
inline const G4std::vector<G4ThreeVector>* GetAuxiliaryPoints() const
|
||||
inline const std::vector<G4ThreeVector>* GetAuxiliaryPoints() const
|
||||
{ return fAuxiliaryPointVector; }
|
||||
|
||||
// Get method for HEPRep style attributes
|
||||
virtual const G4std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual G4std::vector<G4AttValue>* CreateAttValues() const;
|
||||
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual std::vector<G4AttValue>* CreateAttValues() const;
|
||||
|
||||
//---------
|
||||
private:
|
||||
@@ -82,7 +82,7 @@ public: // without description
|
||||
|
||||
// Member data
|
||||
G4ThreeVector fPosition;
|
||||
G4std::vector<G4ThreeVector>* fAuxiliaryPointVector;
|
||||
std::vector<G4ThreeVector>* fAuxiliaryPointVector;
|
||||
|
||||
|
||||
};
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SteppingManager.hh,v 1.23 2003/04/11 11:43:30 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4SteppingManager.hh,v 1.24 2003/06/16 17:13:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
@@ -54,8 +54,8 @@ class G4SteppingManager;
|
||||
class G4VSensitiveDetector;
|
||||
|
||||
#include "G4ios.hh" // Include from 'system'
|
||||
#include "g4std/iomanip" // Include from 'system'
|
||||
#include "g4std/vector" // Include from 'system'
|
||||
#include <iomanip> // Include from 'system'
|
||||
#include <vector> // Include from 'system'
|
||||
#include "globals.hh" // Include from 'global'
|
||||
#include "Randomize.hh" // Include from 'global'
|
||||
|
||||
@@ -76,11 +76,11 @@ class G4VSensitiveDetector;
|
||||
#include "G4TouchableHistoryHandle.hh" // Include from 'geometry'
|
||||
|
||||
//
|
||||
typedef G4std::vector<G4int>
|
||||
typedef std::vector<G4int>
|
||||
G4SelectedAtRestDoItVector;
|
||||
typedef G4std::vector<G4int>
|
||||
typedef std::vector<G4int>
|
||||
G4SelectedAlongStepDoItVector;
|
||||
typedef G4std::vector<G4int>
|
||||
typedef std::vector<G4int>
|
||||
G4SelectedPostStepDoItVector;
|
||||
|
||||
static const size_t SizeOfSelectedDoItVector=100;
|
||||
@@ -485,7 +485,7 @@ public: //without description
|
||||
}
|
||||
|
||||
inline G4double G4SteppingManager::CalculateSafety(){
|
||||
return G4std::max( endpointSafety -
|
||||
return std::max( endpointSafety -
|
||||
(endpointSafOrigin - fPostStepPoint->GetPosition()).mag(),
|
||||
0.);
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4SteppingVerbose.hh,v 1.9 2001/07/11 10:08:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TrackVector.hh,v 1.8 2001/07/11 10:08:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4TrackVector.hh,v 1.9 2003/06/16 17:13:10 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -43,11 +43,11 @@
|
||||
#ifndef G4TrackVector_h
|
||||
#define G4TrackVector_h 1
|
||||
|
||||
#include "g4std/vector"
|
||||
#include <vector>
|
||||
#include "G4Track.hh" // Include form 'tracking'
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
typedef G4std::vector<G4Track*> G4TrackVector;
|
||||
typedef std::vector<G4Track*> G4TrackVector;
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
#endif
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TrackingManager.hh,v 1.14 2002/08/13 18:14:42 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TrackingMessenger.hh,v 1.7 2001/07/11 10:08:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Trajectory.hh,v 1.17 2002/10/28 11:10:57 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4Trajectory.hh,v 1.18 2003/06/16 17:13:11 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -54,7 +54,7 @@ class G4Trajectory;
|
||||
#include "G4Allocator.hh"
|
||||
#include <stdlib.h> // Include from 'system'
|
||||
#include "G4ios.hh" // Include from 'system'
|
||||
#include "g4std/vector" // G4RWTValOrderedVector
|
||||
#include <vector> // G4RWTValOrderedVector
|
||||
#include "globals.hh" // Include from 'global'
|
||||
#include "G4ParticleDefinition.hh" // Include from 'particle+matter'
|
||||
#include "G4TrajectoryPoint.hh" // Include from 'tracking'
|
||||
@@ -63,7 +63,7 @@ class G4Trajectory;
|
||||
|
||||
class G4Polyline; // Forward declaration.
|
||||
|
||||
typedef G4std::vector<G4VTrajectoryPoint*> TrajectoryPointContainer;
|
||||
typedef std::vector<G4VTrajectoryPoint*> TrajectoryPointContainer;
|
||||
///////////////////
|
||||
class G4Trajectory : public G4VTrajectory
|
||||
///////////////////
|
||||
@@ -102,7 +102,7 @@ public: // with description
|
||||
{ return initialMomentum; }
|
||||
|
||||
// Other member functions
|
||||
virtual void ShowTrajectory(G4std::ostream& os=G4cout) const;
|
||||
virtual void ShowTrajectory(std::ostream& os=G4cout) const;
|
||||
virtual void DrawTrajectory(G4int i_mode=0) const;
|
||||
virtual void AppendStep(const G4Step* aStep);
|
||||
virtual int GetPointEntries() const { return positionRecord->size(); }
|
||||
@@ -112,8 +112,8 @@ public: // with description
|
||||
|
||||
G4ParticleDefinition* GetParticleDefinition();
|
||||
|
||||
virtual const G4std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual G4std::vector<G4AttValue>* CreateAttValues() const;
|
||||
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual std::vector<G4AttValue>* CreateAttValues() const;
|
||||
|
||||
//---------
|
||||
private:
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TrajectoryPoint.hh,v 1.10 2002/10/28 11:10:57 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4TrajectoryPoint.hh,v 1.11 2003/06/16 17:13:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -80,8 +80,8 @@ public: // without description
|
||||
{ return fPosition; };
|
||||
|
||||
// Get method for HEPRep style attributes
|
||||
virtual const G4std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual G4std::vector<G4AttValue>* CreateAttValues() const;
|
||||
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
virtual std::vector<G4AttValue>* CreateAttValues() const;
|
||||
|
||||
//---------
|
||||
private:
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UserSteppingAction.hh,v 1.7 2001/07/11 10:08:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4UserSteppingAction.hh,v 1.8 2003/05/21 20:41:21 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -61,7 +61,7 @@ public: // with description
|
||||
|
||||
// Member functions
|
||||
void SetSteppingManagerPointer(G4SteppingManager* pValue);
|
||||
virtual void UserSteppingAction(const G4Step* aStep){;}
|
||||
virtual void UserSteppingAction(const G4Step*){;}
|
||||
|
||||
//-----------
|
||||
protected:
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UserTrackingAction.hh,v 1.8 2001/07/11 10:08:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4UserTrackingAction.hh,v 1.9 2003/05/21 20:41:21 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -63,8 +63,8 @@ public: // with description
|
||||
|
||||
// Member functions
|
||||
void SetTrackingManagerPointer(G4TrackingManager* pValue);
|
||||
virtual void PreUserTrackingAction(const G4Track* aTrack){;}
|
||||
virtual void PostUserTrackingAction(const G4Track* aTrack){;}
|
||||
virtual void PreUserTrackingAction(const G4Track*){;}
|
||||
virtual void PostUserTrackingAction(const G4Track*){;}
|
||||
|
||||
//-----------
|
||||
protected:
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VSteppingVerbose.hh,v 1.14 2002/12/04 23:00:50 tsasaki Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4VSteppingVerbose.hh,v 1.15 2003/06/16 17:13:13 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -47,7 +47,7 @@
|
||||
class G4SteppingManager;
|
||||
|
||||
#include "globals.hh" // Include from 'global'
|
||||
#include "g4std/vector"
|
||||
#include <vector>
|
||||
|
||||
class G4Navigator;
|
||||
class G4VPhysicalVolume;
|
||||
@@ -160,11 +160,11 @@ protected:
|
||||
|
||||
G4int verboseLevel;
|
||||
|
||||
typedef G4std::vector<G4int>
|
||||
typedef std::vector<G4int>
|
||||
G4SelectedAtRestDoItVector;
|
||||
typedef G4std::vector<G4int>
|
||||
typedef std::vector<G4int>
|
||||
G4SelectedAlongStepDoItVector;
|
||||
typedef G4std::vector<G4int>
|
||||
typedef std::vector<G4int>
|
||||
G4SelectedPostStepDoItVector;
|
||||
G4SelectedAtRestDoItVector* fSelectedAtRestDoItVector;
|
||||
G4SelectedAlongStepDoItVector* fSelectedAlongStepDoItVector;
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTrajectory.hh,v 1.11 2002/11/08 18:17:04 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4VTrajectory.hh,v 1.12 2003/06/16 17:13:15 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -44,8 +44,8 @@
|
||||
#define G4VTrajectory_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/vector"
|
||||
#include "g4std/map"
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "G4ThreeVector.hh"
|
||||
|
||||
class G4Step;
|
||||
@@ -82,7 +82,7 @@ class G4VTrajectory
|
||||
// Returns the number of trajectory points
|
||||
virtual G4VTrajectoryPoint* GetPoint(G4int i) const = 0;
|
||||
// Returns i-th trajectory point.
|
||||
virtual void ShowTrajectory(G4std::ostream& os=G4cout) const;
|
||||
virtual void ShowTrajectory(std::ostream& os=G4cout) const;
|
||||
// Convert attributes in trajectory (and trajectory point if
|
||||
// needed) to ostream. A default implementation in this base class
|
||||
// may be used or may be overridden in the concrete class. Note:
|
||||
@@ -91,12 +91,12 @@ class G4VTrajectory
|
||||
virtual void DrawTrajectory(G4int i_mode=0) const;
|
||||
// Draw the trajectory. A default implementation in this base
|
||||
// class may be used or may be overridden in the concrete class.
|
||||
virtual const G4std::map<G4String,G4AttDef>* GetAttDefs() const
|
||||
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const
|
||||
{ return 0; }
|
||||
// If implemented by a derived class, returns a pointer to a map of
|
||||
// attribute definitions for the attribute values below. The user
|
||||
// must test the validity of this pointer.
|
||||
virtual G4std::vector<G4AttValue>* CreateAttValues() const
|
||||
virtual std::vector<G4AttValue>* CreateAttValues() const
|
||||
{ return 0; }
|
||||
// If implemented by a derived class, returns a pointer to a list
|
||||
// of attribute values suitable, e.g., for picking. Each must
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTrajectoryPoint.hh,v 1.9 2002/10/28 11:10:58 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4VTrajectoryPoint.hh,v 1.10 2003/06/16 17:13:16 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -40,8 +40,8 @@
|
||||
#define G4VTrajectoryPoint_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/vector"
|
||||
#include "g4std/map"
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "G4ThreeVector.hh"
|
||||
|
||||
class G4AttDef;
|
||||
@@ -63,7 +63,7 @@ class G4VTrajectoryPoint
|
||||
virtual const G4ThreeVector GetPosition() const = 0;
|
||||
|
||||
// Get method for a vector of auxiliary points
|
||||
virtual const G4std::vector<G4ThreeVector>* GetAuxiliaryPoints() const
|
||||
virtual const std::vector<G4ThreeVector>* GetAuxiliaryPoints() const
|
||||
{ return 0; }
|
||||
// If implemented by a derived class, returns a pointer to a list
|
||||
// of auxiliary points, e.g., intermediate points used during the
|
||||
@@ -71,14 +71,14 @@ class G4VTrajectoryPoint
|
||||
// trajectory. The user must test the validity of this pointer.
|
||||
|
||||
// Get method for HEPRep style attribute definitions
|
||||
virtual const G4std::map<G4String,G4AttDef>* GetAttDefs() const
|
||||
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const
|
||||
{ return 0; }
|
||||
// If implemented by a derived class, returns a pointer to a map of
|
||||
// attribute definitions for the attribute values below. The user
|
||||
// must test the validity of this pointer.
|
||||
|
||||
// Get method for HEPRep style attribute values
|
||||
virtual G4std::vector<G4AttValue>* CreateAttValues() const
|
||||
virtual std::vector<G4AttValue>* CreateAttValues() const
|
||||
{ return 0; }
|
||||
// If implemented by a derived class, returns a pointer to a list
|
||||
// of attribute values suitable, e.g., for picking. Each must
|
||||
|
||||
Reference in New Issue
Block a user