// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // $Id: G4ExcitationHandler.hh,v 1.13 2010-11-17 16:20:31 vnivanch Exp $ // GEANT4 tag $Name: not supported by cvs2svn $ // // Hadronic Process: Nuclear De-excitations // by V. Lara (May 1998) // // Modif (03 September 2008) by J. M. Quesada for external choice of inverse // cross section option // // Modif (30 June 1998) by V. Lara: // -Using G4ParticleTable and therefore G4IonTable // it can return all kind of fragments produced in // deexcitation // -It uses default algorithms for: // Evaporation: G4StatEvaporation // MultiFragmentation: G4DummyMF (a dummy one) // Fermi Breakup model: G4StatFermiBreakUp // // Modif (03 September 2008) by J. M. Quesada for external choice of inverse // cross section option // JMQ (06 September 2008) Also external choices have been added for // superimposed Coulomb barrier (if useSICBis set true, by default is false) #ifndef G4ExcitationHandler_h #define G4ExcitationHandler_h 1 #include "globals.hh" #include "G4Fragment.hh" #include "G4ReactionProductVector.hh" #include "G4IonTable.hh" class G4VMultiFragmentation; class G4VFermiBreakUp; class G4VEvaporation; class G4VEvaporationChannel; class G4IonTable; class G4FermiFragmentsPool; class G4ExcitationHandler { public: G4ExcitationHandler(); ~G4ExcitationHandler(); private: G4ExcitationHandler(const G4ExcitationHandler &right); const G4ExcitationHandler & operator=(const G4ExcitationHandler &right); G4bool operator==(const G4ExcitationHandler &right) const; G4bool operator!=(const G4ExcitationHandler &right) const; public: G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState) const; void SetEvaporation(G4VEvaporation *const value); void SetMultiFragmentation(G4VMultiFragmentation *const value); void SetFermiModel(G4VFermiBreakUp *const value); void SetPhotonEvaporation(G4VEvaporationChannel * const value); void SetMaxZForFermiBreakUp(G4int aZ); void SetMaxAForFermiBreakUp(G4int anA); void SetMaxAandZForFermiBreakUp(G4int anA,G4int aZ); void SetMinEForMultiFrag(G4double anE); // for inverse cross section choice inline void SetOPTxs(G4int opt); // for superimposed Coulomb Barrir for inverse cross sections inline void UseSICB(); private: void SetParameters(); G4VEvaporation* theEvaporation; G4VMultiFragmentation* theMultiFragmentation; G4VFermiBreakUp* theFermiModel; G4VEvaporationChannel* thePhotonEvaporation; G4FermiFragmentsPool* thePool; G4int maxZForFermiBreakUp; G4int maxAForFermiBreakUp; G4double minEForMultiFrag; G4double minExcitation; G4IonTable* theTableOfIons; G4bool MyOwnEvaporationClass; G4bool MyOwnPhotonEvaporationClass; G4int OPTxs; G4bool useSICB; }; inline void G4ExcitationHandler::SetOPTxs(G4int opt) { OPTxs = opt; SetParameters(); } inline void G4ExcitationHandler::UseSICB() { useSICB = true; SetParameters(); } #endif