Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // >> 23 // $Id: G4eIonisationCrossSectionHandler.hh,v 1.2 2001/10/10 17:37:27 pia Exp $ >> 24 // GEANT4 tag $Name: geant4-04-00 $ 26 // 25 // 27 // ------------------------------------------- 26 // ------------------------------------------------------------------- 28 // 27 // 29 // GEANT4 Class file 28 // GEANT4 Class file 30 // 29 // 31 // 30 // 32 // File name: G4eIonisationCrossSectionHan 31 // File name: G4eIonisationCrossSectionHandler 33 // 32 // 34 // Author: V.Ivanchenko (Vladimir.Ivanc 33 // Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch) 35 // 34 // 36 // Creation date: 17 September 2001 35 // Creation date: 17 September 2001 37 // 36 // 38 // Modified: 37 // Modified: 39 // 10 Oct 2001 M.G. Pia Revision to im 38 // 10 Oct 2001 M.G. Pia Revision to improve code quality and consistency with design 40 // 28 Jan 2009 L.Pandola Added public meth << 39 // 41 // G4LowEnergyIonisa << 42 // ------------------------------------------- 40 // ------------------------------------------------------------------- >> 41 43 // Class description: 42 // Class description: 44 // Provides cross sections with cut for LowEne 43 // Provides cross sections with cut for LowEnergyIonisation >> 44 // Further documentation available from http://www.ge.infn.it/geant4/lowE >> 45 45 // ------------------------------------------- 46 // ------------------------------------------------------------------- 46 // 47 // 47 48 48 #ifndef G4EIONISATIONCROSSSECTIONHANDLER_HH 49 #ifndef G4EIONISATIONCROSSSECTIONHANDLER_HH 49 #define G4EIONISATIONCROSSSECTIONHANDLER_HH 1 << 50 #define GG4EIONISATIONCROSSSECTIONHANDLER_HH 1 50 51 51 #include "G4VCrossSectionHandler.hh" 52 #include "G4VCrossSectionHandler.hh" 52 #include "globals.hh" 53 #include "globals.hh" 53 54 54 class G4VEnergySpectrum; 55 class G4VEnergySpectrum; 55 class G4DataVector; 56 class G4DataVector; 56 class G4VEMDataSet; 57 class G4VEMDataSet; 57 class G4VDataSetAlgorithm; 58 class G4VDataSetAlgorithm; 58 59 59 class G4eIonisationCrossSectionHandler : publi 60 class G4eIonisationCrossSectionHandler : public G4VCrossSectionHandler 60 { 61 { 61 public: 62 public: 62 explicit G4eIonisationCrossSectionHandler(co << 63 >> 64 G4eIonisationCrossSectionHandler(const G4VEnergySpectrum* spec, 63 G4VDa 65 G4VDataSetAlgorithm* alg, 64 G4dou 66 G4double emin, 65 G4dou 67 G4double emax, 66 G4int 68 G4int nbin); 67 69 68 ~G4eIonisationCrossSectionHandler(); 70 ~G4eIonisationCrossSectionHandler(); 69 << 71 70 G4double GetCrossSectionAboveThresholdForEle << 71 G4double cutEnergy, << 72 G4int Z); << 73 G4eIonisationCrossSectionHandler& operator=( << 74 G4eIonisationCrossSectionHandler(const G4eIo << 75 << 76 protected: 72 protected: 77 73 78 std::vector<G4VEMDataSet*>* BuildCrossSectio << 74 G4std::vector<G4VEMDataSet*>* BuildCrossSectionsForMaterials( 79 const G4DataVe 75 const G4DataVector& energyVector, 80 const G4DataVector* energyCuts) overri << 76 const G4DataVector* energyCuts); >> 77 81 78 82 private: 79 private: >> 80 83 const G4VEnergySpectrum* theParam; 81 const G4VEnergySpectrum* theParam; >> 82 84 G4VDataSetAlgorithm* interp; 83 G4VDataSetAlgorithm* interp; 85 G4int verbose; << 86 }; 84 }; 87 85 88 #endif 86 #endif 89 87 90 88