source: trunk/source/processes/hadronic/models/de_excitation/multifragmentation/include/G4StatMFMicroManager.hh

Last change on this file was 1340, checked in by garnier, 14 years ago

update ti head

File size: 3.9 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4StatMFMicroManager.hh,v 1.3 2006/06/29 20:24:29 gunter Exp $
28// GEANT4 tag $Name: geant4-09-03-ref-09 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara
32
33
34#ifndef G4StatMFMicroManager_h
35#define G4StatMFMicroManager_h 1
36
37#include "G4StatMFMicroPartition.hh"
38#include "G4StatMFParameters.hh"
39#include "G4StatMFChannel.hh"
40
41#include "G4Fragment.hh"
42#include "Randomize.hh"
43
44
45class G4StatMFMicroManager {
46
47public:
48
49    // G4StatMFMicroManager class must be initialized with a G4Fragment, multiplicity,
50    // free internal energy and the entropy of the compund nucleus.
51    G4StatMFMicroManager(const G4Fragment & theFragment, const G4int multiplicity,
52                         const G4double FreeIntE, const G4double SCompNuc);
53
54    // destructor
55    ~G4StatMFMicroManager();
56
57private:
58    // default constructor
59    G4StatMFMicroManager() {};
60
61
62    // copy constructor
63    G4StatMFMicroManager(const G4StatMFMicroManager &right);
64
65
66    // operators
67    G4StatMFMicroManager & operator=(const G4StatMFMicroManager & right);
68
69public:
70    G4bool operator==(const G4StatMFMicroManager & right) const;
71    G4bool operator!=(const G4StatMFMicroManager & right) const;
72
73
74public:
75
76    // Choice of fragment atomic numbers and charges.
77    G4StatMFChannel * ChooseChannel(const G4double A0, const G4double Z0, const G4double MeanT);
78       
79    G4double GetProbability(void) const {return _WW;}
80
81    void Normalize(const G4double Norm);
82       
83    G4double GetMeanMultiplicity(void) const {return _MeanMultiplicity; }
84
85    G4double GetMeanTemperature(void) const {return _MeanTemperature; }
86
87    G4double GetMeanEntropy(void) const {return _MeanEntropy; }
88
89private:
90
91    // Initailization method
92    void Initialize(const G4Fragment & theFragment, const G4int m,
93                    const G4double FreeIntE, const G4double SCompNuc);
94
95    G4bool MakePartition(const G4int k, G4int * ANumbers); 
96                                                               
97
98
99       
100// Data members
101private:
102
103
104    // Partitions vector
105    std::vector<G4StatMFMicroPartition*> _Partition;
106       
107
108    // Statistical weight
109    G4double _WW;
110
111    G4double _Normalization;
112       
113    G4double _MeanMultiplicity;
114
115    G4double _MeanTemperature;
116       
117    G4double _MeanEntropy;
118
119  struct DeleteFragment
120  {
121    template<typename T>
122    void operator()(const T* ptr) const
123    {
124      delete ptr;
125    }
126  };
127 
128};
129
130#endif
131
132
133
134
135
136
Note: See TracBrowser for help on using the repository browser.