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,28 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file --- Copyright CERN 1998
// CERN Geneva Switzerland
@@ -34,19 +35,27 @@
// and Art Olin (TRIUMF)
// E-mail: olin@triumf.ca
// April 1998
// ************************************************************
//-----------------------------------------------------------------------------
//
// Class Description
// Process for nuclear capture of muon- at rest takes into account Fermi model of
// muon capture in compounds, simplified EM cascade model, muon decay from K-shell,
// and muon nucleus reaction
// Class Description - End
//
//
// Modifications:
// 18/08/2000 V.Ivanchenko Update description, new method to simulate capture
// 17/05/2006 V.Ivanchenko Cleanup
//
//-----------------------------------------------------------------------------
#ifndef G4MuonMinusCaptureAtRest_h
#define G4MuonMinusCaptureAtRest_h 1
// Class Description
// Process for nuclear capture of muon- at rest;
// to be used in your physics list in case you need this physics.
// Class Description - End
#include "globals.hh"
#include "Randomize.hh"
#include "G4VRestProcess.hh"
#include "G4VParticleChange.hh"
#include "G4ParticleDefinition.hh"
@@ -59,47 +68,44 @@
class G4MuonMinusCaptureAtRest : public G4VRestProcess
{
private:
// hide assignment operator as private
G4MuonMinusCaptureAtRest& operator=(const G4MuonMinusCaptureAtRest &right);
G4MuonMinusCaptureAtRest(const G4MuonMinusCaptureAtRest& );
public:
public:
G4MuonMinusCaptureAtRest(const G4String& processName ="MuonMinusCaptureAtRest");
~G4MuonMinusCaptureAtRest();
G4MuonMinusCaptureAtRest(const G4String& processName ="muMinusCaptureAtRest",
G4ProcessType aType = fHadronic );
G4bool IsApplicable(const G4ParticleDefinition&);
// null physics table
void BuildPhysicsTable(const G4ParticleDefinition&){}
G4double AtRestGetPhysicalInteractionLength(const G4Track&,
G4ForceCondition*);
~G4MuonMinusCaptureAtRest();
// G4double GetMeanLifeTime(const G4Track&, G4ForceCondition*);
G4bool IsApplicable(const G4ParticleDefinition&);
G4VParticleChange* AtRestDoIt(const G4Track&, const G4Step&);
void BuildPhysicsTable(const G4ParticleDefinition&)
{};
virtual G4double GetMeanLifeTime(const G4Track&, G4ForceCondition*)
{
return 0;
}
private:
G4double AtRestGetPhysicalInteractionLength(const G4Track&, G4ForceCondition*)
{return 0;};
// void GetCaptureIsotope(const G4Track& track);
G4double GetTargetMass(G4double, G4double);
G4ReactionProductVector * DoMuCapture(G4double aEkin);
G4VParticleChange* AtRestDoIt(const G4Track&, const G4Step&);
private:
G4double GetMeanLifeTime(const G4Track&, G4ForceCondition*)
{return 0;};
G4int nCascade;
G4double targetCharge;
G4double targetAtomicMass;
// G4double tDelay;
G4StopElementSelector* pSelector;
G4MuMinusCaptureCascade* pEMCascade;
G4GHEKinematicsVector* Cascade;
G4Fancy3DNucleus theN;
G4ExcitationHandler theHandler;
private:
// hide assignment operator as private
G4MuonMinusCaptureAtRest& operator=(const G4MuonMinusCaptureAtRest &right);
G4MuonMinusCaptureAtRest(const G4MuonMinusCaptureAtRest& );
G4ReactionProductVector * DoMuCapture();
G4int nCascade;
G4double targetZ;
G4double targetA;
G4double targetMass;
G4StopElementSelector* pSelector;
G4MuMinusCaptureCascade* pEMCascade;
G4GHEKinematicsVector* Cascade;
G4Fancy3DNucleus theN;
G4ExcitationHandler theHandler;
};