Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -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