G4LivermorePhotoElectricModel.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 //
00028 // Author: Sebastien Incerti
00029 //         30 October 2008
00030 //         on base of G4LowEnergyPhotoElectric developed by A.Forti and M.G.Pia
00031 //
00032 // 15 Mar 2010   L. Pandola, removed methods to set explicitely fluorescence cuts.
00033 //               Main cuts from G4ProductionCutsTable are always used
00034 // 30 May 2011   A Mantero & V Ivanchenko Migration to model design for deexcitation
00035 // 22 Oct 2012   A & V Ivanchenko Migration data structure to G4PhysicsVector
00036 //
00037 
00038 
00039 #ifndef G4LivermorePhotoElectricModel_h
00040 #define G4LivermorePhotoElectricModel_h 1
00041 
00042 #include "G4VEmModel.hh"
00043 #include "G4ElementData.hh"
00044 #include <vector>
00045 
00046 class G4ParticleChangeForGamma;
00047 class G4VAtomDeexcitation;
00048 class G4LPhysicsFreeVector;
00049 
00050 class G4LivermorePhotoElectricModel : public G4VEmModel
00051 {
00052 
00053 public:
00054 
00055   G4LivermorePhotoElectricModel(const G4String& nam = "LivermorePhElectric");
00056 
00057   virtual ~G4LivermorePhotoElectricModel();
00058 
00059   virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
00060 
00061   virtual G4double ComputeCrossSectionPerAtom(
00062                                 const G4ParticleDefinition*,
00063                                       G4double kinEnergy, 
00064                                       G4double Z, 
00065                                       G4double A=0, 
00066                                       G4double cut=0,
00067                                       G4double emax=DBL_MAX);
00068 
00069   virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
00070                                  const G4MaterialCutsCouple*,
00071                                  const G4DynamicParticle*,
00072                                  G4double tmin,
00073                                  G4double maxEnergy);
00074 
00075   inline void SetLimitNumberOfShells(G4int);
00076 
00077 
00078 protected:
00079 
00080   G4ParticleChangeForGamma* fParticleChange;
00081 
00082 private:
00083 
00084   void ReadData(G4int Z, const char* path = 0);
00085 
00086   G4LivermorePhotoElectricModel & operator=(const  G4LivermorePhotoElectricModel &right);
00087   G4LivermorePhotoElectricModel(const  G4LivermorePhotoElectricModel&);
00088 
00089   G4ParticleDefinition*   theGamma;
00090   G4ParticleDefinition*   theElectron;
00091 
00092   G4int                   verboseLevel;
00093   G4int                   maxZ;
00094   G4int                   nShellLimit;
00095   G4bool                  fDeexcitationActive;
00096   G4bool                  isInitialised;
00097 
00098   G4LPhysicsFreeVector*   fCrossSection[99];
00099   G4LPhysicsFreeVector*   fCrossSectionLE[99];
00100   std::vector<G4double>   fParam[99];
00101   G4int                   fNShells[99];
00102   G4int                   fNShellsUsed[99];
00103   G4ElementData           fShellCrossSection;
00104 
00105   G4VAtomDeexcitation*    fAtomDeexcitation;
00106 
00107 };
00108 
00109 inline 
00110 void G4LivermorePhotoElectricModel::SetLimitNumberOfShells(G4int n)
00111 {
00112   nShellLimit = n;
00113 }
00114 
00115 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00116 
00117 #endif

Generated on Mon May 27 17:48:48 2013 for Geant4 by  doxygen 1.4.7