Import Geant4 8.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:44:26 +02:00
parent 8a51e0bc40
commit 216a75eeb1
8717 changed files with 360418 additions and 141343 deletions
@@ -1,27 +1,30 @@
//
// ********************************************************************
// * DISCLAIMER *
// * License and Disclaimer *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * 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. *
// * 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 intellectual property of 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. *
// * 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: G4MultipleScattering.hh,v 1.24 2005/12/11 08:34:18 urban Exp $
// GEANT4 tag $Name: geant4-08-00 $
// $Id: G4MultipleScattering.hh,v 1.29 2006/06/29 19:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
//
//
//------------- G4MultipleScattering physics process -------------------------
@@ -60,11 +63,14 @@
// 13-11-05 some code cleaning (L.Urban)
// 07-12-05 GeomLimit is protected instead of public
// 11-12-05 data menber rangecut removed (L.Urban)
// 19-01-07 tlimitmin = facrange*50*micrometer, i.e. it depends on the
// value of facrange (L.Urban)
// 16-02-06 set function for data member factail (L.Urban)
//
//------------------------------------------------------------------------------
//
// $Id: G4MultipleScattering.hh,v 1.24 2005/12/11 08:34:18 urban Exp $
// GEANT4 tag $Name: geant4-08-00 $
// $Id: G4MultipleScattering.hh,v 1.29 2006/06/29 19:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
// class description
//
@@ -81,10 +87,10 @@
#include "G4VMultipleScattering.hh"
class G4Navigator;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class G4UrbanMscModel;
class G4MultipleScattering : public G4VMultipleScattering
{
@@ -92,15 +98,11 @@ public: // with description
G4MultipleScattering(const G4String& processName="msc");
~G4MultipleScattering();
virtual ~G4MultipleScattering();
// returns true for charged particles, false otherwise
G4bool IsApplicable (const G4ParticleDefinition& p);
G4double TruePathLengthLimit(const G4Track& track,
G4double& lambda,
G4double currentMinimalStep);
// Print few lines of informations about the process: validity range,
void PrintInfo();
@@ -111,14 +113,11 @@ public: // with description
// geom. step length distribution should be sampled or not
void Setsamplez(G4bool value) { samplez = value;};
// activate boundary algorithm (in fact stepping algorithm)
void SetBoundary(G4bool value) { boundary = value;};
// to reduce the energy/step dependence
void Setdtrl(G4double value) { dtrl = value;};
// 'soften' step limitation above Tkinlimit
void SetTkinlimit(G4double value) { Tkinlimit = value;};
void SetTkinlimit(G4double value) { tkinlimit = value;};
// Steplimit = facrange*max(range,lambda)
void SetFacrange(G4double val) { facrange=val;};
@@ -126,35 +125,30 @@ public: // with description
// connected with step size reduction due to geometry
void SetFacgeom(G4double val) { facgeom=val;};
// minimum steplimit
void SetTlimitmin(G4double val) { tlimitmin=val;};
// parameter governs the tail of the angular distribution
void SetFactail(G4double val) { factail=val;};
protected:
// This function initialise models
void InitialiseProcess(const G4ParticleDefinition*);
G4double GeomLimit(const G4Track& track);
private: // data members
G4Navigator* navigator;
G4UrbanMscModel* mscUrban;
G4double lowKineticEnergy;
G4double highKineticEnergy;
G4int totBins;
G4double Tkinlimit,Tlimit;
G4double tkinlimit;
G4double facrange;
G4double tlimit,tlimitmin;
G4double geombig,geommin,facgeom;
G4double safety,facsafety;
G4double facgeom;
G4double dtrl;
G4double factail;
G4bool steppingAlgorithm;
G4bool steppingAlgorithm;
G4bool samplez;
G4bool boundary;
G4bool isInitialized;
};