Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4FissionLibrary.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 // This software was developed by Lawrence Livermore National Laboratory.
0028 //
0029 // Redistribution and use in source and binary forms, with or without
0030 // modification, are permitted provided that the following conditions are met:
0031 //
0032 // 1. Redistributions of source code must retain the above copyright notice,
0033 //   this list of conditions and the following disclaimer.
0034 // 2. Redistributions in binary form must reproduce the above copyright notice,
0035 //   this list of conditions and the following disclaimer in the documentation
0036 //   and/or other materials provided with the distribution.
0037 // 3. The name of the author may not be used to endorse or promote products
0038 //   derived from this software without specific prior written permission.
0039 //
0040 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
0041 // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
0042 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
0043 // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
0044 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
0045 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
0046 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
0047 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
0048 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
0049 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0050 //
0051 // Copyright (c) 2006 The Regents of the University of California.
0052 // All rights reserved.
0053 // UCRL-CODE-224807
0054 //
0055 //
0056 
0057 #ifndef G4FissionLibrary_h
0058 #define G4FissionLibrary_h 1
0059 
0060 #include "globals.hh"
0061 #include "G4HadProjectile.hh"
0062 #include "G4DynamicParticleVector.hh"
0063 #include "G4HadFinalState.hh"
0064 #include "G4ParticleHPFinalState.hh"
0065 #include "G4ParticleHPNames.hh"
0066 #include "G4ParticleHPParticleYield.hh"
0067 #include "G4ParticleHPFissionERelease.hh"
0068 #include "G4ParticleHPEnergyDistribution.hh"
0069 #include "G4ParticleHPPhotonDist.hh"
0070 #include "G4ParticleHPAngular.hh"
0071 #include "G4Nucleus.hh"
0072 #include "Randomize.hh"
0073 #include "G4LLNLFission.hh"
0074 #include "G4fissionEvent.hh"
0075 
0076 class G4FissionLibrary : public G4ParticleHPFinalState
0077 {
0078   public:
0079   
0080   G4FissionLibrary();
0081   ~G4FissionLibrary();
0082 
0083   //void Init (G4double A, G4double Z, G4String & dirName, G4String &);
0084   //void Init (G4double A, G4double Z, G4int M, G4String & dirName, G4String &);
0085   void Init (G4double A, G4double Z, G4int M, G4String & dirName, G4String &, G4ParticleDefinition* );
0086   G4HadFinalState * ApplyYourself(const G4HadProjectile & theTrack);
0087   G4ParticleHPFinalState * New() ;
0088 
0089   private:
0090   G4fissionEvent* fe;
0091   G4int theIsotope; // used to call G4fissionEvent
0092   G4double targetMass;
0093   void SampleMult(const G4HadProjectile & theTrack, G4int* nPrompt,
0094                                    G4int* gPrompt, G4double eKinetic);
0095   inline G4ParticleHPFissionERelease * GetEnergyRelease() {
0096     return &theEnergyRelease;
0097   }
0098   G4ParticleHPParticleYield theFinalStateNeutrons;
0099   G4ParticleHPEnergyDistribution thePromptNeutronEnDis;
0100   G4ParticleHPEnergyDistribution theDelayedNeutronEnDis;
0101   G4ParticleHPAngular theNeutronAngularDis;
0102 
0103   G4ParticleHPPhotonDist theFinalStatePhotons;
0104   G4ParticleHPFissionERelease theEnergyRelease;
0105 
0106   G4int secID;  // Creator model ID for the secondaries created by this model
0107 };
0108 #endif