Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:01

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 //
0029 // Geant4 Hadron Elastic Charge Exchange Process -- header file
0030 //
0031 // Created 21 April 2006 V.Ivanchenko
0032 //
0033 // Modified:
0034 //
0035 
0036 // Class Description
0037 // Process for hadron nuclear elastic scattering using optimal
0038 // combination of Geant4 models
0039 // Class Description - End
0040 
0041 #ifndef G4ChargeExchangeProcess_h
0042 #define G4ChargeExchangeProcess_h 1
0043 
0044 #include "globals.hh"
0045 #include "G4HadronicProcess.hh"
0046 #include "G4Nucleus.hh"
0047 
0048 class G4ParticleDefinition;
0049 class G4CrossSectionDataStore;
0050 class G4PhysicsLinearVector;
0051 
0052 class G4ChargeExchangeProcess : public G4HadronicProcess
0053 {
0054 public:
0055 
0056   G4ChargeExchangeProcess(const G4String& procName = "chargeExchange");
0057 
0058   virtual ~G4ChargeExchangeProcess();
0059 
0060   virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
0061 
0062   virtual void BuildPhysicsTable(const G4ParticleDefinition& aParticleType);
0063 
0064   virtual void DumpPhysicsTable(const G4ParticleDefinition& aParticleType);
0065 
0066   virtual G4double GetElementCrossSection(const G4DynamicParticle* aParticle,
0067                       const G4Element* anElement,
0068                       const G4Material* mat = 0);
0069 
0070 private:
0071 
0072   const G4ParticleDefinition* theParticle;
0073 
0074   const G4ParticleDefinition* theProton;
0075   const G4ParticleDefinition* theNeutron;
0076   const G4ParticleDefinition* theAProton;
0077   const G4ParticleDefinition* theANeutron;
0078   const G4ParticleDefinition* thePiPlus;
0079   const G4ParticleDefinition* thePiMinus;
0080   const G4ParticleDefinition* thePiZero;
0081   const G4ParticleDefinition* theKPlus;
0082   const G4ParticleDefinition* theKMinus;
0083   const G4ParticleDefinition* theK0S;
0084   const G4ParticleDefinition* theK0L;
0085   const G4ParticleDefinition* theL;
0086   const G4ParticleDefinition* theAntiL;
0087   const G4ParticleDefinition* theSPlus;
0088   const G4ParticleDefinition* theASPlus;
0089   const G4ParticleDefinition* theSMinus;
0090   const G4ParticleDefinition* theASMinus;
0091   const G4ParticleDefinition* theS0;
0092   const G4ParticleDefinition* theAS0;
0093   const G4ParticleDefinition* theXiMinus;
0094   const G4ParticleDefinition* theXi0;
0095   const G4ParticleDefinition* theAXiMinus;
0096   const G4ParticleDefinition* theAXi0;
0097   const G4ParticleDefinition* theOmega;
0098   const G4ParticleDefinition* theAOmega;
0099   const G4ParticleDefinition* theD;
0100   const G4ParticleDefinition* theT;
0101   const G4ParticleDefinition* theA;
0102   const G4ParticleDefinition* theHe3;
0103 
0104   G4CrossSectionDataStore* store;
0105   G4PhysicsLinearVector*   factors;
0106 
0107   G4double        thEnergy;
0108 
0109   G4int    pPDG;
0110   G4bool   first;
0111 };
0112 
0113 #endif