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