Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -6,15 +6,25 @@
|
||||
|
||||
Hadronic physics-list/util History
|
||||
-----------------------------
|
||||
This file should be used to briefly summarize all major modifications
|
||||
This file should be used to briefly summarize all major modifications
|
||||
introduced in the code and keeptrack of all tags.
|
||||
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
28-May-2020 Ben Morgan (phys-util-V10-06-02)
|
||||
- Remove obsolete GRANULAR_DEPENDENCIES entries
|
||||
|
||||
25-May-2020, Vladimir Ivanchenko (phys-util-V10-06-01)
|
||||
- G4HadParticles - updated list of heavy EM particles, more comments
|
||||
|
||||
11-May-2020, Vladimir Ivanchenko (phys-util-V10-06-00)
|
||||
- G4HadParticles - utility providing several lists of PDG codes
|
||||
for kaons, hyperons, b- and c- particles in order to
|
||||
be used for construction of hadronic physics
|
||||
|
||||
31-July-2019 Gunter Folger (phys-util-V10-05-00)
|
||||
- removed G4DataQuestionaire.hh as consequence to code cleanup
|
||||
- removed G4DataQuestionaire.hh as consequence to code cleanup
|
||||
in lists, see phys-lists-V10-05-02
|
||||
|
||||
03-Nov-2018, Vladimir Ivanchenko (phys-util-V10-04-01)
|
||||
@@ -24,7 +34,7 @@ introduced in the code and keeptrack of all tags.
|
||||
- G4PhysListUtil - added methods GetCaptureProcess and GetFissionProcess
|
||||
|
||||
26-Oct-2017, Tatsumi Koi (phys-util-V10-03-00)
|
||||
- Fix address of ftp site of LEND data
|
||||
- Fix address of ftp site of LEND data
|
||||
- Improve instruction about download file and environment variable for LEND data
|
||||
|
||||
05-Nov-2015, Alberto Ribon (phys-util-V10-01-00)
|
||||
@@ -38,5 +48,5 @@ introduced in the code and keeptrack of all tags.
|
||||
- Removed low_energy and high_energy from sources.cmake
|
||||
|
||||
10-Jan-2013, Gunter Folger (phys-util-V09-06-00)
|
||||
- new directory structure introduced.
|
||||
- new directory structure introduced.
|
||||
util directory keeps utility classes
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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 header G4HadParticles
|
||||
//
|
||||
// Author V.Ivanchenko 09.05.2020
|
||||
//
|
||||
// Collections of pahadrons
|
||||
//
|
||||
|
||||
#ifndef G4HadParticles_h
|
||||
#define G4HadParticles_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include <vector>
|
||||
|
||||
class G4HadParticles
|
||||
{
|
||||
public:
|
||||
|
||||
// several vectors of PDG codes for hadron physics
|
||||
static const std::vector<G4int>& GetLightHadrons();
|
||||
static const std::vector<G4int>& GetHyperons();
|
||||
static const std::vector<G4int>& GetKaons();
|
||||
static const std::vector<G4int>& GetBCHadrons();
|
||||
static const std::vector<G4int>& GetLightIons();
|
||||
|
||||
// several vectors of PDG codes for EM physics
|
||||
static const std::vector<G4int>& GetHeavyChargedParticles();
|
||||
static const std::vector<G4int>& GetBCChargedHadrons();
|
||||
|
||||
private:
|
||||
|
||||
static const std::vector<G4int> sLightHadrons;
|
||||
static const std::vector<G4int> sHyperons;
|
||||
static const std::vector<G4int> sKaons;
|
||||
static const std::vector<G4int> sBCHadrons;
|
||||
static const std::vector<G4int> sLightIons;
|
||||
static const std::vector<G4int> sHeavyChargedPart;
|
||||
static const std::vector<G4int> sBCChargedHadrons;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -96,9 +96,11 @@ include(Geant4MacroDefineModule)
|
||||
GEANT4_DEFINE_MODULE(NAME G4physlist_util
|
||||
HEADERS
|
||||
CompileTimeConstraints.hh
|
||||
G4HadParticles.hh
|
||||
G4PhysListUtil.hh
|
||||
G4WarnPLStatus.hh
|
||||
SOURCES
|
||||
G4HadParticles.cc
|
||||
G4PhysListUtil.cc
|
||||
G4WarnPLStatus.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
@@ -119,14 +121,11 @@ GEANT4_DEFINE_MODULE(NAME G4physlist_util
|
||||
G4had_mod_man
|
||||
G4had_mod_util
|
||||
G4had_lept_nuclear
|
||||
G4had_neu_hp
|
||||
G4had_preequ_exciton
|
||||
G4had_string_diff
|
||||
G4had_string_frag
|
||||
G4had_string_man
|
||||
G4had_theo_max
|
||||
G4hadronic_HE
|
||||
G4hadronic_LE
|
||||
G4hadronic_bert_cascade
|
||||
G4hadronic_binary
|
||||
G4hadronic_coherent_elastic
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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 G4HadParticles
|
||||
//
|
||||
// Author V.Ivanchenko 09.05.2020
|
||||
//
|
||||
|
||||
#include "G4HadParticles.hh"
|
||||
|
||||
// p, n, pi+, pi-, pbar, nbar
|
||||
const std::vector<G4int> G4HadParticles::sLightHadrons = {
|
||||
2212, 2112, 211, -211, -2212, -2112
|
||||
};
|
||||
|
||||
// Lambda, Sigma+, Sigma0, Sigma-, Xi0, Xi-, Omega-, anti_hyperons
|
||||
const std::vector<G4int> G4HadParticles::sHyperons = {
|
||||
3122, 3222, 3212, 3112, 3322, 3312, 3334,
|
||||
-3122, -3222, -3212, -3112, -3322, -3312, -3334
|
||||
};
|
||||
|
||||
// K+, K-, KS, KL
|
||||
const std::vector<G4int> G4HadParticles::sKaons = {
|
||||
321, -321, 310, 130
|
||||
};
|
||||
|
||||
const std::vector<G4int> G4HadParticles::sBCHadrons = {
|
||||
// D+, D0, D-, D0bar, Ds+, Ds-
|
||||
411, 421, -411, -421, 431, -431,
|
||||
// B+, B0, B-, B0bar, Bs0, Bs0bar, Bc+, Bc-,
|
||||
521, 511, -521, -511, 531, -531, 541, -541,
|
||||
// eta, eta', etaC, JPsi, Upsilon
|
||||
221, 331, 441, 443, 553,
|
||||
// LambdaC+, SigmaC++, SigmaC+, SigmaC0, XiC+, XiC0, OmegaC0
|
||||
4122, 4222, 4212, 4112, 4232, 4132, 4332,
|
||||
// LambdaB, SigmaB+, SigmaB0, SigmaB-, XiB0, XiB-, OmegaB-
|
||||
5122, 5222, 5212, 5112, 5232, 5132, 5332,
|
||||
// anti_baryons
|
||||
-4122, -4222, -4212, -4112, -4232, -4132, -4332,
|
||||
-5122, -5222, -5212, -5112, -5232, -5132, -5332
|
||||
};
|
||||
|
||||
// d, t, He3, alpha, anti-ions
|
||||
const std::vector<G4int> G4HadParticles::sLightIons = {
|
||||
1000010020, 1000010030, 1000020030, 1000020040,
|
||||
-1000010020, -1000010030, -1000020030, -1000020040,
|
||||
};
|
||||
|
||||
// charged particles for EM physics
|
||||
const std::vector<G4int> G4HadParticles::sHeavyChargedPart = {
|
||||
// Sigma+, Sigma-, Xi-, Omega-, anti_hyperons
|
||||
3222, 3112, 3312, 3334, -3222, -3112, -3312, -3334,
|
||||
// light anti_ions
|
||||
-1000010020, -1000010030, -1000020030, -1000020040,
|
||||
// tau+-
|
||||
15, -15
|
||||
};
|
||||
|
||||
const std::vector<G4int> G4HadParticles::sBCChargedHadrons = {
|
||||
// D+, D-, Ds+, Ds-
|
||||
411, -411, 431, -431,
|
||||
// B+, B-, Bc+, Bc-,
|
||||
521, -521, 541, -541,
|
||||
// LambdaC+, SigmaC++, SigmaC+, XiC+
|
||||
4122, 4222, 4212, 4232,
|
||||
// SigmaB+, SigmaB-, XiB-, OmegaB-
|
||||
5222, 5112, 5132, 5332,
|
||||
// anti_baryons
|
||||
-4122, -4222, -4212, -4232, -5222, -5112, -5132, -5332
|
||||
};
|
||||
|
||||
const std::vector<G4int>& G4HadParticles::GetLightHadrons()
|
||||
{
|
||||
return sLightHadrons;
|
||||
}
|
||||
|
||||
const std::vector<G4int>& G4HadParticles::GetHyperons()
|
||||
{
|
||||
return sHyperons;
|
||||
}
|
||||
|
||||
const std::vector<G4int>& G4HadParticles::GetKaons()
|
||||
{
|
||||
return sKaons;
|
||||
}
|
||||
|
||||
const std::vector<G4int>& G4HadParticles::GetBCHadrons()
|
||||
{
|
||||
return sBCHadrons;
|
||||
}
|
||||
|
||||
const std::vector<G4int>& G4HadParticles::GetLightIons()
|
||||
{
|
||||
return sLightIons;
|
||||
}
|
||||
|
||||
const std::vector<G4int>& G4HadParticles::GetHeavyChargedParticles()
|
||||
{
|
||||
return sHeavyChargedPart;
|
||||
}
|
||||
|
||||
const std::vector<G4int>& G4HadParticles::GetBCChargedHadrons()
|
||||
{
|
||||
return sBCChargedHadrons;
|
||||
}
|
||||
Reference in New Issue
Block a user