Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
// GEANT4 Class header file
|
||||
//
|
||||
// File name: G4EmElementXS
|
||||
//
|
||||
// Author: V. Ivanchenko
|
||||
//
|
||||
// Creation date: 22 August 2024
|
||||
//
|
||||
// Modifications:
|
||||
//
|
||||
// Class Description:
|
||||
//
|
||||
// Class provide access to the cross section data stored in the G4LEDATA
|
||||
// data structure in form of G4PhysicsVector. For that data are uploaded
|
||||
// to the G4ElementData via G4ElementDataRegistry allowing sharing of
|
||||
// data between threads.
|
||||
//
|
||||
// When retrieve data, this class set mutex lock.
|
||||
//
|
||||
// Class Description: End
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
|
||||
#ifndef G4EmElementXS_h
|
||||
#define G4EmElementXS_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
class G4ElementData;
|
||||
class G4EmParameters;
|
||||
class G4PhysicsVector;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
class G4EmElementXS
|
||||
{
|
||||
public:
|
||||
|
||||
explicit G4EmElementXS(G4int zmin, G4int zmax, const G4String& name,
|
||||
const G4String& subname);
|
||||
|
||||
~G4EmElementXS() = default;
|
||||
|
||||
G4PhysicsVector* Retrieve(G4int Z) const;
|
||||
|
||||
G4double GetXS(G4int Z, G4double ekin) const;
|
||||
|
||||
// hide assignment operator
|
||||
G4EmElementXS & operator=(const G4EmElementXS &right) = delete;
|
||||
G4EmElementXS(const G4EmElementXS&) = delete;
|
||||
|
||||
private:
|
||||
|
||||
G4int Zmin;
|
||||
G4int Zmax;
|
||||
G4ElementData* fData;
|
||||
G4EmParameters* fParameters;
|
||||
const G4String fSubName;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
#endif
|
||||
|
||||
@@ -87,7 +87,9 @@ enum G4EmFluctuationType
|
||||
enum G4PositronAtRestModelType
|
||||
{
|
||||
fSimplePositronium = 0,
|
||||
fAllisonPositronium
|
||||
fAllisonPositronium,
|
||||
fOrePowell,
|
||||
fOrePowellPolar
|
||||
};
|
||||
|
||||
class G4EmParametersMessenger;
|
||||
@@ -183,9 +185,6 @@ public:
|
||||
void SetPositronAtRestModelType(G4PositronAtRestModelType val);
|
||||
G4PositronAtRestModelType PositronAtRestModelType() const;
|
||||
|
||||
void SetOrtoPsFraction(G4double val);
|
||||
G4double OrtoPsFraction() const;
|
||||
|
||||
void SetDNAFast(G4bool val);
|
||||
G4bool DNAFast() const;
|
||||
|
||||
@@ -221,6 +220,15 @@ public:
|
||||
G4bool MscPositronCorrection() const;
|
||||
void SetMscPositronCorrection(G4bool v);
|
||||
|
||||
G4bool UseEPICS2017XS() const;
|
||||
void SetUseEPICS2017XS(G4bool v);
|
||||
|
||||
G4bool Use3GammaAnnihilationOnFly() const;
|
||||
void Set3GammaAnnihilationOnFly(G4bool v);
|
||||
|
||||
G4bool UseRiGePairProductionModel() const;
|
||||
void SetUseRiGePairProductionModel(G4bool v);
|
||||
|
||||
// 5d
|
||||
void SetOnIsolated(G4bool val);
|
||||
G4bool OnIsolated() const;
|
||||
@@ -446,6 +454,9 @@ private:
|
||||
G4bool fMuDataFromFile;
|
||||
G4bool fPEKShell;
|
||||
G4bool fMscPosiCorr;
|
||||
G4bool fUseEPICS2017XS;
|
||||
G4bool f3GammaAnnihilationOnFly;
|
||||
G4bool fUseRiGePairProductionModel;
|
||||
G4bool onIsolated; // 5d model conversion on free ions
|
||||
G4bool fDNA;
|
||||
G4bool fIsPrinted;
|
||||
@@ -486,7 +497,6 @@ private:
|
||||
G4eSingleScatteringType fSStype;
|
||||
G4EmFluctuationType fFluct;
|
||||
G4PositronAtRestModelType fPositronium;
|
||||
G4double fOrtoPsFraction;
|
||||
|
||||
G4String fDirLEDATA;
|
||||
};
|
||||
|
||||
@@ -77,34 +77,36 @@ public: // with description
|
||||
|
||||
private:
|
||||
|
||||
G4EmParameters* theParameters;
|
||||
G4EmParameters* theParameters;
|
||||
|
||||
G4UIdirectory* gconvDirectory;
|
||||
G4UIdirectory* eLossDirectory;
|
||||
G4UIdirectory* mscDirectory;
|
||||
G4UIdirectory* emDirectory;
|
||||
G4UIdirectory* dnaDirectory;
|
||||
G4UIdirectory* gconvDirectory;
|
||||
G4UIdirectory* eLossDirectory;
|
||||
G4UIdirectory* mscDirectory;
|
||||
G4UIdirectory* emDirectory;
|
||||
G4UIdirectory* dnaDirectory;
|
||||
|
||||
G4UIcmdWithABool* flucCmd;
|
||||
G4UIcmdWithABool* intCmd;
|
||||
G4UIcmdWithABool* rangeCmd;
|
||||
G4UIcmdWithABool* lpmCmd;
|
||||
G4UIcmdWithABool* rsCmd;
|
||||
G4UIcmdWithABool* aplCmd;
|
||||
G4UIcmdWithABool* latCmd;
|
||||
G4UIcmdWithABool* lat96Cmd;
|
||||
G4UIcmdWithABool* mulatCmd;
|
||||
G4UIcmdWithABool* delCmd;
|
||||
G4UIcmdWithABool* mottCmd;
|
||||
G4UIcmdWithABool* birksCmd;
|
||||
G4UIcmdWithABool* sharkCmd;
|
||||
G4UIcmdWithABool* poCmd;
|
||||
G4UIcmdWithABool* onIsolatedCmd;
|
||||
G4UIcmdWithABool* sampleTCmd;
|
||||
G4UIcmdWithABool* icru90Cmd;
|
||||
G4UIcmdWithABool* mudatCmd;
|
||||
G4UIcmdWithABool* peKCmd;
|
||||
G4UIcmdWithABool* mscPCmd;
|
||||
G4UIcmdWithABool* flucCmd;
|
||||
G4UIcmdWithABool* intCmd;
|
||||
G4UIcmdWithABool* rangeCmd;
|
||||
G4UIcmdWithABool* lpmCmd;
|
||||
G4UIcmdWithABool* rsCmd;
|
||||
G4UIcmdWithABool* aplCmd;
|
||||
G4UIcmdWithABool* latCmd;
|
||||
G4UIcmdWithABool* lat96Cmd;
|
||||
G4UIcmdWithABool* mulatCmd;
|
||||
G4UIcmdWithABool* delCmd;
|
||||
G4UIcmdWithABool* mottCmd;
|
||||
G4UIcmdWithABool* birksCmd;
|
||||
G4UIcmdWithABool* sharkCmd;
|
||||
G4UIcmdWithABool* poCmd;
|
||||
G4UIcmdWithABool* onIsolatedCmd;
|
||||
G4UIcmdWithABool* sampleTCmd;
|
||||
G4UIcmdWithABool* icru90Cmd;
|
||||
G4UIcmdWithABool* mudatCmd;
|
||||
G4UIcmdWithABool* peKCmd;
|
||||
G4UIcmdWithABool* mscPCmd;
|
||||
G4UIcmdWithABool* pepicsCmd;
|
||||
G4UIcmdWithABool* f3gCmd;
|
||||
|
||||
G4UIcmdWithADoubleAndUnit* minEnCmd;
|
||||
G4UIcmdWithADoubleAndUnit* maxEnCmd;
|
||||
@@ -143,7 +145,6 @@ private:
|
||||
G4UIcmdWithAString* ssCmd;
|
||||
G4UIcmdWithAString* fluc1Cmd;
|
||||
G4UIcmdWithAString* posiCmd;
|
||||
G4UIcmdWithADouble* ortoCmd;
|
||||
|
||||
G4UIcommand* dumpCmd;
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@ enum G4EmProcessSubType
|
||||
fGammaGeneralProcess = 16,
|
||||
fPositronGeneralProcess = 17,
|
||||
fAnnihilationToTauTau = 18,
|
||||
fCoherentPairProduction = 19,
|
||||
|
||||
fCerenkov = 21,
|
||||
fScintillation = 22,
|
||||
@@ -70,6 +71,10 @@ enum G4EmProcessSubType
|
||||
fGammaReflection = 26,
|
||||
|
||||
fSurfaceReflection = 25,
|
||||
|
||||
fDynamicIonisation = 30,
|
||||
fDynamicMultipleScattering = 31,
|
||||
|
||||
fDarkBremsstrahlung = 40,
|
||||
fMuonPairProdByCharged = 49
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user