G4VFermiFragment.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 // $Id$
00027 //
00028 // Hadronic Process: Nuclear De-excitations
00029 // by V. Lara (Nov 1998)
00030 //
00031 // Modifications:
00032 // 01.04.2011 General cleanup by V.Ivanchenko
00033 
00034 #ifndef G4VFermiFragment_h
00035 #define G4VFermiFragment_h 1
00036 
00037 #include "G4FragmentVector.hh"
00038 #include "globals.hh"
00039 
00040 class G4VFermiFragment 
00041 {
00042 public:
00043 
00044   G4VFermiFragment(G4int anA, G4int aZ, G4int Pol, G4double ExE);
00045 
00046   virtual ~G4VFermiFragment();
00047   
00048 private:
00049 
00050   G4VFermiFragment(const G4VFermiFragment &right);  
00051   const G4VFermiFragment & operator=(const G4VFermiFragment &right);
00052   G4bool operator==(const G4VFermiFragment &right) const;
00053   G4bool operator!=(const G4VFermiFragment &right) const;
00054   
00055 public:
00056 
00057   virtual G4FragmentVector * GetFragment(const G4LorentzVector & aMomentum) const = 0;
00058 
00059   inline G4int GetA(void) const 
00060   {
00061     return A;
00062   }
00063   
00064   inline G4int GetZ(void) const 
00065   {
00066     return Z;
00067   }
00068   
00069   inline G4int GetPolarization(void) const 
00070   {
00071     return Polarization;
00072   }
00073 
00074   inline G4double GetExcitationEnergy(void) const 
00075   {
00076     return ExcitEnergy;
00077   }
00078 
00079   inline G4double GetFragmentMass(void) const
00080   {
00081     return fragmentMass;
00082   }
00083 
00084   inline G4double GetTotalEnergy(void) const
00085   {
00086     return (GetFragmentMass() + GetExcitationEnergy());
00087   }
00088 
00089   inline G4bool IsStable() const
00090   {
00091     return isStable;
00092   }
00093 
00094 protected:
00095 
00096   G4bool isStable;
00097 
00098   G4int A;
00099 
00100   G4int Z;
00101 
00102   G4int Polarization;
00103 
00104   G4double ExcitEnergy;
00105 
00106   G4double fragmentMass;
00107 
00108 };
00109 
00110 
00111 #endif
00112 
00113 

Generated on Mon May 27 17:50:13 2013 for Geant4 by  doxygen 1.4.7