Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
@@ -1,29 +1,37 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4UserLimits.hh,v 1.1 1999/01/07 16:09:03 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
// $Id: G4UserLimits.hh,v 1.4 1999/11/23 15:00:04 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// class G4UserLimits Simple placeholder for user Step limitations
// Paul Kent August 96
// class G4UserLimits
//
// Class description:
//
// Simple placeholder for user Step limitations
//
// Author: Paul Kent August 96
//
// 01-11-97: change GetMaxAllowedStep(), Hisaya Kurashige
// 08-04-98: new data members, mma
//
#ifndef G4USERLIMITS_HH
#define G4USERLIMITS_HH
#include "globals.hh"
class G4Track;
class G4UserLimits
{
public:
public: // with description
G4UserLimits(G4double ustepMax = DBL_MAX,
G4double utrakMax = DBL_MAX,
G4double utimeMax = DBL_MAX,
@@ -31,11 +39,12 @@ public:
G4double urangMin = 0. );
virtual ~G4UserLimits();
public:
public: // with description
// If a Logical Volume has a G4UserLimits object,
//the Step length should be limited as shorter
//than MaxAllowedStep in the volume.
// In the current design, the others limits are irrelavant in tracking
// the Step length should be limited as shorter
// than MaxAllowedStep in the volume.
// In the current design, the other limits are irrelavant in tracking
virtual G4double GetMaxAllowedStep(const G4Track&);
virtual G4double GetUserMaxTrackLength(const G4Track&) ;
@@ -49,12 +58,13 @@ public:
virtual void SetUserMinEkine(G4double uekinMin);
virtual void SetUserMinRange(G4double urangMin);
protected:
G4double fMaxStep; //max allowed Step size in this volume
G4double fMaxTrack; //max total track length
G4double fMaxTime; //max time
G4double fMinEkine; //min kinetic energy
G4double fMinRange; //min remaining range
protected: // with description
G4double fMaxStep; // max allowed Step size in this volume
G4double fMaxTrack; // max total track length
G4double fMaxTime; // max time
G4double fMinEkine; // min kinetic energy (only for charged particles)
G4double fMinRange; // min remaining range (only for charged particles)
};
#include "G4UserLimits.icc"