G4NeutronHPElementData.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 //
00027 // $Id$
00028 //
00029  // Hadronic Process: Very Low Energy Neutron X-Sections
00030  // original by H.P. Wellisch, TRIUMF, 14-Feb-97
00031  // Builds and has the Cross-section data for one material.
00032 //
00033 // 080520 Delete unnecessary dependencies by T. Koi
00034  
00035 #ifndef G4NeutronHPElementData_h
00036 #define G4NeutronHPElementData_h 1
00037 #include "globals.hh"
00038 #include "G4NeutronHPIsoData.hh"
00039 #include "G4NeutronHPVector.hh"
00040 #include "G4Material.hh"
00041 #include "G4HadronCrossSections.hh"
00042 #include "G4ReactionProduct.hh"
00043 #include "G4Nucleus.hh"
00044 //#include "G4NeutronInelasticProcess.hh"
00045 //#include "G4HadronFissionProcess.hh"
00046 //#include "G4HadronCaptureProcess.hh"
00047 #include "G4NeutronHPElasticData.hh"
00048 #include "G4NeutronHPFissionData.hh"
00049 #include "G4NeutronHPCaptureData.hh"
00050 #include "G4NeutronHPInelasticData.hh"
00051 #include "G4StableIsotopes.hh"
00052 
00053 class G4NeutronHPElementData : public G4HadronCrossSections
00054 {
00055 public:
00056 
00057   G4NeutronHPElementData();
00058   
00059   ~G4NeutronHPElementData();
00060   
00061   void Init(G4Element * theElement);
00062   
00063   //void UpdateData(G4int A, G4int Z, G4int index, G4double abundance);
00064   void UpdateData(G4int A, G4int Z, G4int index, G4double abundance) { G4int M=0; UpdateData( A, Z, M, index, abundance); };
00065   void UpdateData(G4int A, G4int Z, G4int M, G4int index, G4double abundance);
00066   
00067   void Harmonise(G4NeutronHPVector *& theStore, G4NeutronHPVector * theNew);
00068   
00069   inline G4NeutronHPVector * GetData(G4NeutronHPFissionData * )
00070     {return theFissionData;}
00071   inline G4NeutronHPVector * GetData(G4NeutronHPCaptureData * )
00072     {return theCaptureData;}
00073   inline G4NeutronHPVector * GetData(G4NeutronHPElasticData * )
00074     {return theElasticData;}
00075   inline G4NeutronHPVector * GetData(G4NeutronHPInelasticData * )
00076     {return theInelasticData;}
00077 
00078   G4NeutronHPVector * MakePhysicsVector(G4Element * theElement,
00079                                       G4ParticleDefinition * theP,
00080                                       G4NeutronHPFissionData* theSet);
00081 
00082   G4NeutronHPVector * MakePhysicsVector(G4Element * theElement,
00083                                       G4ParticleDefinition * theP,
00084                                       G4NeutronHPCaptureData * theSet);
00085 
00086   G4NeutronHPVector * MakePhysicsVector(G4Element * theElement,
00087                                       G4ParticleDefinition * theP,
00088                                       G4NeutronHPElasticData * theSet);
00089 
00090   G4NeutronHPVector * MakePhysicsVector(G4Element * theElement,
00091                                       G4ParticleDefinition * theP,
00092                                       G4NeutronHPInelasticData * theSet);
00093 
00094 private:
00095 
00096   G4NeutronHPVector * theFissionData;
00097   G4NeutronHPVector * theCaptureData;
00098   G4NeutronHPVector * theElasticData;
00099   G4NeutronHPVector * theInelasticData;
00100   G4double precision;
00101   
00102   G4NeutronHPVector * theBuffer;
00103   
00104   G4NeutronHPIsoData * theIsotopeWiseData;
00105 
00106   G4StableIsotopes theStableOnes;
00107   
00108   G4String filename;
00109   
00110 };
00111 
00112 #endif

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