G4VEvaporation.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 interface
00029 //
00030 // by V. Lara (Oct 1998) written from G4Evaporation.hh (May 1998)
00031 //
00032 // Modifications:
00033 // 03 September 2008 by J. M. Quesada for external choice of inverse 
00034 //    cross section option
00035 // 06 September 2008 (JMQ) Also external choices have been added for 
00036 //    superimposed Coulomb barrier (if useSICBis set true, by default is false) 
00037 // 23 January 2012 by V.Ivanchenko added pointer of G4VPhotonEvaporation to 
00038 //    the constructor
00039 // 
00040 
00041 #ifndef G4VEvaporation_h
00042 #define G4VEvaporation_h 1
00043 
00044 #include "globals.hh"
00045 #include "G4Fragment.hh"
00046 
00047 class G4VEvaporationChannel;
00048 
00049 class G4VEvaporation 
00050 {
00051 public:
00052   G4VEvaporation();
00053   virtual ~G4VEvaporation(); 
00054 
00055 private:  
00056   G4VEvaporation(const G4VEvaporation &right);
00057   const G4VEvaporation & operator=(const G4VEvaporation &right);
00058   G4bool operator==(const G4VEvaporation &right) const;
00059   G4bool operator!=(const G4VEvaporation &right) const;
00060   
00061 public:
00062 
00063   virtual G4FragmentVector * BreakItUp(const G4Fragment &theNucleus) = 0;
00064 
00065   virtual void Initialise();
00066 
00067   virtual void SetPhotonEvaporation(G4VEvaporationChannel* ptr);
00068 
00069   inline G4VEvaporationChannel* GetPhotonEvaporation();
00070 
00071   // for inverse cross section choice
00072   inline void SetOPTxs(G4int opt) { OPTxs = opt;} 
00073   // for superimposed Coulomb Barrier for inverse cross sections        
00074   inline void UseSICB(G4bool use) { useSICB = use; }    
00075 
00076 protected:
00077 
00078   G4VEvaporationChannel* thePhotonEvaporation;
00079 
00080   G4int OPTxs;
00081   G4bool useSICB;
00082 
00083 };
00084 
00085 inline G4VEvaporationChannel* G4VEvaporation::GetPhotonEvaporation()
00086 {
00087   return thePhotonEvaporation;
00088 }
00089 
00090 #endif

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