G4VEvaporationChannel.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 (Oct 1998)
00030 //
00031 // Modified:
00032 // 03.09.2008 (J.M.Quesada) for external choice of inverse cross section option
00033 // 06.09.2008 (J.M.Quesada) external choices have been added for superimposed 
00034 //                          Coulomb barrier (if useSICB is set true, by default is false) 
00035 // 24.04.2010 (V.Ivanchenko) moved constructor and destructor to source; added two
00036 //                          new virtual methods EmittedFragment(s) to allow more optimal
00037 //                          work with G4Fragment objects
00038 //                          
00039 
00040 #ifndef G4VEvaporationChannel_h
00041 #define G4VEvaporationChannel_h 1
00042 
00043 #include "globals.hh"
00044 #include "G4Fragment.hh"
00045 
00046 class G4VEvaporationChannel
00047 {
00048 public:
00049 
00050   G4VEvaporationChannel(const G4String & aName = "Anonymous");
00051   virtual ~G4VEvaporationChannel();
00052 
00053   // return emitted fragment, initial fragment is modified
00054   // and not deleted
00055   virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
00056 
00057   // return vector of emitted fragments, initial fragment is modified
00058   // but not included in this vector
00059   virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
00060 
00061   // old method initial fragment is not modified, its copy included 
00062   // in the list of emitted fragments
00063   virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus) = 0;
00064 
00065   virtual G4double GetEmissionProbability(G4Fragment* theNucleus) = 0;
00066 
00067   inline G4String GetName() const {return Name;}
00068   inline void SetName(const G4String & aName) { Name = aName;}
00069 
00070   // for cross section selection
00071   inline void SetOPTxs(G4int opt) { OPTxs = opt; }
00072   // for superimposed Coulomb Barrier for inverse cross sections        
00073   inline void UseSICB(G4bool use) { useSICB = use; }    
00074 
00075 protected:
00076 
00077   G4int OPTxs;
00078   G4bool useSICB;
00079 
00080 private:
00081   G4String Name;
00082 
00083   G4VEvaporationChannel(const G4VEvaporationChannel & right);
00084   const G4VEvaporationChannel & operator=(const G4VEvaporationChannel & right);
00085   G4bool operator==(const G4VEvaporationChannel & right) const;
00086   G4bool operator!=(const G4VEvaporationChannel & right) const;
00087 
00088 };
00089 
00090 
00091 #endif

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