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 // 26 // 27 // 27 // 28 // Author: Vladimir Ivanchenko 28 // Author: Vladimir Ivanchenko 29 // 29 // 30 // History: 30 // History: 31 // -------- 31 // -------- 32 // 31 May 2011 V.Ivanchenko The class is crea 32 // 31 May 2011 V.Ivanchenko The class is created 33 // 04 Jul 2011 L Pandola Comment unused pr 33 // 04 Jul 2011 L Pandola Comment unused private member 34 // 09 Mar 2012 L Pandola Changed signature 34 // 09 Mar 2012 L Pandola Changed signature of methods 35 // 35 // 36 // 36 // 37 // ------------------------------------------- 37 // ------------------------------------------------------------------- 38 // 38 // 39 // Class description: 39 // Class description: 40 // Access to Livermore ionisation cross sectio 40 // Access to Livermore ionisation cross sections for e- 41 // ------------------------------------------- 41 // ------------------------------------------------------------------- 42 42 43 #ifndef G4LIVERMOREIONISATIONCROSSSECTION_HH 43 #ifndef G4LIVERMOREIONISATIONCROSSSECTION_HH 44 #define G4LIVERMOREIONISATIONCROSSSECTION_HH 1 44 #define G4LIVERMOREIONISATIONCROSSSECTION_HH 1 45 45 46 #include "G4VhShellCrossSection.hh" 46 #include "G4VhShellCrossSection.hh" 47 #include "globals.hh" 47 #include "globals.hh" 48 #include "G4AtomicShellEnumerator.hh" 48 #include "G4AtomicShellEnumerator.hh" 49 #include <vector> 49 #include <vector> 50 50 51 class G4AtomicTransitionManager; 51 class G4AtomicTransitionManager; 52 class G4VCrossSectionHandler; 52 class G4VCrossSectionHandler; 53 53 54 class G4LivermoreIonisationCrossSection : publ 54 class G4LivermoreIonisationCrossSection : public G4VhShellCrossSection 55 { 55 { 56 56 57 public: 57 public: 58 58 59 explicit G4LivermoreIonisationCrossSection(c << 59 G4LivermoreIonisationCrossSection(const G4String& nam = "LivermorePIXE"); >> 60 60 virtual ~G4LivermoreIonisationCrossSection() 61 virtual ~G4LivermoreIonisationCrossSection(); 61 62 62 void Initialise(); 63 void Initialise(); 63 64 64 G4double CrossSection(G4int Z, G4AtomicShell 65 G4double CrossSection(G4int Z, G4AtomicShellEnumerator shell, 65 G4double incidentEnergy, 66 G4double incidentEnergy, 66 G4double mass = 0.0, 67 G4double mass = 0.0, 67 const G4Material* mat = 0) override; << 68 const G4Material* mat = 0); 68 69 69 std::vector<G4double> GetCrossSection(G4int 70 std::vector<G4double> GetCrossSection(G4int Z, 70 G4double incidentEnergy, 71 G4double incidentEnergy, 71 G4double mass = 0.0, 72 G4double mass = 0.0, 72 G4double deltaEnergy = 0.0, 73 G4double deltaEnergy = 0.0, 73 const G4Material* mat = 0) override; << 74 const G4Material* mat = 0); 74 75 75 std::vector<G4double> Probabilities(G4int Z, 76 std::vector<G4double> Probabilities(G4int Z, 76 G4double incidentEnergy, 77 G4double incidentEnergy, 77 G4double mass = 0.0, 78 G4double mass = 0.0, 78 G4double deltaEnergy = 0, 79 G4double deltaEnergy = 0, 79 const G4Material* mat = 0) overr << 80 const G4Material* mat = 0); >> 81 80 82 81 G4LivermoreIonisationCrossSection & operator << 82 G4LivermoreIonisationCrossSection(const G4Li << 83 << 84 private: 83 private: 85 G4VCrossSectionHandler* crossSectionHandler; << 84 86 const G4AtomicTransitionManager* transitionM << 85 G4LivermoreIonisationCrossSection & operator=(const G4LivermoreIonisationCrossSection &right); >> 86 G4LivermoreIonisationCrossSection(const G4LivermoreIonisationCrossSection&); 87 87 88 //Intrinsic energy limits of the model: cann 88 //Intrinsic energy limits of the model: cannot be extended by the parent process 89 G4double fLowEnergyLimit; 89 G4double fLowEnergyLimit; 90 G4double fHighEnergyLimit; 90 G4double fHighEnergyLimit; 91 91 >> 92 //G4bool isInitialised; >> 93 92 G4int verboseLevel; 94 G4int verboseLevel; >> 95 >> 96 G4VCrossSectionHandler* crossSectionHandler; >> 97 >> 98 const G4AtomicTransitionManager* transitionManager; >> 99 93 }; 100 }; 94 101 95 #endif 102 #endif 96 103 97 104