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] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /processes/electromagnetic/standard/include/G4PhotoElectricEffect.hh (Version 11.3.0) and /processes/electromagnetic/standard/include/G4PhotoElectricEffect.hh (Version 4.1.p1)


  1 //                                                  1 //
  2 // *******************************************      2 // ********************************************************************
  3 // * License and Disclaimer                    <<   3 // * DISCLAIMER                                                       *
  4 // *                                                4 // *                                                                  *
  5 // * The  Geant4 software  is  copyright of th <<   5 // * The following disclaimer summarizes all the specific disclaimers *
  6 // * the Geant4 Collaboration.  It is provided <<   6 // * of contributors to this software. The specific disclaimers,which *
  7 // * conditions of the Geant4 Software License <<   7 // * govern, are listed with their locations in:                      *
  8 // * LICENSE and available at  http://cern.ch/ <<   8 // *   http://cern.ch/geant4/license                                  *
  9 // * include a list of copyright holders.      << 
 10 // *                                                9 // *                                                                  *
 11 // * Neither the authors of this software syst     10 // * Neither the authors of this software system, nor their employing *
 12 // * institutes,nor the agencies providing fin     11 // * institutes,nor the agencies providing financial support for this *
 13 // * work  make  any representation or  warran     12 // * work  make  any representation or  warranty, express or implied, *
 14 // * regarding  this  software system or assum     13 // * regarding  this  software system or assume any liability for its *
 15 // * use.  Please see the license in the file  <<  14 // * use.                                                             *
 16 // * for the full disclaimer and the limitatio << 
 17 // *                                               15 // *                                                                  *
 18 // * This  code  implementation is the result  <<  16 // * This  code  implementation is the  intellectual property  of the *
 19 // * technical work of the GEANT4 collaboratio <<  17 // * GEANT4 collaboration.                                            *
 20 // * By using,  copying,  modifying or  distri <<  18 // * By copying,  distributing  or modifying the Program (or any work *
 21 // * any work based  on the software)  you  ag <<  19 // * based  on  the Program)  you indicate  your  acceptance of  this *
 22 // * use  in  resulting  scientific  publicati <<  20 // * statement, and all its terms.                                    *
 23 // * acceptance of all terms of the Geant4 Sof << 
 24 // *******************************************     21 // ********************************************************************
 25 //                                                 22 //
 26 //                                                 23 //
 27 //------------------ G4PhotoElectricEffect phy <<  24 // $Id: G4PhotoElectricEffect.hh,v 1.15 2002/05/02 11:37:22 maire Exp $
 28 //                   by Michel Maire, 24 May 1 <<  25 // GEANT4 tag $Name: geant4-04-01 $
                                                   >>  26 //
                                                   >>  27 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 29 //                                                 28 //
 30 // 12-06-96, Added SelectRandomAtom() method a     29 // 12-06-96, Added SelectRandomAtom() method and new data member
 31 //           for cumulative total cross sectio     30 //           for cumulative total cross section, by M.Maire
 32 // 21-06-96, SetCuts implementation, M.Maire       31 // 21-06-96, SetCuts implementation, M.Maire
 33 // 17-09-96, Dynamic array PartialSumSigma         32 // 17-09-96, Dynamic array PartialSumSigma
 34 //           split ComputeBindingEnergy(), M.M     33 //           split ComputeBindingEnergy(), M.Maire
 35 // 08-01-97, crossection table + meanfreepath      34 // 08-01-97, crossection table + meanfreepath table, M.Maire
 36 // 13-03-97, adapted for the new physics schem     35 // 13-03-97, adapted for the new physics scheme, M.Maire
 37 // 13-08-98, new methods SetBining() PrintInfo     36 // 13-08-98, new methods SetBining() PrintInfo()
 38 // 17-11-98, use table of atomic shells in Pos     37 // 17-11-98, use table of atomic shells in PostStepDoIt, mma
 39 // 06-01-99, Sandia crossSection below 50 keV, <<  38 // 06-01-99, Sandia crossSection below 50 keV, V.Grichine mma 
 40 // 03-08-01, new methods Store/Retrieve Physic     39 // 03-08-01, new methods Store/Retrieve PhysicsTable (mma)
 41 // 06-08-01, BuildThePhysicsTable() called fro     40 // 06-08-01, BuildThePhysicsTable() called from constructor (mma)
 42 // 19-09-01, come back to previous process nam     41 // 19-09-01, come back to previous process name "phot"
 43 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma)     42 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma)
 44 // 01-10-01, come back to BuildPhysicsTable(co     43 // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&)
 45 // 10-01-02, moved few function from icc to cc     44 // 10-01-02, moved few function from icc to cc
 46 // 17-04-02, Keep only Sandia crossSections. R     45 // 17-04-02, Keep only Sandia crossSections. Remove BuildPhysicsTables.
 47 //           Simplify public interface (mma)       46 //           Simplify public interface (mma)
 48 // 29-04-02, Generate theta angle of the photo     47 // 29-04-02, Generate theta angle of the photoelectron from Sauter-Gavrila
 49 //           distribution (mma)                <<  48 //           distribution (mma)       
 50 // 13-08-04, suppress icc file; make public Co <<  49 // 
 51 // 21-04-05, Redesign - use G4VEmProcess inter <<  50 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 52 // 02-05-05, move ParticleChange actions in mo << 
 53 // 04-05-05, Make class to be default (V.Ivanc << 
 54 // 09-08-06, add SetModel(G4VEmModel*) (mma)   << 
 55 // 12-09-06, move SetModel(G4VEmModel*) in G4V << 
 56 // ------------------------------------------- << 
 57                                                    51 
 58 // class description                               52 // class description
 59 //                                                 53 //
                                                   >>  54 // inherit from G4VDiscreteProcess
                                                   >>  55 //
 60                                                    56 
 61 //....oooOO0OOooo........oooOO0OOooo........oo     57 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 62 //....oooOO0OOooo........oooOO0OOooo........oo     58 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 63                                                    59 
 64 #ifndef G4PhotoElectricEffect_h                    60 #ifndef G4PhotoElectricEffect_h
 65 #define G4PhotoElectricEffect_h 1                  61 #define G4PhotoElectricEffect_h 1
 66                                                    62 
                                                   >>  63 #include "G4ios.hh" 
 67 #include "globals.hh"                              64 #include "globals.hh"
 68 #include "G4VEmProcess.hh"                     <<  65 #include "Randomize.hh" 
 69 #include "G4Gamma.hh"                          <<  66 #include "G4VDiscreteProcess.hh"
                                                   >>  67 #include "G4PhysicsTable.hh"
                                                   >>  68 #include "G4PhysicsLogVector.hh"
                                                   >>  69 #include "G4ElementTable.hh"
                                                   >>  70 #include "G4Gamma.hh" 
                                                   >>  71 #include "G4Electron.hh"
                                                   >>  72 #include "G4Step.hh" 
 70                                                    73 
 71 //....oooOO0OOooo........oooOO0OOooo........oo     74 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 72                                                <<  75  
 73 class G4ParticleDefinition;                    <<  76 class G4PhotoElectricEffect : public G4VDiscreteProcess
 74 class G4VEmModel;                              <<  77  
 75 class G4MaterialCutsCouple;                    << 
 76 class G4DynamicParticle;                       << 
 77                                                << 
 78 class G4PhotoElectricEffect : public G4VEmProc << 
 79                                                << 
 80 {                                                  78 {
 81 public:  // with description                   <<  79   public:  // with description
 82                                                <<  80  
 83   explicit G4PhotoElectricEffect(const G4Strin <<  81      G4PhotoElectricEffect(const G4String& processName ="phot");
 84          G4ProcessType type = fElectromagnetic <<  82  
 85                                                <<  83     ~G4PhotoElectricEffect();
 86   ~G4PhotoElectricEffect() override;           <<  84 
 87                                                <<  85      G4bool IsApplicable(const G4ParticleDefinition&);
 88   // true for Gamma only.                      <<  86       // true for Gamma only.
 89   G4bool IsApplicable(const G4ParticleDefiniti <<  87            
 90                                                <<  88      void PrintInfoDefinition();
 91   // print documentation in html format        <<  89       // Print few lines of informations about the process.
 92   void ProcessDescription(std::ostream&) const <<  90      
 93                                                <<  91      G4double GetMeanFreePath(const G4Track& aTrack,
 94   G4PhotoElectricEffect & operator=(const G4Ph <<  92                                     G4double previousStepSize,
 95   G4PhotoElectricEffect(const G4PhotoElectricE <<  93                                     G4ForceCondition* condition);
 96                                                <<  94        // It returns the MeanFreePath of the process for the current track :
 97 protected:                                     <<  95        // (energy, material)
 98                                                <<  96        // The previousStepSize and G4ForceCondition* are not used.
 99   virtual void InitialiseProcess(const G4Parti <<  97        // This function overloads a virtual function of the base class.
100                                                <<  98        // It is invoked by the ProcessManager of the Particle.
101 private:                                       <<  99        
102                                                << 100    
103   G4bool isInitialised = false;                << 101      G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
                                                   >> 102                                      const G4Step&  aStep);
                                                   >> 103        // It computes the final state of the process (at end of step),
                                                   >> 104        // returned as a ParticleChange object.          
                                                   >> 105        // This function overloads a virtual function of the base class.
                                                   >> 106        // It is invoked by the ProcessManager of the Particle.
                                                   >> 107         
                                                   >> 108   public:  // with description
                                                   >> 109   
                                                   >> 110        // utilities to access the cross Section and mean free path:
                                                   >> 111         
                                                   >> 112      virtual
                                                   >> 113      G4double ComputeCrossSectionPerAtom(G4double PhotonEnergy, 
                                                   >> 114                                          G4double AtomicNumber);
                                                   >> 115      
                                                   >> 116      virtual
                                                   >> 117      G4double ComputeMeanFreePath(G4double PhotonEnergy, 
                                                   >> 118                                   G4Material* aMaterial);
                                                   >> 119           
                                                   >> 120   protected:
                                                   >> 121      virtual
                                                   >> 122      G4double ElecThetaDistribution(G4double ElecKineEnergy);         
                                                   >> 123 
                                                   >> 124   private:
                                                   >> 125 
                                                   >> 126      G4Element* SelectRandomAtom(const G4DynamicParticle* aDynamicPhoton,
                                                   >> 127                                  G4Material* aMaterial);
                                                   >> 128   private:
                                                   >> 129   
                                                   >> 130      // hide assignment operator as private 
                                                   >> 131      G4PhotoElectricEffect& operator=(const G4PhotoElectricEffect &right);
                                                   >> 132      G4PhotoElectricEffect(const G4PhotoElectricEffect& );
                                                   >> 133        
                                                   >> 134   private:
                                                   >> 135   
                                                   >> 136      G4double fminimalEnergy;      // minimalEnergy of produced particles
                                                   >> 137      
                                                   >> 138      G4double MeanFreePath;        // actual Mean Free Path (current medium)
104 };                                                139 };
105                                                   140 
106 //....oooOO0OOooo........oooOO0OOooo........oo    141 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
107                                                << 142  
                                                   >> 143 #include "G4PhotoElectricEffect.icc"
                                                   >> 144   
108 #endif                                            145 #endif
109                                                << 146  
110                                                   147