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 // $Id: G4RDCrossSectionHandler.hh,v 1.9 2006/06/29 19:33:10 gunter Exp $ >> 28 // GEANT4 tag $Name: geant4-09-01-ref-00 $ 27 // 29 // 28 // Author: Maria Grazia Pia (Maria.Grazia.Pia@ 30 // Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch) 29 // 31 // 30 // History: 32 // History: 31 // ----------- 33 // ----------- 32 // 1 Aug 2001 MGP Created 34 // 1 Aug 2001 MGP Created 33 // 35 // 34 // ------------------------------------------- 36 // ------------------------------------------------------------------- 35 37 36 // Class description: 38 // Class description: 37 // Low Energy Electromagnetic Physics 39 // Low Energy Electromagnetic Physics 38 // Data set manager for an electromagnetic phy 40 // Data set manager for an electromagnetic physics process 39 // Further documentation available from http:/ 41 // Further documentation available from http://www.ge.infn.it/geant4/lowE 40 42 41 // ------------------------------------------- 43 // ------------------------------------------------------------------- 42 44 43 #ifndef G4RDCROSSSECTIONHANDLER_HH 45 #ifndef G4RDCROSSSECTIONHANDLER_HH 44 #define G4RDCROSSSECTIONHANDLER_HH 1 46 #define G4RDCROSSSECTIONHANDLER_HH 1 45 47 46 #include "globals.hh" 48 #include "globals.hh" 47 #include "G4DataVector.hh" 49 #include "G4DataVector.hh" 48 #include <map> 50 #include <map> 49 #include <vector> 51 #include <vector> 50 #include "G4RDVCrossSectionHandler.hh" 52 #include "G4RDVCrossSectionHandler.hh" 51 53 52 class G4RDVDataSetAlgorithm; 54 class G4RDVDataSetAlgorithm; 53 class G4RDVEMDataSet; 55 class G4RDVEMDataSet; 54 class G4Material; 56 class G4Material; 55 class G4Element; 57 class G4Element; 56 58 57 class G4RDCrossSectionHandler : public G4RDVCr 59 class G4RDCrossSectionHandler : public G4RDVCrossSectionHandler { 58 60 59 public: 61 public: 60 62 61 G4RDCrossSectionHandler(); 63 G4RDCrossSectionHandler(); 62 64 63 ~G4RDCrossSectionHandler(); 65 ~G4RDCrossSectionHandler(); 64 66 65 67 66 protected: 68 protected: 67 69 68 virtual std::vector<G4RDVEMDataSet*>* BuildC 70 virtual std::vector<G4RDVEMDataSet*>* BuildCrossSectionsForMaterials(const G4DataVector& energyVector, 69 const G4DataVector* ene 71 const G4DataVector* energyCuts = 0); 70 72 71 private: 73 private: 72 74 73 // Hide copy constructor and assignment oper 75 // Hide copy constructor and assignment operator 74 G4RDCrossSectionHandler(const G4RDCrossSecti 76 G4RDCrossSectionHandler(const G4RDCrossSectionHandler&); 75 G4RDCrossSectionHandler & operator=(const G4 77 G4RDCrossSectionHandler & operator=(const G4RDCrossSectionHandler &right); 76 78 77 }; 79 }; 78 80 79 #endif 81 #endif 80 82 81 83 82 84 83 85 84 86 85 87 86 88 87 89 88 90 89 91 90 92 91 93