G4StatMFMacroTemperature.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 //
00027 // $Id$
00028 //
00029 // Hadronic Process: Nuclear De-excitations
00030 // by V. Lara
00031 
00032 #ifndef G4StatMFMacroTemperature_h
00033 #define G4StatMFMacroTemperature_h 1
00034 
00035 #include "G4StatMFParameters.hh"
00036 #include "G4VStatMFMacroCluster.hh"
00037 #include "G4StatMFMacroChemicalPotential.hh"
00038 #include "G4Solver.hh"
00039 
00040 
00041 
00042 class G4StatMFMacroTemperature {
00043 
00044 public:
00045 
00046     G4StatMFMacroTemperature(const G4double anA, const G4double aZ, 
00047                              const G4double ExEnergy, const G4double FreeE0, 
00048                              const G4double kappa, 
00049                              std::vector<G4VStatMFMacroCluster*> * ClusterVector);
00050         
00051     ~G4StatMFMacroTemperature();
00052    
00053     G4double operator()(const G4double T)
00054         { return (_ExEnergy - this->FragsExcitEnergy(T))/_ExEnergy; }   
00055 
00056 private:
00057 
00058     // Default constructor
00059     G4StatMFMacroTemperature();
00060 
00061     // copy constructor
00062     G4StatMFMacroTemperature(const G4StatMFMacroTemperature &) {};
00063 
00064 
00065     // operators
00066     G4StatMFMacroTemperature & operator=(const G4StatMFMacroTemperature & right);
00067     G4bool operator==(const G4StatMFMacroTemperature & right) const;
00068     G4bool operator!=(const G4StatMFMacroTemperature & right) const;
00069 
00070 public:
00071 
00072     inline G4double GetMeanMultiplicity(void) const {return _MeanMultiplicity;}
00073         
00074     inline G4double GetChemicalPotentialMu(void) const {return _ChemPotentialMu;}
00075 
00076     inline G4double GetChemicalPotentialNu(void) const {return _ChemPotentialNu;}
00077 
00078     inline G4double GetTemperature(void) const {return _MeanTemperature;}
00079 
00080     inline G4double GetEntropy(void) const {return _MeanEntropy;}
00081 
00082     G4double CalcTemperature(void);
00083 
00084 private:
00085         
00086     G4double FragsExcitEnergy(const G4double T);
00087 
00088     void CalcChemicalPotentialNu(const G4double T);
00089 
00090 private:
00091 
00092     G4double theA;
00093 
00094     G4double theZ;
00095 
00096     G4double _ExEnergy;
00097         
00098     G4double _FreeInternalE0;
00099 
00100     G4double _Kappa;
00101 
00102     G4double _MeanMultiplicity;
00103 
00104     G4double _MeanTemperature;
00105         
00106     G4double _ChemPotentialMu;
00107         
00108     G4double _ChemPotentialNu;
00109         
00110     G4double _MeanEntropy;
00111         
00112     std::vector<G4VStatMFMacroCluster*> * _theClusters; 
00113 
00114 
00115 };
00116 #endif

Generated on Mon May 27 17:49:54 2013 for Geant4 by  doxygen 1.4.7