Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 // Created on 2016/04/08 27 // 28 // Authors: D. Sakata, S. Incerti 29 // 30 // This class perform transmission term of volume plasmon excitation, 31 // based on Quinn Model, see Phys. Rev. vol 126, number 4 (1962) 32 33 #ifndef G4DNAQuinnPlasmonExcitationModel_h 34 #define G4DNAQuinnPlasmonExcitationModel_h 1 35 36 #include "G4VEmModel.hh" 37 #include "G4Electron.hh" 38 #include "G4ParticleChangeForGamma.hh" 39 #include "G4ProductionCutsTable.hh" 40 41 class G4DNAQuinnPlasmonExcitationModel: public G4VEmModel 42 { 43 44 public: 45 46 G4DNAQuinnPlasmonExcitationModel(const G4ParticleDefinition* p = nullptr, 47 const G4String& nam = "DNAQuinnPlasmonExcitationModel"); 48 49 ~G4DNAQuinnPlasmonExcitationModel() override; 50 51 G4DNAQuinnPlasmonExcitationModel & operator=(const G4DNAQuinnPlasmonExcitationModel &right) = delete; 52 G4DNAQuinnPlasmonExcitationModel(const G4DNAQuinnPlasmonExcitationModel&) = delete; 53 54 void Initialise(const G4ParticleDefinition*, 55 const G4DataVector& = *(new G4DataVector())) override; 56 57 G4double CrossSectionPerVolume(const G4Material* material, 58 const G4ParticleDefinition* p, 59 G4double ekin, 60 G4double emin, 61 G4double emax) override; 62 63 virtual G4double GetCrossSection(const G4Material* material, 64 const G4ParticleDefinition*, 65 G4double kineticEnergy); 66 67 void SampleSecondaries(std::vector<G4DynamicParticle*>*, 68 const G4MaterialCutsCouple*, 69 const G4DynamicParticle*, 70 G4double tmin, 71 G4double maxEnergy) override; 72 73 inline void SelectStationary(G4bool input); 74 75 protected: 76 77 G4ParticleChangeForGamma* fParticleChangeForGamma; 78 79 private: 80 81 G4double fLowEnergyLimit=0.; 82 G4double fHighEnergyLimit=0.; 83 84 G4bool isInitialised=false; 85 G4bool statCode=false; 86 G4int verboseLevel=0; 87 G4int nValenceElectron[100]; 88 89 const std::vector<G4double>* fpMaterialDensity=nullptr; 90 91 G4int GetNValenceElectron(G4int z); 92 93 }; 94 95 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 96 97 inline void G4DNAQuinnPlasmonExcitationModel::SelectStationary(G4bool input) 98 { 99 statCode = input; 100 } 101 102 #endif 103