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: G4eCrossSectionHandler.cc,v 1.21 2009-09-27 10:47:42 sincerti Exp $ >> 27 // GEANT4 tag $Name: not supported by cvs2svn $ 26 // 28 // 27 // Author: Vladimir Ivanchenko 29 // Author: Vladimir Ivanchenko 28 // 30 // 29 // History: 31 // History: 30 // ----------- 32 // ----------- 31 // 1 Jun 2011 V.Ivanchenko Created 33 // 1 Jun 2011 V.Ivanchenko Created 32 // 34 // 33 // ------------------------------------------- 35 // ------------------------------------------------------------------- 34 36 35 // Class description: 37 // Class description: 36 // Management of electron ionisation cross sec 38 // Management of electron ionisation cross sections per shell 37 39 38 // ------------------------------------------- 40 // ------------------------------------------------------------------- >> 41 39 #ifndef G4ECROSSSECTIONHANDLER_HH 42 #ifndef G4ECROSSSECTIONHANDLER_HH 40 #define G4ECROSSSECTIONHANDLER_HH 1 43 #define G4ECROSSSECTIONHANDLER_HH 1 41 44 42 #include "G4VCrossSectionHandler.hh" 45 #include "G4VCrossSectionHandler.hh" 43 #include "globals.hh" 46 #include "globals.hh" 44 #include "G4VEMDataSet.hh" 47 #include "G4VEMDataSet.hh" 45 #include <vector> 48 #include <vector> 46 49 47 class G4VDataSetAlgorithm; 50 class G4VDataSetAlgorithm; 48 51 >> 52 49 class G4eCrossSectionHandler : public G4VCross 53 class G4eCrossSectionHandler : public G4VCrossSectionHandler 50 { 54 { >> 55 51 public: 56 public: 52 explicit G4eCrossSectionHandler(G4VDataSetAl << 57 >> 58 G4eCrossSectionHandler(G4VDataSetAlgorithm* alg, 53 G4double emin, G4double emax, G4int nbi 59 G4double emin, G4double emax, G4int nbin); 54 60 55 virtual ~G4eCrossSectionHandler(); 61 virtual ~G4eCrossSectionHandler(); 56 G4eCrossSectionHandler(const G4eCrossSection << 62 57 G4eCrossSectionHandler & operator=(const G4e << 63 protected: 58 << 64 59 protected: << 65 virtual std::vector<G4VEMDataSet*>* 60 std::vector<G4VEMDataSet*>* << 61 BuildCrossSectionsForMaterials(const G4DataV 66 BuildCrossSectionsForMaterials(const G4DataVector& energyVector, 62 const G4DataVector* energyCuts = 0) o << 67 const G4DataVector* energyCuts = 0); >> 68 >> 69 private: >> 70 >> 71 // Hide copy constructor and assignment operator >> 72 G4eCrossSectionHandler(const G4eCrossSectionHandler&); >> 73 G4eCrossSectionHandler & operator=(const G4eCrossSectionHandler &right); >> 74 63 }; 75 }; 64 76 65 #endif 77 #endif 66 78 67 79 68 80 69 81 70 82 71 83 72 84 73 85 74 86 75 87 76 88 77 89