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