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 //         Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
0030 //
0031 // History:
0032 // -----------
0033 // 02 Mar  1999   A. Forti   1st implementation
0034 // 12 Aug  2001   MGP        Major revision according to a design iteration
0035 // 16 Sept 2001   E. Guardincerri Added fluorescence generation
0036 // 31 May  2002   V.Ivanchenko Add cut on Auger electrons
0037 // 10 May  2004   P. Rodrigues Changes to accommodate new angular generators
0038 //
0039 // -------------------------------------------------------------------
0040 
0041 // Class description:
0042 // Low Energy Electromagnetic process, Photoelectric effect
0043 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0044 
0045 // -------------------------------------------------------------------
0046 
0047 #ifndef G4RDLOWENERGYPHOTOELECTRIC_HH
0048 #define G4RDLOWENERGYPHOTOELECTRIC_HH 1
0049 
0050 #include "globals.hh"
0051 #include "G4VDiscreteProcess.hh"
0052 #include "G4RDAtomicDeexcitation.hh"
0053 
0054 class G4Track;
0055 class G4Step;
0056 class G4ParticleDefinition;
0057 class G4VParticleChange;
0058 class G4RDVEMDataSet;
0059 class G4RDVCrossSectionHandler;
0060 class G4RDVRangeTest;
0061 class G4RDVPhotoElectricAngularDistribution;
0062 
0063 class G4LowEnergyPhotoElectric : public G4VDiscreteProcess {
0064   
0065 public:
0066   
0067   G4LowEnergyPhotoElectric(const G4String& processName ="LowEnPhotoElec");
0068   
0069   ~G4LowEnergyPhotoElectric();
0070 
0071   G4bool IsApplicable(const G4ParticleDefinition&);
0072   
0073   void BuildPhysicsTable(const G4ParticleDefinition& photon);
0074  
0075   G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep);
0076 
0077   void SetCutForLowEnSecPhotons(G4double);
0078 
0079   void SetCutForLowEnSecElectrons(G4double);
0080 
0081   void ActivateAuger(G4bool);
0082 
0083   void SetAngularGenerator(G4RDVPhotoElectricAngularDistribution* distribution);
0084 
0085   void SetAngularGenerator(const G4String& name);
0086 
0087 
0088   // For testing purpose only
0089   G4double DumpMeanFreePath(const G4Track& aTrack, 
0090                 G4double previousStepSize, 
0091                 G4ForceCondition* condition) 
0092   { return GetMeanFreePath(aTrack, previousStepSize, condition); }
0093 
0094 protected:  
0095 
0096   G4double GetMeanFreePath(const G4Track& aTrack, 
0097                G4double previousStepSize, 
0098                G4ForceCondition* condition);
0099 
0100 private:
0101 
0102  // Hide copy constructor and assignment operator as private 
0103   G4LowEnergyPhotoElectric& operator=(const G4LowEnergyPhotoElectric& right);
0104   G4LowEnergyPhotoElectric(const G4LowEnergyPhotoElectric& );
0105 
0106   G4double lowEnergyLimit;  // low energy limit  applied to the process
0107   G4double highEnergyLimit; // high energy limit applied to the process
0108 
0109   G4RDVEMDataSet* meanFreePathTable;
0110 
0111   G4RDVCrossSectionHandler* crossSectionHandler;
0112   G4RDVCrossSectionHandler* shellCrossSectionHandler;
0113 
0114   G4RDVRangeTest* rangeTest;
0115 
0116   const G4double intrinsicLowEnergyLimit; // intrinsic validity range
0117   const G4double intrinsicHighEnergyLimit;
0118 
0119   G4double cutForLowEnergySecondaryPhotons;
0120   G4double cutForLowEnergySecondaryElectrons;
0121 
0122   G4RDAtomicDeexcitation deexcitationManager;
0123 
0124   G4RDVPhotoElectricAngularDistribution* ElectronAngularGenerator;
0125   G4String generatorName;
0126 };
0127 
0128 #endif
0129 
0130 
0131