Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -1,135 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// G4AntiNeutronAnnihilationAtRest physics process
|
||||
// Larry Felawka (TRIUMF), April 1998
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
#ifndef G4AntiNeutronAnnihilationAtRest_h
|
||||
#define G4AntiNeutronAnnihilationAtRest_h 1
|
||||
|
||||
// Class Description:
|
||||
//
|
||||
// Process for absorption of n-bar at rest.
|
||||
// To be used in your physics list in case you need this physics.
|
||||
|
||||
#include "globals.hh"
|
||||
#include "Randomize.hh"
|
||||
#include "G4VRestProcess.hh"
|
||||
#include "G4VParticleChange.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4GHEKinematicsVector.hh"
|
||||
#include "G4HadronicProcessType.hh"
|
||||
|
||||
class G4AntiNeutronAnnihilationAtRest : public G4VRestProcess
|
||||
|
||||
{
|
||||
private:
|
||||
// hide assignment operator as private
|
||||
G4AntiNeutronAnnihilationAtRest& operator=(const G4AntiNeutronAnnihilationAtRest &right);
|
||||
G4AntiNeutronAnnihilationAtRest(const G4AntiNeutronAnnihilationAtRest& );
|
||||
|
||||
public:
|
||||
|
||||
G4AntiNeutronAnnihilationAtRest(const G4String& processName ="AntiNeutronAnnihilationAtRest",
|
||||
G4ProcessType aType = fHadronic );
|
||||
|
||||
~G4AntiNeutronAnnihilationAtRest();
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&);
|
||||
|
||||
void PreparePhysicsTable(const G4ParticleDefinition&);
|
||||
|
||||
void BuildPhysicsTable(const G4ParticleDefinition&);
|
||||
|
||||
G4double AtRestGetPhysicalInteractionLength(const G4Track&,
|
||||
G4ForceCondition*);
|
||||
|
||||
// zero mean lifetime
|
||||
G4double GetMeanLifeTime(const G4Track& ,
|
||||
G4ForceCondition* ) {return 0.0;}
|
||||
|
||||
G4VParticleChange* AtRestDoIt(const G4Track&, const G4Step&);
|
||||
|
||||
// return number of secondaries produced
|
||||
G4int GetNumberOfSecondaries();
|
||||
|
||||
// pointer to array containg kinematics of secondaries
|
||||
G4GHEKinematicsVector* GetSecondaryKinematics();
|
||||
|
||||
private:
|
||||
|
||||
void GenerateSecondaries();
|
||||
void Poisso( G4float, G4int* );
|
||||
void Normal( G4float* );
|
||||
void AntiNeutronAnnihilation( G4int* );
|
||||
G4double ExNu( G4float );
|
||||
G4int NFac( G4int );
|
||||
|
||||
private:
|
||||
|
||||
// global time-of-flight of stopped AntiNeutron
|
||||
G4float globalTime;
|
||||
|
||||
// atomic mass of target nucleus
|
||||
G4float targetAtomicMass;
|
||||
|
||||
// charge of target nucleus
|
||||
G4float targetCharge;
|
||||
|
||||
G4GHEKinematicsVector* pv;
|
||||
G4GHEKinematicsVector* eve;
|
||||
G4GHEKinematicsVector* gkin;
|
||||
|
||||
G4float evapEnergy1;
|
||||
G4float evapEnergy3;
|
||||
|
||||
G4int ngkine;
|
||||
|
||||
G4int ntot;
|
||||
G4GHEKinematicsVector result;
|
||||
|
||||
G4float massPionMinus;
|
||||
G4float massPionZero;
|
||||
G4float massPionPlus;
|
||||
G4float massGamma;
|
||||
G4float massAntiNeutron;
|
||||
G4float massNeutron;
|
||||
|
||||
G4ParticleDefinition* pdefGamma;
|
||||
G4ParticleDefinition* pdefPionPlus;
|
||||
G4ParticleDefinition* pdefPionZero;
|
||||
G4ParticleDefinition* pdefPionMinus;
|
||||
G4ParticleDefinition* pdefProton;
|
||||
G4ParticleDefinition* pdefNeutron;
|
||||
G4ParticleDefinition* pdefAntiNeutron;
|
||||
G4ParticleDefinition* pdefDeuteron;
|
||||
G4ParticleDefinition* pdefTriton;
|
||||
G4ParticleDefinition* pdefAlpha;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: G4AntiProtonAbsorptionFritiof
|
||||
//
|
||||
// Author: Alberto Ribon
|
||||
//
|
||||
// Date: 27 July 2012
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
// Class Description:
|
||||
//
|
||||
// Process for antiproton absorption at rest.
|
||||
// To be used in your physics list in case you need this physics.
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef G4AntiProtonAbsorptionFritiof_h
|
||||
#define G4AntiProtonAbsorptionFritiof_h 1
|
||||
|
||||
#include "G4HadronicAbsorptionFritiof.hh"
|
||||
#include "G4AntiProton.hh"
|
||||
|
||||
|
||||
class G4AntiProtonAbsorptionFritiof : public G4HadronicAbsorptionFritiof {
|
||||
private:
|
||||
// hide assignment operator as private
|
||||
G4AntiProtonAbsorptionFritiof& operator=( const G4AntiProtonAbsorptionFritiof& );
|
||||
G4AntiProtonAbsorptionFritiof( const G4AntiProtonAbsorptionFritiof& );
|
||||
|
||||
public:
|
||||
G4AntiProtonAbsorptionFritiof()
|
||||
: G4HadronicAbsorptionFritiof( G4AntiProton::Definition() ) {}
|
||||
|
||||
virtual ~G4AntiProtonAbsorptionFritiof() {}
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -1,63 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: G4AntiSigmaPlusAbsorptionFritiof
|
||||
//
|
||||
// Author: Alberto Ribon
|
||||
//
|
||||
// Date: 27 July 2012
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
// Class Description:
|
||||
//
|
||||
// Process for anti-sigma+ absorption at rest.
|
||||
// To be used in your physics list in case you need this physics.
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef G4AntiSigmaPlusAbsorptionFritiof_h
|
||||
#define G4AntiSigmaPlusAbsorptionFritiof_h 1
|
||||
|
||||
#include "G4HadronicAbsorptionFritiof.hh"
|
||||
#include "G4AntiSigmaPlus.hh"
|
||||
|
||||
|
||||
class G4AntiSigmaPlusAbsorptionFritiof : public G4HadronicAbsorptionFritiof {
|
||||
private:
|
||||
// hide assignment operator as private
|
||||
G4AntiSigmaPlusAbsorptionFritiof& operator=( const G4AntiSigmaPlusAbsorptionFritiof& );
|
||||
G4AntiSigmaPlusAbsorptionFritiof( const G4AntiSigmaPlusAbsorptionFritiof& );
|
||||
|
||||
public:
|
||||
G4AntiSigmaPlusAbsorptionFritiof()
|
||||
: G4HadronicAbsorptionFritiof( G4AntiSigmaPlus::Definition() ) {}
|
||||
|
||||
virtual ~G4AntiSigmaPlusAbsorptionFritiof() {}
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -1,52 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
|
||||
#ifndef G4KaonMinusAbsorptionBertini_h
|
||||
#define G4KaonMinusAbsorptionBertini_h 1
|
||||
|
||||
// Class Description:
|
||||
//
|
||||
// Process for K- absorption at rest.
|
||||
// To be used in your physics list in case you need this physics.
|
||||
|
||||
#include "G4HadronicAbsorptionBertini.hh"
|
||||
#include "G4KaonMinus.hh"
|
||||
|
||||
|
||||
class G4KaonMinusAbsorptionBertini : public G4HadronicAbsorptionBertini {
|
||||
private:
|
||||
// hide assignment operator as private
|
||||
G4KaonMinusAbsorptionBertini& operator=(const G4KaonMinusAbsorptionBertini&);
|
||||
G4KaonMinusAbsorptionBertini(const G4KaonMinusAbsorptionBertini&);
|
||||
|
||||
public:
|
||||
G4KaonMinusAbsorptionBertini()
|
||||
: G4HadronicAbsorptionBertini(G4KaonMinus::Definition()) {}
|
||||
|
||||
virtual ~G4KaonMinusAbsorptionBertini() {}
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -1,53 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
|
||||
#ifndef G4PiMinusAbsorptionBertini_h
|
||||
#define G4PiMinusAbsorptionBertini_h 1
|
||||
|
||||
// Class Description:
|
||||
//
|
||||
// Process for pi- absorption at rest.
|
||||
// To be used in your physics list in case you need this physics.
|
||||
|
||||
#include "G4HadronicAbsorptionBertini.hh"
|
||||
#include "G4PionMinus.hh"
|
||||
|
||||
|
||||
class G4PiMinusAbsorptionBertini : public G4HadronicAbsorptionBertini {
|
||||
private:
|
||||
// hide assignment operator as private
|
||||
G4PiMinusAbsorptionBertini& operator=(const G4PiMinusAbsorptionBertini&);
|
||||
G4PiMinusAbsorptionBertini(const G4PiMinusAbsorptionBertini&);
|
||||
|
||||
public:
|
||||
G4PiMinusAbsorptionBertini()
|
||||
: G4HadronicAbsorptionBertini(G4PionMinus::Definition()) {}
|
||||
|
||||
virtual ~G4PiMinusAbsorptionBertini() {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
|
||||
#ifndef G4SigmaMinusAbsorptionBertini_h
|
||||
#define G4SigmaMinusAbsorptionBertini_h 1
|
||||
|
||||
// Class Description:
|
||||
//
|
||||
// Process for Sigma- absorption at rest.
|
||||
// To be used in your physics list in case you need this physics.
|
||||
|
||||
#include "G4HadronicAbsorptionBertini.hh"
|
||||
#include "G4SigmaMinus.hh"
|
||||
|
||||
|
||||
class G4SigmaMinusAbsorptionBertini : public G4HadronicAbsorptionBertini {
|
||||
private:
|
||||
// hide assignment operator as private
|
||||
G4SigmaMinusAbsorptionBertini& operator=(const G4SigmaMinusAbsorptionBertini&);
|
||||
G4SigmaMinusAbsorptionBertini(const G4SigmaMinusAbsorptionBertini&);
|
||||
|
||||
public:
|
||||
G4SigmaMinusAbsorptionBertini()
|
||||
: G4HadronicAbsorptionBertini(G4SigmaMinus::Definition()) {}
|
||||
|
||||
virtual ~G4SigmaMinusAbsorptionBertini() {}
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user