G4NeutronHPThermalScatteringNames.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 #ifndef G4NeutronHPThermalScatteringNames_h
00027 #define G4NeutronHPThermalScatteringNames_h 1
00028 
00029 // Class Description
00030 // Name list of Elements for a high precision (based on evaluated data
00031 // libraries) description of themal neutron scattering below 4 eV; 
00032 // Based on Thermal neutron scattering files 
00033 // from the evaluated nuclear data files ENDF/B-VI, Release2
00034 // To be used in your physics list in case you need this physics.
00035 // In this case you want to register an object of this class with 
00036 // the corresponding process.
00037 // Class Description - End
00038 
00039 // 15-Nov-06 First implementation is done by T. Koi (SLAC/SCCS)
00040 
00041 #include "globals.hh"
00042 #include <map> 
00043 
00044 class G4NeutronHPThermalScatteringNames 
00045 {
00046    public:
00047    
00048       G4NeutronHPThermalScatteringNames();
00049    
00050       ~G4NeutronHPThermalScatteringNames();
00051 
00052       G4bool IsThisThermalElement ( G4String ); 
00053       G4bool IsThisThermalElement ( G4String , G4String ); 
00054       size_t GetSize() { return names.size(); };
00055       G4String GetTS_NDL_Name( G4String nameG4Element ) { return  names.find ( nameG4Element )->second; };
00056       G4String GetTS_NDL_Name( G4String material , G4String element ) { return  nist_names.find ( std::pair< G4String , G4String > ( material , element ) )->second; };
00057       //G4String GetTS_G4E_Name( G4int i ) { return  names[i]->first; };
00058    
00059    private:
00060 
00061 //              G4Element  NDL name 
00062       std::map< G4String , G4String > names;
00063 
00064 //                         G4Material G4Element    NDL name
00065       std::map< std::pair < G4String , G4String > , G4String > nist_names;
00066 
00067 };
00068 
00069 #endif

Generated on Mon May 27 17:49:04 2013 for Geant4 by  doxygen 1.4.7