Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:22:04

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 // Author: A. Forti
0029 //
0030 // History:
0031 // -----------
0032 // 02 Mar 1999  A. Forti        1st implementation
0033 // 27 Sep 2001  V. Ivanchenko   Major revision according to a design iteration
0034 // 10 Oct 2001  M.G. Pia        Revision to improve code quality and 
0035 //                              consistency with design
0036 // 18 Oct 2001  M.G. Pia        Revision to improve code quality and 
0037 //                              consistency with design
0038 // 29 Nov 2001  V.Ivanchenko    New parametrisation of EEDL data
0039 // 31 May 2002  V.Ivanchenko    Add Auger flag
0040 // 06 Feb 2003  V.Ivanchenko    Change signature of deexcitation for cut per region
0041 //
0042 // -------------------------------------------------------------------
0043 
0044 // Class description:
0045 // Low Energy electromagnetic process, electron Ionisation
0046 // based on the data of the EEDL database. Details are described
0047 // in the Physics Reference Manual.
0048 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0049 
0050 // --------------------------------------------------------------
0051 
0052 #ifndef G4RDLOWENERGYIONISATION_HH
0053 #define G4RDLOWENERGYIONISATION_HH 1
0054 
0055 #include "G4eLowEnergyLoss.hh"
0056 #include "G4RDAtomicDeexcitation.hh"
0057 
0058 class G4Track;
0059 class G4Step;
0060 class G4ParticleDefinition;
0061 class G4VParticleChange;
0062 class G4RDVDataSetAlgorithm;
0063 class G4ParticleChange;
0064 class G4RDVEnergySpectrum;
0065 class G4RDVCrossSectionHandler;
0066 class G4RDShellVacancy;
0067 class G4RDVEMDataSet;
0068 
0069 class G4LowEnergyIonisation : public G4eLowEnergyLoss
0070 { 
0071 public:
0072  
0073   G4LowEnergyIonisation(const G4String& processName = "LowEnergyIoni");
0074   
0075   ~G4LowEnergyIonisation();
0076   
0077   G4bool IsApplicable(const G4ParticleDefinition&);
0078   
0079   void PrintInfoDefinition();
0080   
0081   void BuildPhysicsTable(const G4ParticleDefinition& ParticleType);
0082   
0083   G4VParticleChange* PostStepDoIt(const G4Track& track,         
0084                   const G4Step& step);                 
0085  
0086   void SetCutForLowEnSecPhotons(G4double cut);
0087 
0088   void SetCutForLowEnSecElectrons(G4double cut);
0089 
0090   void ActivateAuger(G4bool val);
0091     
0092 protected:
0093  
0094   G4double GetMeanFreePath(const G4Track& track,
0095                G4double previousStepSize,
0096                G4ForceCondition* condition );
0097 
0098 protected:
0099 
0100   virtual std::vector<G4DynamicParticle*>* DeexciteAtom(const G4MaterialCutsCouple* couple,
0101                               G4double incidentEnergy,
0102                               G4double eLoss);
0103 
0104 private:
0105 
0106   // Hide copy constructor and assignment operator as private 
0107   G4LowEnergyIonisation(const G4LowEnergyIonisation& );
0108   G4LowEnergyIonisation& operator = (const G4LowEnergyIonisation& right);
0109   
0110   void BuildLossTable(const G4ParticleDefinition& ParticleType);
0111   
0112   G4RDVCrossSectionHandler* crossSectionHandler;
0113   G4RDVEMDataSet* theMeanFreePath;
0114   G4RDVEnergySpectrum* energySpectrum;
0115 
0116   // Lower limit for generation of gamma in this model
0117   G4DataVector cutForDelta;
0118   G4double cutForPhotons;
0119   G4double cutForElectrons;
0120   G4RDAtomicDeexcitation deexcitationManager;
0121   G4RDShellVacancy* shellVacancy;
0122   
0123 };
0124 
0125 #endif
0126  
0127 
0128 
0129 
0130 
0131 
0132 
0133 
0134 
0135 
0136