Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:21

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 // Hadronic Process: Nuclear De-excitations
0028 // by V. Lara (Nov 1998)
0029 //
0030 // Modifications:
0031 // 01.04.2011 General cleanup by V.Ivanchenko
0032 // 01.07.2023 General cleanup by V.Ivanchenko
0033 
0034 #ifndef G4VFermiBreakUp_h
0035 #define G4VFermiBreakUp_h 1
0036 
0037 #include "globals.hh"
0038 #include "G4FragmentVector.hh"
0039 
0040 class G4VFermiBreakUp 
0041 {
0042 public:
0043 
0044   G4VFermiBreakUp() {};
0045   virtual ~G4VFermiBreakUp() = default;
0046 
0047   virtual void Initialise() = 0;
0048 
0049   // check if the Fermi Break Up model can be used 
0050   // mass is an effective mass of a fragment
0051   virtual G4bool IsApplicable(G4int Z, G4int A, G4double eexc) const = 0;
0052 
0053   // vector of products is added to the provided vector
0054   // if no decay channel is found out for the primary fragment 
0055   // then it is added to the results vector
0056   // if primary decays then it is deleted 
0057   virtual void BreakFragment(G4FragmentVector* results, 
0058                  G4Fragment* theNucleus) = 0;
0059 
0060   G4VFermiBreakUp(const G4VFermiBreakUp &right) = delete;
0061   const G4VFermiBreakUp & operator=(const G4VFermiBreakUp &right) = delete;
0062   G4bool operator==(const G4VFermiBreakUp &right) const = delete;
0063   G4bool operator!=(const G4VFermiBreakUp &right) const = delete;
0064 
0065   void SetVerbose(G4int val) { verbose = val; }
0066 
0067 protected:
0068 
0069   G4int verbose{0};
0070 };
0071 
0072 #endif
0073 
0074