Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4QAOLowEnergyLoss.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 //      GEANT 4 class header file 
0029 //
0030 //      History: New Implementation
0031 //    
0032 //      ---------- G4QAOLowEnergyLoss physics process -------
0033 //                  by Stephane Chauvie, 21 May 2000 
0034 //
0035 // Modified:
0036 // 16/09/2000 S. Chauvie  Oscillator for all materials
0037 // 23/05/2000 MGP  Made compliant to design
0038 // 01/06/2001 V.Ivanchenko replace names by Z
0039 //  
0040 // Class description:
0041 // Quantal Harmonic Oscillator Model for energy loss of low energy antiprotons 
0042 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0043 
0044 // ------------------------------------------------------------
0045 
0046  
0047 #ifndef G4QAOLowEnergyLoss_hh
0048 #define G4QAOLowEnergyLoss_hh 1
0049 
0050 #include "G4VLowEnergyModel.hh"
0051 #include "globals.hh"
0052 
0053 class G4QAOLowEnergyLoss : public G4VLowEnergyModel
0054 {
0055 public:   
0056   explicit G4QAOLowEnergyLoss(const G4String& name);   
0057   ~G4QAOLowEnergyLoss();
0058     
0059   G4double HighEnergyLimit(const G4ParticleDefinition* aParticle,
0060                            const G4Material* material) const override;
0061   // returns the higher limit for model validity
0062 
0063   G4double LowEnergyLimit(const G4ParticleDefinition* aParticle,
0064                           const G4Material* material) const override;
0065   // returns the lower limit for model validity
0066  
0067   G4double HighEnergyLimit(const G4ParticleDefinition* aParticle) const override;
0068   // returns the higher limit for model validity
0069 
0070   G4double LowEnergyLimit(const G4ParticleDefinition* aParticle) const override;
0071   // returns the lower limit for model validity
0072  
0073   G4bool IsInCharge(const G4DynamicParticle* particle,
0074             const G4Material* material) const override;
0075   // returns true if the model is applicable at that energy for
0076   // that particle for that material
0077 
0078   G4bool IsInCharge(const G4ParticleDefinition* aParticle,
0079             const G4Material* material) const override;
0080   // returns true if the model is applicable at that energy for
0081   // that particle for that material
0082   
0083   G4double TheValue(const G4DynamicParticle* particle,
0084                    const G4Material* material) override;
0085   // returns the energy loss via the quantal harmonic oscillator model 
0086   
0087   G4double TheValue(const G4ParticleDefinition* aParticle,
0088                       const G4Material* material,
0089                                 G4double kineticEnergy) override;
0090   // returns the energy loss via the quantal harmonic oscillator model 
0091 
0092 private:  
0093   G4double EnergyLoss(const G4Material* material,
0094                             G4double kineticEnergy,
0095                             G4double zParticle) const;
0096   // returns the energy loss via the quantal harmonic oscillator model 
0097    
0098   // get number of shell, energy and oscillator strengths for material
0099   G4int GetNumberOfShell(const G4Material* material) const;
0100 
0101   G4double GetShellEnergy(const G4Material* material,G4int nbOfTheShell) const; 
0102   G4double GetOscillatorEnergy(const G4Material* material,G4int nbOfTheShell) const; 
0103   G4double GetShellStrength(const G4Material* material,G4int nbOfTheShell) const;
0104   G4double GetOccupationNumber(G4int Z, G4int ShellNb) const;
0105 
0106   // calculate stopping number for L's term
0107   G4double GetL0(G4double normEnergy) const;
0108   // terms in Z^2
0109   G4double GetL1(G4double normEnergy) const;
0110   // terms in Z^3
0111   G4double GetL2(G4double normEnergy) const;
0112   // terms in Z^4
0113     
0114   // number, energy and oscillator strengths
0115   // for an harmonic oscillator model of material
0116   static const G4int nbofShellForMaterial[6];
0117   static const G4double alShellEnergy[3];
0118   static const G4double alShellStrength[3];
0119   static const G4double siShellEnergy[3];
0120   static const G4double siShellStrength[3];
0121   static const G4double cuShellEnergy[4];
0122   static const G4double cuShellStrength[4];
0123   static const G4double taShellEnergy[6];
0124   static const G4double taShellStrength[6];
0125   static const G4double auShellEnergy[6];
0126   static const G4double auShellStrength[6];
0127   static const G4double ptShellEnergy[6];
0128   static const G4double ptShellStrength[6];
0129   //  variable for calculation of stopping number of L's term
0130   static const G4double L0[67][2];
0131   static const G4double L1[22][2];
0132   static const G4double L2[14][2];
0133   static const G4int nbOfElectronPerSubShell[1540];
0134   static const G4int fNumberOfShells[101];
0135 
0136   // Z of element at now avaliable for the model
0137   static const G4int materialAvailable[6];
0138   
0139   G4int numberOfMaterials;
0140   G4int sizeL0;
0141   G4int sizeL1;
0142   G4int sizeL2;
0143   
0144 }; 
0145 
0146 #endif