Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-26 08:57:16

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 //
0028 // Hadronic Process: Nuclear De-excitations
0029 // by V. Lara
0030 
0031 
0032 #ifndef G4StatMFMicroManager_h
0033 #define G4StatMFMicroManager_h 1
0034 
0035 #include "G4StatMFMicroPartition.hh"
0036 #include "G4StatMFParameters.hh"
0037 #include "G4StatMFChannel.hh"
0038 
0039 #include "G4Fragment.hh"
0040 #include "Randomize.hh"
0041 
0042 
0043 class G4StatMFMicroManager {
0044 
0045 public:
0046 
0047   // G4StatMFMicroManager class must be initialized with a G4Fragment, multiplicity,
0048   // free internal energy and the entropy of the compund nucleus.
0049   G4StatMFMicroManager(const G4Fragment& theFragment, G4int multiplicity,
0050                G4double FreeIntE, G4double SCompNuc);
0051 
0052   ~G4StatMFMicroManager();
0053 
0054   // copy constructor
0055   G4StatMFMicroManager(const G4StatMFMicroManager& right) = delete;
0056   G4StatMFMicroManager & operator=(const G4StatMFMicroManager& right) = delete;
0057   G4bool operator==(const G4StatMFMicroManager & right) const = delete;
0058   G4bool operator!=(const G4StatMFMicroManager & right) const = delete;
0059 
0060   // Choice of fragment atomic numbers and charges.
0061   G4StatMFChannel* ChooseChannel(G4int A0, G4int Z0, G4double MeanT);
0062     
0063   G4double GetProbability(void) const {return _WW;}
0064 
0065   void Normalize(G4double Norm);
0066     
0067   G4double GetMeanMultiplicity(void) const {return _MeanMultiplicity; }
0068 
0069   G4double GetMeanTemperature(void) const {return _MeanTemperature; }
0070 
0071   G4double GetMeanEntropy(void) const {return _MeanEntropy; }
0072 
0073 private:
0074 
0075   // Initailization method
0076   void Initialize(const G4Fragment & theFragment, G4int m,
0077           G4double FreeIntE, G4double SCompNuc);
0078 
0079   G4bool MakePartition(G4int k, G4int* ANumbers); 
0080                                 
0081   // Partitions vector
0082   std::vector<G4StatMFMicroPartition*> _Partition;
0083 
0084   G4double _WW;
0085   G4double _Normalization;
0086   G4double _MeanMultiplicity;
0087   G4double _MeanTemperature;
0088   G4double _MeanEntropy;
0089 };
0090 
0091 #endif
0092 
0093 
0094 
0095 
0096 
0097