Import Geant4 8.2.0 source tree
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4RichTrajectory.hh,v 1.4 2006/06/29 21:15:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4RichTrajectoryPoint.hh,v 1.4 2006/06/29 21:15:25 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// $Id: G4RichTrajectoryPoint.hh,v 1.5 2006/09/27 20:42:52 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
@@ -37,8 +37,10 @@
|
||||
// 1) Position (end of step).
|
||||
// The extended information, only publicly accessible through AttValues,
|
||||
// includes:
|
||||
// 2) Total energy deposit.
|
||||
// 3) Procees defining end of step.
|
||||
// 2) Auxiliary points, as in G4SmoothTrajectory.
|
||||
// 3) Total energy deposit.
|
||||
// 4) Procees defining end of step.
|
||||
// 5) Global time (from start of event) at pre- amd post-step.
|
||||
//
|
||||
// Contact:
|
||||
// Questions and comments to this code should be sent to
|
||||
@@ -56,6 +58,9 @@
|
||||
|
||||
#include "G4TrajectoryPoint.hh"
|
||||
|
||||
#include "G4ThreeVector.hh"
|
||||
#include <vector>
|
||||
|
||||
class G4Track;
|
||||
class G4Step;
|
||||
class G4VProcess;
|
||||
@@ -67,16 +72,20 @@ public: // without description
|
||||
|
||||
// Constructor/Destructor
|
||||
G4RichTrajectoryPoint();
|
||||
G4RichTrajectoryPoint(const G4Track*);
|
||||
G4RichTrajectoryPoint(const G4Step*);
|
||||
G4RichTrajectoryPoint(const G4Track*); // For first point.
|
||||
G4RichTrajectoryPoint(const G4Step*); // For subsequent points.
|
||||
G4RichTrajectoryPoint(const G4RichTrajectoryPoint &right);
|
||||
virtual ~G4RichTrajectoryPoint();
|
||||
|
||||
// Get/Set functions
|
||||
const std::vector<G4ThreeVector>* GetAuxiliaryPoints() const
|
||||
{ return fpAuxiliaryPointVector; }
|
||||
|
||||
// Operators
|
||||
inline void *operator new(size_t);
|
||||
inline void operator delete(void *aRichTrajectoryPoint);
|
||||
inline int operator==(const G4RichTrajectoryPoint& right) const
|
||||
{ return (this==&right); };
|
||||
{ return (this==&right); }
|
||||
|
||||
// Get methods for HepRep style attributes
|
||||
virtual const std::map<G4String,G4AttDef>* GetAttDefs() const;
|
||||
@@ -85,8 +94,11 @@ public: // without description
|
||||
private:
|
||||
|
||||
// Extended member data
|
||||
std::vector<G4ThreeVector>* fpAuxiliaryPointVector;
|
||||
G4double fTotEDep;
|
||||
const G4VProcess* fpProcess;
|
||||
G4double fPreStepPointGlobalTime;
|
||||
G4double fPostStepPointGlobalTime;
|
||||
};
|
||||
|
||||
#if defined G4TRACKING_ALLOC_EXPORT
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4SmoothTrajectory.hh,v 1.11 2006/06/29 21:15:27 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4SmoothTrajectoryPoint.hh,v 1.13 2006/06/29 21:15:29 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SteppingManager.hh,v 1.27.2.1 2006/06/29 21:15:31 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// $Id: G4SteppingManager.hh,v 1.29 2006/12/13 15:49:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
@@ -343,7 +343,7 @@ public: //without description
|
||||
}
|
||||
|
||||
inline G4TrackVector* G4SteppingManager::GetfSecondary(){
|
||||
return fSecondary;
|
||||
return fStep->GetfSecondary();
|
||||
}
|
||||
inline G4Step* G4SteppingManager::GetfStep(){
|
||||
return fStep;
|
||||
@@ -457,7 +457,7 @@ public: //without description
|
||||
}
|
||||
|
||||
inline G4TrackVector* G4SteppingManager::GetSecondary() const {
|
||||
return fSecondary;
|
||||
return fStep->GetSecondary();
|
||||
}
|
||||
|
||||
inline void G4SteppingManager::SetNavigator(G4Navigator* value){
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4SteppingVerbose.hh,v 1.12 2006/06/29 21:15:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TrackVector.hh,v 1.11.2.1 2006/06/29 21:15:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
// G4TrackVector.hh
|
||||
//
|
||||
// class description:
|
||||
// This class keeps a List of G4Track objects. It is implemented
|
||||
// as a RougeWave pointer ordered vector.
|
||||
//
|
||||
// Contact:
|
||||
// Questions and comments to this code should be sent to
|
||||
// Katsuya Amako (e-mail: Katsuya.Amako@kek.jp)
|
||||
// Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp)
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
#ifndef G4TrackVector_h
|
||||
#define G4TrackVector_h 1
|
||||
|
||||
#include <vector>
|
||||
#include "G4Track.hh" // Include form 'tracking'
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
typedef std::vector<G4Track*> G4TrackVector;
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TrackingManager.hh,v 1.18 2006/06/29 21:15:37 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// $Id: G4TrackingManager.hh,v 1.21 2006/11/14 10:58:47 tsasaki Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
@@ -90,8 +90,8 @@ public: // without description
|
||||
|
||||
G4Track* GetTrack() const;
|
||||
|
||||
G4bool GetStoreTrajectory() const;
|
||||
void SetStoreTrajectory(G4bool value);
|
||||
G4int GetStoreTrajectory() const;
|
||||
void SetStoreTrajectory(G4int value);
|
||||
|
||||
G4SteppingManager* GetSteppingManager() const;
|
||||
|
||||
@@ -133,22 +133,19 @@ public: // without description
|
||||
private:
|
||||
//---------
|
||||
|
||||
// Member functions
|
||||
|
||||
void Verbose(G4String select);
|
||||
// Output messages according to the current value of the
|
||||
// Verbose level.
|
||||
|
||||
// Member data
|
||||
|
||||
G4Track* fpTrack;
|
||||
G4SteppingManager* fpSteppingManager;
|
||||
G4UserTrackingAction* fpUserTrackingAction;
|
||||
G4VTrajectory* fpTrajectory;
|
||||
G4bool StoreTrajectory;
|
||||
G4int StoreTrajectory;
|
||||
G4int verboseLevel;
|
||||
G4TrackingMessenger* messenger;
|
||||
G4bool EventIsAborted;
|
||||
// verbose
|
||||
void TrackBanner();
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -162,11 +159,11 @@ public: // without description
|
||||
return fpTrack;
|
||||
}
|
||||
|
||||
inline G4bool G4TrackingManager::GetStoreTrajectory() const {
|
||||
inline G4int G4TrackingManager::GetStoreTrajectory() const {
|
||||
return StoreTrajectory;
|
||||
}
|
||||
|
||||
inline void G4TrackingManager::SetStoreTrajectory(G4bool value){
|
||||
inline void G4TrackingManager::SetStoreTrajectory(G4int value){
|
||||
StoreTrajectory = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TrackingMessenger.hh,v 1.10 2006/06/29 21:15:39 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Trajectory.hh,v 1.24 2006/06/29 21:15:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TrajectoryPoint.hh,v 1.17 2006/06/29 21:15:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UserSteppingAction.hh,v 1.12 2006/06/29 21:15:45 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4UserTrackingAction.hh,v 1.11 2006/06/29 21:15:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VSteppingVerbose.hh,v 1.22 2006/06/29 21:15:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// $Id: G4VSteppingVerbose.hh,v 1.24 2006/11/14 10:58:47 tsasaki Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VTrajectory.hh,v 1.17 2006/06/29 21:15:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VTrajectoryPoint.hh,v 1.15 2006/06/29 21:15:53 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user