G4FissionLibrary.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 // This software was developed by Lawrence Livermore National Laboratory.
00028 //
00029 // Redistribution and use in source and binary forms, with or without
00030 // modification, are permitted provided that the following conditions are met:
00031 //
00032 // 1. Redistributions of source code must retain the above copyright notice,
00033 //   this list of conditions and the following disclaimer.
00034 // 2. Redistributions in binary form must reproduce the above copyright notice,
00035 //   this list of conditions and the following disclaimer in the documentation
00036 //   and/or other materials provided with the distribution.
00037 // 3. The name of the author may not be used to endorse or promote products
00038 //   derived from this software without specific prior written permission.
00039 //
00040 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
00041 // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00042 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
00043 // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00044 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00045 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
00046 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
00047 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00048 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
00049 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00050 //
00051 // Copyright (c) 2006 The Regents of the University of California.
00052 // All rights reserved.
00053 // UCRL-CODE-224807
00054 //
00055 // $Id: G4FissionLibrary.hh 69860 2013-05-16 14:39:02Z gcosmo $
00056 //
00057 
00058 #ifndef G4FissionLibrary_h
00059 #define G4FissionLibrary_h 1
00060 
00061 #include "globals.hh"
00062 #include "G4HadProjectile.hh"
00063 #include "G4DynamicParticleVector.hh"
00064 #include "G4HadFinalState.hh"
00065 #include "G4NeutronHPFinalState.hh"
00066 #include "G4NeutronHPNames.hh"
00067 #include "G4NeutronHPNeutronYield.hh"
00068 #include "G4NeutronHPFissionERelease.hh"
00069 #include "G4NeutronHPEnergyDistribution.hh"
00070 #include "G4NeutronHPPhotonDist.hh"
00071 #include "G4NeutronHPAngular.hh"
00072 #include "G4Nucleus.hh"
00073 #include "Randomize.hh"
00074 #include "G4LLNLFission.hh"
00075 
00076 class G4FissionLibrary : public G4NeutronHPFinalState
00077 {
00078   public:
00079   
00080   G4FissionLibrary();
00081   ~G4FissionLibrary();
00082 
00083   //void Init (G4double A, G4double Z, G4String & dirName, G4String &);
00084   void Init (G4double A, G4double Z, G4int M, G4String & dirName, G4String &);
00085   G4HadFinalState * ApplyYourself(const G4HadProjectile & theTrack);
00086   G4NeutronHPFinalState * New() ;
00087 
00088   private:
00089   G4int theIsotope; // used to call genfissevt_
00090   G4double targetMass;
00091   void SampleMult(const G4HadProjectile & theTrack, G4int* nPrompt,
00092                                    G4int* gPrompt, G4double eKinetic);
00093   inline G4NeutronHPFissionERelease * GetEnergyRelease() {
00094     return &theEnergyRelease;
00095   }
00096   G4NeutronHPNeutronYield theFinalStateNeutrons;
00097   G4NeutronHPEnergyDistribution thePromptNeutronEnDis;
00098   G4NeutronHPEnergyDistribution theDelayedNeutronEnDis;
00099   G4NeutronHPAngular theNeutronAngularDis;
00100 
00101   G4NeutronHPPhotonDist theFinalStatePhotons;
00102   G4NeutronHPFissionERelease theEnergyRelease;
00103 };
00104 #endif

Generated on Mon May 27 17:48:16 2013 for Geant4 by  doxygen 1.4.7