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