Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4AntiDoubleHyperDoubleNeutron_h
#define G4AntiDoubleHyperDoubleNeutron_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI DOUBLEHYPERDOUBLENEUTRON ###
// ######################################################################
class G4AntiDoubleHyperDoubleNeutron : public G4Ions {
public:
static G4AntiDoubleHyperDoubleNeutron* Definition();
static G4AntiDoubleHyperDoubleNeutron* AntiDoubleHyperDoubleNeutronDefinition();
static G4AntiDoubleHyperDoubleNeutron* AntiDoubleHyperDoubleNeutron();
private:
static G4AntiDoubleHyperDoubleNeutron* theInstance;
G4AntiDoubleHyperDoubleNeutron() {}
~G4AntiDoubleHyperDoubleNeutron() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4AntiDoubleHyperH4_h
#define G4AntiDoubleHyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### ANTI DOUBLEHYPERH4 ###
// ###############################################################
class G4AntiDoubleHyperH4 : public G4Ions {
public:
static G4AntiDoubleHyperH4* Definition();
static G4AntiDoubleHyperH4* AntiDoubleHyperH4Definition();
static G4AntiDoubleHyperH4* AntiDoubleHyperH4();
private:
static G4AntiDoubleHyperH4* theInstance;
G4AntiDoubleHyperH4() {}
~G4AntiDoubleHyperH4() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4AntiHyperAlpha_h
#define G4AntiHyperAlpha_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI HYPERALPHA ###
// ######################################################################
class G4AntiHyperAlpha : public G4Ions {
public:
static G4AntiHyperAlpha* Definition();
static G4AntiHyperAlpha* AntiHyperAlphaDefinition();
static G4AntiHyperAlpha* AntiHyperAlpha();
private:
static G4AntiHyperAlpha* theInstance;
G4AntiHyperAlpha() {}
~G4AntiHyperAlpha() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4AntiHyperH4_h
#define G4AntiHyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### ANTI HYPERH4 ###
// ###############################################################
class G4AntiHyperH4 : public G4Ions {
public:
static G4AntiHyperH4* Definition();
static G4AntiHyperH4* AntiHyperH4Definition();
static G4AntiHyperH4* AntiHyperH4();
private:
static G4AntiHyperH4* theInstance;
G4AntiHyperH4() {}
~G4AntiHyperH4() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4AntiHyperHe5_h
#define G4AntiHyperHe5_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ##################################################################
// ### ANTI HYPERHE5 ###
// ##################################################################
class G4AntiHyperHe5 : public G4Ions {
public:
static G4AntiHyperHe5* Definition();
static G4AntiHyperHe5* AntiHyperHe5Definition();
static G4AntiHyperHe5* AntiHyperHe5();
private:
static G4AntiHyperHe5* theInstance;
G4AntiHyperHe5() {}
~G4AntiHyperHe5() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4AntiHyperTriton_h
#define G4AntiHyperTriton_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI HYPERTRITON ###
// ######################################################################
class G4AntiHyperTriton : public G4Ions {
public:
static G4AntiHyperTriton* Definition();
static G4AntiHyperTriton* AntiHyperTritonDefinition();
static G4AntiHyperTriton* AntiHyperTriton();
private:
static G4AntiHyperTriton* theInstance;
G4AntiHyperTriton() {}
~G4AntiHyperTriton() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4DoubleHyperDoubleNeutron_h
#define G4DoubleHyperDoubleNeutron_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### DOUBLEHYPERDOUBLENEUTRON ###
// ######################################################################
class G4DoubleHyperDoubleNeutron : public G4Ions {
public:
static G4DoubleHyperDoubleNeutron* Definition();
static G4DoubleHyperDoubleNeutron* DoubleHyperDoubleNeutronDefinition();
static G4DoubleHyperDoubleNeutron* DoubleHyperDoubleNeutron();
private:
static G4DoubleHyperDoubleNeutron* theInstance;
G4DoubleHyperDoubleNeutron() {}
~G4DoubleHyperDoubleNeutron() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4DoubleHyperH4_h
#define G4DoubleHyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### DOUBLEHYPERH4 ###
// ###############################################################
class G4DoubleHyperH4 : public G4Ions {
public:
static G4DoubleHyperH4* Definition();
static G4DoubleHyperH4* DoubleHyperH4Definition();
static G4DoubleHyperH4* DoubleHyperH4();
private:
static G4DoubleHyperH4* theInstance;
G4DoubleHyperH4() {}
~G4DoubleHyperH4() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4HyperAlpha_h
#define G4HyperAlpha_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### HYPERALPHA ###
// ######################################################################
class G4HyperAlpha : public G4Ions {
public:
static G4HyperAlpha* Definition();
static G4HyperAlpha* HyperAlphaDefinition();
static G4HyperAlpha* HyperAlpha();
private:
static G4HyperAlpha* theInstance;
G4HyperAlpha() {}
~G4HyperAlpha() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4HyperH4_h
#define G4HyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### HYPERH4 ###
// ###############################################################
class G4HyperH4 : public G4Ions {
public:
static G4HyperH4* Definition();
static G4HyperH4* HyperH4Definition();
static G4HyperH4* HyperH4();
private:
static G4HyperH4* theInstance;
G4HyperH4() {}
~G4HyperH4() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4HyperHe5_h
#define G4HyperHe5_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ##################################################################
// ### HYPERHE5 ###
// ##################################################################
class G4HyperHe5 : public G4Ions {
public:
static G4HyperHe5* Definition();
static G4HyperHe5* HyperHe5Definition();
static G4HyperHe5* HyperHe5();
private:
static G4HyperHe5* theInstance;
G4HyperHe5() {}
~G4HyperHe5() {}
};
#endif
@@ -0,0 +1,53 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#ifndef G4HyperTriton_h
#define G4HyperTriton_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### HYPERTRITON ###
// ######################################################################
class G4HyperTriton : public G4Ions {
public:
static G4HyperTriton* Definition();
static G4HyperTriton* HyperTritonDefinition();
static G4HyperTriton* HyperTriton();
private:
static G4HyperTriton* theInstance;
G4HyperTriton() {}
~G4HyperTriton() {}
};
#endif
@@ -43,11 +43,11 @@ class G4IonConstructor
G4IonConstructor();
~G4IonConstructor();
public:
static void ConstructParticle();
protected:
static void ConstructLightIons();
static void ConstructHyperNuclei();
};
#endif
@@ -6,11 +6,23 @@ geant4_add_module(G4ions
G4Alpha.hh
G4AntiAlpha.hh
G4AntiDeuteron.hh
G4AntiDoubleHyperDoubleNeutron.hh
G4AntiDoubleHyperH4.hh
G4AntiHe3.hh
G4AntiHyperAlpha.hh
G4AntiHyperHe5.hh
G4AntiHyperH4.hh
G4AntiHyperTriton.hh
G4AntiTriton.hh
G4Deuteron.hh
G4DoubleHyperDoubleNeutron.hh
G4DoubleHyperH4.hh
G4GenericIon.hh
G4He3.hh
G4HyperAlpha.hh
G4HyperHe5.hh
G4HyperH4.hh
G4HyperTriton.hh
G4IonConstructor.hh
G4Triton.hh
G4GenericMuonicAtom.hh
@@ -18,11 +30,23 @@ geant4_add_module(G4ions
G4Alpha.cc
G4AntiAlpha.cc
G4AntiDeuteron.cc
G4AntiDoubleHyperDoubleNeutron.cc
G4AntiDoubleHyperH4.cc
G4AntiHe3.cc
G4AntiHyperAlpha.cc
G4AntiHyperHe5.cc
G4AntiHyperH4.cc
G4AntiHyperTriton.cc
G4AntiTriton.cc
G4Deuteron.cc
G4DoubleHyperDoubleNeutron.cc
G4DoubleHyperH4.cc
G4GenericIon.cc
G4He3.cc
G4HyperAlpha.cc
G4HyperHe5.cc
G4HyperH4.cc
G4HyperTriton.cc
G4IonConstructor.cc
G4Triton.cc
G4GenericMuonicAtom.cc)
@@ -0,0 +1,101 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4AntiDoubleHyperDoubleNeutron.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### ANTI DOUBLEHYPERDOUBLENEUTRON ###
// ######################################################################
G4AntiDoubleHyperDoubleNeutron* G4AntiDoubleHyperDoubleNeutron::theInstance = nullptr;
G4AntiDoubleHyperDoubleNeutron* G4AntiDoubleHyperDoubleNeutron::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "anti_doublehyperdoubleneutron";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 4110.24*MeV, 2.501e-12*MeV, 0.0*eplus,
0, +1, 0,
0, 0, 0,
"anti_nucleus", 0, -4, -1020000040,
false, 0.2631*ns, nullptr,
false, "static", 1020000040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double br_lambda_to_n_piz = 0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[3];
// anti_lambda -> anti_proton + pi+ , with 50% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_doublehyperdoubleneutron", half_br_lambda_to_p_pim, 5,
"anti_neutron", "anti_neutron", "anti_lambda", "anti_proton", "pi+" );
mode[1] = new G4PhaseSpaceDecayChannel( "anti_doublehyperdoubleneutron", half_br_lambda_to_p_pim, 2,
"anti_hyperH4", "pi+" );
// anti_lambda -> anti_neutron + pi0 , without any possibility of capturing the anti_neutron
mode[2] = new G4PhaseSpaceDecayChannel( "anti_doublehyperdoubleneutron", br_lambda_to_n_piz, 5,
"anti_neutron", "anti_neutron", "anti_lambda", "anti_neutron", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
}
theInstance = reinterpret_cast< G4AntiDoubleHyperDoubleNeutron* >( anInstance );
return theInstance;
}
G4AntiDoubleHyperDoubleNeutron* G4AntiDoubleHyperDoubleNeutron::AntiDoubleHyperDoubleNeutronDefinition() {
return Definition();
}
G4AntiDoubleHyperDoubleNeutron* G4AntiDoubleHyperDoubleNeutron::AntiDoubleHyperDoubleNeutron() {
return Definition();
}
@@ -0,0 +1,105 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4AntiDoubleHyperH4.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ###############################################################
// ### ANTI DOUBLEHYPERH4 ###
// ###############################################################
G4AntiDoubleHyperH4* G4AntiDoubleHyperH4::theInstance = nullptr;
G4AntiDoubleHyperH4* G4AntiDoubleHyperH4::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "anti_doublehyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 4106.72*MeV, 2.501e-12*MeV, -1.0*eplus,
4, +1, 0,
0, 0, 0,
"anti_nucleus", 0, -4, -1020010040,
false, 0.2631*ns, nullptr,
false, "static", 1020010040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// anti_lambda -> anti_proton + pi+ , with 50% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_doublehyperH4", half_br_lambda_to_p_pim, 3,
"anti_hypertriton", "anti_proton", "pi+" );
mode[1] = new G4PhaseSpaceDecayChannel( "anti_doublehyperH4", half_br_lambda_to_p_pim, 2,
"anti_hyperalpha", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 50% probability of capturing the anti_neutron
mode[2] = new G4PhaseSpaceDecayChannel( "anti_doublehyperH4", half_br_lambda_to_n_piz, 3,
"anti_hypertriton", "anti_neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "anti_doublehyperH4", half_br_lambda_to_n_piz, 2,
"anti_hyperH4", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiDoubleHyperH4* >( anInstance );
return theInstance;
}
G4AntiDoubleHyperH4* G4AntiDoubleHyperH4::AntiDoubleHyperH4Definition() {
return Definition();
}
G4AntiDoubleHyperH4* G4AntiDoubleHyperH4::AntiDoubleHyperH4() {
return Definition();
}
@@ -0,0 +1,124 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4AntiHyperAlpha.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### ANTI HYPERALPHA ###
// ######################################################################
G4AntiHyperAlpha* G4AntiHyperAlpha::theInstance = nullptr;
G4AntiHyperAlpha* G4AntiHyperAlpha::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "anti_hyperalpha";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 3921.87*MeV, 2.501e-12*MeV, -2.0*eplus,
0, +1, 0,
0, 0, 0,
"anti_nucleus", 0, -4, -1010020040,
false, 0.2631*ns, nullptr,
false, "static", 1010020040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
/*
// The decay "mode[1]" produces the secondary "anti_Li4" which is not existing
// in Geant4: we therefore skip it for the time being (similarly for hyperalpha,
// to keep the symmetry between particle and anti-particle).
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// anti_lambda -> anti_proton + pi+ , with 50% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_hyperalpha", half_br_lambda_to_p_pim, 3,
"anti_He3", "anti_proton", "pi+" );
mode[1] = new G4PhaseSpaceDecayChannel( "anti_hyperalpha", half_br_lambda_to_p_pim, 2,
"anti_Li4", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 50% probability of capturing the anti_neutron
mode[2] = new G4PhaseSpaceDecayChannel( "anti_hyperalpha", half_br_lambda_to_n_piz, 3,
"anti_He3", "anti_neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "anti_hyperalpha", half_br_lambda_to_n_piz, 2,
"anti_alpha", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
*/
// Replacement decay for the time being
const G4double br_lambda_to_p_pim = 0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[3];
// anti_lambda -> anti_proton + pi+ , with 0% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_hyperalpha", br_lambda_to_p_pim, 3,
"anti_He3", "anti_proton", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 50% probability of capturing the anti_neutron
mode[1] = new G4PhaseSpaceDecayChannel( "anti_hyperalpha", half_br_lambda_to_n_piz, 3,
"anti_He3", "anti_neutron", "pi0" );
mode[2] = new G4PhaseSpaceDecayChannel( "anti_hyperalpha", half_br_lambda_to_n_piz, 2,
"anti_alpha", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
//---
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperAlpha* >( anInstance );
return theInstance;
}
G4AntiHyperAlpha* G4AntiHyperAlpha::AntiHyperAlphaDefinition() {
return Definition();
}
G4AntiHyperAlpha* G4AntiHyperAlpha::AntiHyperAlpha() {
return Definition();
}
@@ -0,0 +1,124 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4AntiHyperH4.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ###############################################################
// ### ANTI HYPERH4 ###
// ###############################################################
G4AntiHyperH4* G4AntiHyperH4::theInstance = nullptr;
G4AntiHyperH4* G4AntiHyperH4::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "anti_hyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 3922.40*MeV, 2.501e-12*MeV, -1.0*eplus,
4, +1, 0,
0, 0, 0,
"anti_nucleus", 0, -4, -1010010040,
false, 0.2631*ns, nullptr,
false, "static", 1010010040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
/*
// The decay "mode[3]" produces the secondary "anti_H4" which is not existing
// in Geant4: we therefore skip it for the time being (similarly for hyperH4,
// to keep the symmetry between particle and anti-particle).
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// anti_lambda -> anti_proton + pi+ , with 50% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_hyperH4", half_br_lambda_to_p_pim, 3,
"anti_triton", "anti_proton", "pi+" );
mode[1] = new G4PhaseSpaceDecayChannel( "anti_hyperH4", half_br_lambda_to_p_pim, 2,
"anti_alpha", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 50% probability of capturing the anti_neutron
mode[2] = new G4PhaseSpaceDecayChannel( "anti_hyperH4", half_br_lambda_to_n_piz, 3,
"anti_triton", "anti_neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "anti_hyperH4", half_br_lambda_to_n_piz, 2,
"anti_H4", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
*/
// Replacement decay for the time being
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double br_lambda_to_n_piz = 0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[3];
// anti_lambda -> anti_proton + pi+ , with 50% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_hyperH4", half_br_lambda_to_p_pim, 3,
"anti_triton", "anti_proton", "pi+" );
mode[1] = new G4PhaseSpaceDecayChannel( "anti_hyperH4", half_br_lambda_to_p_pim, 2,
"anti_alpha", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 0% probability of capturing the anti_neutron
mode[2] = new G4PhaseSpaceDecayChannel( "anti_hyperH4", br_lambda_to_n_piz, 3,
"anti_triton", "anti_neutron", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
//---
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperH4* >( anInstance );
return theInstance;
}
G4AntiHyperH4* G4AntiHyperH4::AntiHyperH4Definition() {
return Definition();
}
G4AntiHyperH4* G4AntiHyperH4::AntiHyperH4() {
return Definition();
}
@@ -0,0 +1,122 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4AntiHyperHe5.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ##################################################################
// ### ANTI HYPERHE5 ###
// ##################################################################
G4AntiHyperHe5* G4AntiHyperHe5::theInstance = nullptr;
G4AntiHyperHe5* G4AntiHyperHe5::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "anti_hyperHe5";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 4840.00*MeV, 2.501e-12*MeV, -2.0*eplus,
3, +1, 0,
0, 0, 0,
"anti_nucleus", 0, -5, -1010020050,
false, 0.2631*ns, nullptr,
false, "static", 1010020050,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
/*
// The decays "mode[1]" and "mode[3]" produce the secondaries "anti_Li5" and "anti_He5",
// respectively, which are not existing in Geant4: we therefore skip them for the time being
// (similarly for hyperHe5, to keep the symmetry between particle and anti-particle).
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// anti_lambda -> anti_proton + pi+ , with 50% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_hyperHe5", half_br_lambda_to_p_pim, 3,
"anti_alpha", "anti_proton", "pi+" );
mode[1] = new G4PhaseSpaceDecayChannel( "anti_hyperHe5", half_br_lambda_to_p_pim, 2,
"anti_Li5", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 50% probability of capturing the anti_neutron
mode[2] = new G4PhaseSpaceDecayChannel( "anti_hyperHe5", half_br_lambda_to_n_piz, 3,
"anti_alpha", "anti_neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "anti_hyperHe5", half_br_lambda_to_n_piz, 2,
"anti_He5", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
*/
// Replacement decay for the time being
const G4double br_lambda_to_p_pim = 0.639;
const G4double br_lambda_to_n_piz = 0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[2];
// anti_lambda -> anti_proton + pi+ , with 0% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_hyperHe5", br_lambda_to_p_pim, 3,
"anti_alpha", "anti_proton", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 0% probability of capturing the anti_neutron
mode[1] = new G4PhaseSpaceDecayChannel( "anti_hyperHe5", br_lambda_to_n_piz, 3,
"anti_alpha", "anti_neutron", "pi0" );
for ( G4int index = 0; index < 2; ++index ) table->Insert( mode[index] );
//---
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperHe5* >( anInstance );
return theInstance;
}
G4AntiHyperHe5* G4AntiHyperHe5::AntiHyperHe5Definition() {
return Definition();
}
G4AntiHyperHe5* G4AntiHyperHe5::AntiHyperHe5() {
return Definition();
}
@@ -0,0 +1,105 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4AntiHyperTriton.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### ANTI HYPERTRITON ###
// ######################################################################
G4AntiHyperTriton* G4AntiHyperTriton::theInstance = nullptr;
G4AntiHyperTriton* G4AntiHyperTriton::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "anti_hypertriton";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 2991.17*MeV, 2.501e-12*MeV, -1.0*eplus,
1, +1, 0,
0, 0, 0,
"anti_nucleus", 0, -3, -1010010030,
false, 0.2631*ns, nullptr,
false, "static", 1010010030,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// anti_lambda -> anti_proton + pi+ , with 50% probability of capturing the anti_proton
mode[0] = new G4PhaseSpaceDecayChannel( "anti_hypertriton", half_br_lambda_to_p_pim, 3,
"anti_deuteron", "anti_proton", "pi+" );
mode[1] = new G4PhaseSpaceDecayChannel( "anti_hypertriton", half_br_lambda_to_p_pim, 2,
"anti_He3", "pi+" );
// anti_lambda -> anti_neutron + pi0 , with 50% probability of capturing the anti_neutron
mode[2] = new G4PhaseSpaceDecayChannel( "anti_hypertriton", half_br_lambda_to_n_piz, 3,
"anti_deuteron", "anti_neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "anti_hypertriton", half_br_lambda_to_n_piz, 2,
"anti_triton", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperTriton* >( anInstance );
return theInstance;
}
G4AntiHyperTriton* G4AntiHyperTriton::AntiHyperTritonDefinition() {
return Definition();
}
G4AntiHyperTriton* G4AntiHyperTriton::AntiHyperTriton() {
return Definition();
}
@@ -0,0 +1,101 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4DoubleHyperDoubleNeutron.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### DOUBLEHYPERDOUBLENEUTRON ###
// ######################################################################
G4DoubleHyperDoubleNeutron* G4DoubleHyperDoubleNeutron::theInstance = nullptr;
G4DoubleHyperDoubleNeutron* G4DoubleHyperDoubleNeutron::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "doublehyperdoubleneutron";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 4110.24*MeV, 2.501e-12*MeV, 0.0*eplus,
0, +1, 0,
0, 0, 0,
"nucleus", 0, +4, 1020000040,
false, 0.2631*ns, nullptr,
false, "static", -1020000040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double br_lambda_to_n_piz = 0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[3];
// lambda -> proton + pi- , with 50% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "doublehyperdoubleneutron", half_br_lambda_to_p_pim, 5,
"neutron", "neutron", "lambda", "proton", "pi-" );
mode[1] = new G4PhaseSpaceDecayChannel( "doublehyperdoubleneutron", half_br_lambda_to_p_pim, 2,
"hyperH4", "pi-" );
// lambda -> neutron + pi0 , without any possibility of capturing the neutron
mode[2] = new G4PhaseSpaceDecayChannel( "doublehyperdoubleneutron", br_lambda_to_n_piz, 5,
"neutron", "neutron", "lambda", "neutron", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
}
theInstance = reinterpret_cast< G4DoubleHyperDoubleNeutron* >( anInstance );
return theInstance;
}
G4DoubleHyperDoubleNeutron* G4DoubleHyperDoubleNeutron::DoubleHyperDoubleNeutronDefinition() {
return Definition();
}
G4DoubleHyperDoubleNeutron* G4DoubleHyperDoubleNeutron::DoubleHyperDoubleNeutron() {
return Definition();
}
@@ -0,0 +1,105 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4DoubleHyperH4.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ###############################################################
// ### DOUBLEHYPERH4 ###
// ###############################################################
G4DoubleHyperH4* G4DoubleHyperH4::theInstance = nullptr;
G4DoubleHyperH4* G4DoubleHyperH4::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "doublehyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 4106.72*MeV, 2.501e-12*MeV, +1.0*eplus,
4, +1, 0,
0, 0, 0,
"nucleus", 0, +4, 1020010040,
false, 0.2631*ns, nullptr,
false, "static", -1020010040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// lambda -> proton + pi- , with 50% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "doublehyperH4", half_br_lambda_to_p_pim, 3,
"hypertriton", "proton", "pi-" );
mode[1] = new G4PhaseSpaceDecayChannel( "doublehyperH4", half_br_lambda_to_p_pim, 2,
"hyperalpha", "pi-" );
// lambda -> neutron + pi0 , with 50% probability of capturing the neutron
mode[2] = new G4PhaseSpaceDecayChannel( "doublehyperH4", half_br_lambda_to_n_piz, 3,
"hypertriton", "neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "doublehyperH4", half_br_lambda_to_n_piz, 2,
"hyperH4", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4DoubleHyperH4* >( anInstance );
return theInstance;
}
G4DoubleHyperH4* G4DoubleHyperH4::DoubleHyperH4Definition() {
return Definition();
}
G4DoubleHyperH4* G4DoubleHyperH4::DoubleHyperH4() {
return Definition();
}
@@ -0,0 +1,124 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4HyperAlpha.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### HYPERALPHA ###
// ######################################################################
G4HyperAlpha* G4HyperAlpha::theInstance = nullptr;
G4HyperAlpha* G4HyperAlpha::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "hyperalpha";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 3921.87*MeV, 2.501e-12*MeV, +2.0*eplus,
0, +1, 0,
0, 0, 0,
"nucleus", 0, +4, 1010020040,
false, 0.2631*ns, nullptr,
false, "static", -1010020040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
/*
// The decay "mode[1]" produces the secondary "Li4" whose corresponding anti-particle
// is not existing in Geant4: we therefore skip it for the time being, to keep the
// symmetry with the decays of anti_hyperalpha.
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// lambda -> proton + pi- , with 50% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "hyperalpha", half_br_lambda_to_p_pim, 3,
"He3", "proton", "pi-" );
mode[1] = new G4PhaseSpaceDecayChannel( "hyperalpha", half_br_lambda_to_p_pim, 2,
"Li4", "pi-" );
// lambda -> neutron + pi0 , with 50% probability of capturing the neutron
mode[2] = new G4PhaseSpaceDecayChannel( "hyperalpha", half_br_lambda_to_n_piz, 3,
"He3", "neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "hyperalpha", half_br_lambda_to_n_piz, 2,
"alpha", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
*/
// Replacement decay for the time being
const G4double br_lambda_to_p_pim = 0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[3];
// lambda -> proton + pi- , with 0% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "hyperalpha", br_lambda_to_p_pim, 3,
"He3", "proton", "pi-" );
// lambda -> neutron + pi0 , with 50% probability of capturing the neutron
mode[1] = new G4PhaseSpaceDecayChannel( "hyperalpha", half_br_lambda_to_n_piz, 3,
"He3", "neutron", "pi0" );
mode[2] = new G4PhaseSpaceDecayChannel( "hyperalpha", half_br_lambda_to_n_piz, 2,
"alpha", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
//---
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperAlpha* >( anInstance );
return theInstance;
}
G4HyperAlpha* G4HyperAlpha::HyperAlphaDefinition() {
return Definition();
}
G4HyperAlpha* G4HyperAlpha::HyperAlpha() {
return Definition();
}
@@ -0,0 +1,124 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4HyperH4.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ###############################################################
// ### HYPERH4 ###
// ###############################################################
G4HyperH4* G4HyperH4::theInstance = nullptr;
G4HyperH4* G4HyperH4::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "hyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 3922.40*MeV, 2.501e-12*MeV, +1.0*eplus,
4, +1, 0,
0, 0, 0,
"nucleus", 0, +4, 1010010040,
false, 0.2631*ns, nullptr,
false, "static", -1010010040,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
/*
// The decay "mode[3]" produces the secondary "H4" whose corresponding
// anti-particle is not existing in Geant4: we therefore skip it for the time
// being, to keep the symmetry with the decays of anti_hyperH4.
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// lambda -> proton + pi- , with 50% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "hyperH4", half_br_lambda_to_p_pim, 3,
"triton", "proton", "pi-" );
mode[1] = new G4PhaseSpaceDecayChannel( "hyperH4", half_br_lambda_to_p_pim, 2,
"alpha", "pi-" );
// lambda -> neutron + pi0 , with 50% probability of capturing the neutron
mode[2] = new G4PhaseSpaceDecayChannel( "hyperH4", half_br_lambda_to_n_piz, 3,
"triton", "neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "hyperH4", half_br_lambda_to_n_piz, 2,
"H4", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
*/
// Replacement decay for the time being
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double br_lambda_to_n_piz = 0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[3];
// lambda -> proton + pi- , with 50% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "hyperH4", half_br_lambda_to_p_pim, 3,
"triton", "proton", "pi-" );
mode[1] = new G4PhaseSpaceDecayChannel( "hyperH4", half_br_lambda_to_p_pim, 2,
"alpha", "pi-" );
// lambda -> neutron + pi0 , with 0% probability of capturing the neutron
mode[2] = new G4PhaseSpaceDecayChannel( "hyperH4", br_lambda_to_n_piz, 3,
"triton", "neutron", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
//---
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperH4* >( anInstance );
return theInstance;
}
G4HyperH4* G4HyperH4::HyperH4Definition() {
return Definition();
}
G4HyperH4* G4HyperH4::HyperH4() {
return Definition();
}
@@ -0,0 +1,123 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4HyperHe5.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ###################################################################
// ### HYPERHE5 ###
// ###################################################################
G4HyperHe5* G4HyperHe5::theInstance = nullptr;
G4HyperHe5* G4HyperHe5::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "hyperHe5";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 4840.00*MeV, 2.501e-12*MeV, +2.0*eplus,
3, +1, 0,
0, 0, 0,
"nucleus", 0, +5, 1010020050,
false, 0.2631*ns, nullptr,
false, "static", -1010020050,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
/*
// The decays "mode[1]" and "mode[3]" produce the secondaries "Li5" and "He5",
// respectively, whose corresponding anti-particles are not existing in Geant4:
// we therefore skip them for the time being, to keep the symmetry with the decays
// of anti_hyperHe5.
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// lambda -> proton + pi- , with 50% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "hyperHe5", half_br_lambda_to_p_pim, 3,
"alpha", "proton", "pi-" );
mode[1] = new G4PhaseSpaceDecayChannel( "hyperHe5", half_br_lambda_to_p_pim, 2,
"Li5", "pi-" );
// lambda -> neutron + pi0 , with 50% probability of capturing the neutron
mode[2] = new G4PhaseSpaceDecayChannel( "hyperHe5", half_br_lambda_to_n_piz, 3,
"alpha", "neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "hyperHe5", half_br_lambda_to_n_piz, 2,
"He5", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
*/
// Replacement decay for the time being
const G4double br_lambda_to_p_pim = 0.639;
const G4double br_lambda_to_n_piz = 0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[2];
// lambda -> proton + pi- , with 0% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "hyperHe5", br_lambda_to_p_pim, 3,
"alpha", "proton", "pi-" );
// lambda -> neutron + pi0 , with 0% probability of capturing the neutron
mode[1] = new G4PhaseSpaceDecayChannel( "hyperHe5", br_lambda_to_n_piz, 3,
"alpha", "neutron", "pi0" );
for ( G4int index = 0; index < 2; ++index ) table->Insert( mode[index] );
//---
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperHe5* >( anInstance );
return theInstance;
}
G4HyperHe5* G4HyperHe5::HyperHe5Definition() {
return Definition();
}
G4HyperHe5* G4HyperHe5::HyperHe5() {
return Definition();
}
@@ -0,0 +1,105 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Author: 2021 Alberto Ribon
//
//----------------------------------------------------------------------------
#include "G4HyperTriton.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### HYPERTRITON ###
// ######################################################################
G4HyperTriton* G4HyperTriton::theInstance = nullptr;
G4HyperTriton* G4HyperTriton::Definition() {
if ( theInstance != nullptr ) return theInstance;
const G4String name = "hypertriton";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
// excitation
anInstance = new G4Ions( name, 2991.17*MeV, 2.501e-12*MeV, +1.0*eplus,
1, +1, 0,
0, 0, 0,
"nucleus", 0, +3, 1010010030,
false, 0.2631*ns, nullptr,
false, "static", -1010010030,
0.0, 0 );
// Magnetic Moment
G4double mN = eplus*hbar_Planck/2.0/(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.97896248 * mN );
// create Decay Table
G4DecayTable* table = new G4DecayTable;
// create decay channels
const G4double half_br_lambda_to_p_pim = 0.5*0.639;
const G4double half_br_lambda_to_n_piz = 0.5*0.358;
G4VDecayChannel** mode = new G4VDecayChannel*[4];
// lambda -> proton + pi- , with 50% probability of capturing the proton
mode[0] = new G4PhaseSpaceDecayChannel( "hypertriton", half_br_lambda_to_p_pim, 3,
"deuteron", "proton", "pi-" );
mode[1] = new G4PhaseSpaceDecayChannel( "hypertriton", half_br_lambda_to_p_pim, 2,
"He3", "pi-" );
// lambda -> neutron + pi0 , with 50% probability of capturing the neutron
mode[2] = new G4PhaseSpaceDecayChannel( "hypertriton", half_br_lambda_to_n_piz, 3,
"deuteron", "neutron", "pi0" );
mode[3] = new G4PhaseSpaceDecayChannel( "hypertriton", half_br_lambda_to_n_piz, 2,
"triton", "pi0" );
for ( G4int index = 0; index < 4; ++index ) table->Insert( mode[index] );
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperTriton* >( anInstance );
return theInstance;
}
G4HyperTriton* G4HyperTriton::HyperTritonDefinition() {
return Definition();
}
G4HyperTriton* G4HyperTriton::HyperTriton() {
return Definition();
}
@@ -45,6 +45,20 @@
#include "G4AntiDeuteron.hh"
#include "G4AntiTriton.hh"
#include "G4AntiHe3.hh"
// Hyper-nuclei
#include "G4DoubleHyperDoubleNeutron.hh"
#include "G4DoubleHyperH4.hh"
#include "G4HyperAlpha.hh"
#include "G4HyperH4.hh"
#include "G4HyperHe5.hh"
#include "G4HyperTriton.hh"
// Anti-hyper-nuclei
#include "G4AntiDoubleHyperDoubleNeutron.hh"
#include "G4AntiDoubleHyperH4.hh"
#include "G4AntiHyperAlpha.hh"
#include "G4AntiHyperH4.hh"
#include "G4AntiHyperHe5.hh"
#include "G4AntiHyperTriton.hh"
G4IonConstructor::G4IonConstructor()
{
@@ -54,10 +68,10 @@ G4IonConstructor::~G4IonConstructor()
{
}
void G4IonConstructor::ConstructParticle()
{
ConstructLightIons();
ConstructHyperNuclei();
}
void G4IonConstructor::ConstructLightIons()
@@ -76,3 +90,19 @@ void G4IonConstructor::ConstructLightIons()
G4GenericIon::GenericIonDefinition();
}
void G4IonConstructor::ConstructHyperNuclei()
{
G4DoubleHyperDoubleNeutron::DoubleHyperDoubleNeutron();
G4DoubleHyperH4::DoubleHyperH4();
G4HyperAlpha::HyperAlpha();
G4HyperH4::HyperH4();
G4HyperHe5::HyperHe5();
G4HyperTriton::HyperTriton();
G4AntiDoubleHyperDoubleNeutron::AntiDoubleHyperDoubleNeutron();
G4AntiDoubleHyperH4::AntiDoubleHyperH4();
G4AntiHyperAlpha::AntiHyperAlpha();
G4AntiHyperH4::AntiHyperH4();
G4AntiHyperHe5::AntiHyperHe5();
G4AntiHyperTriton::AntiHyperTriton();
}