Geant4 Cross Reference |
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 // 28 // Hadronic Process: Nuclear De-excitations 29 // by V. Lara 30 31 32 #ifndef G4VStatMFEnsemble_h 33 #define G4VStatMFEnsemble_h 1 34 35 #include "G4StatMFParameters.hh" 36 #include "G4StatMFChannel.hh" 37 38 class G4VStatMFEnsemble { 39 40 public: 41 // Default Constructor 42 G4VStatMFEnsemble() : 43 __FreeInternalE0(0.0), 44 __MeanTemperature(0.0), 45 __MeanEntropy(0.0), 46 __MeanMultiplicity(0.0) 47 {}; 48 49 50 // Destructor 51 virtual ~G4VStatMFEnsemble() {}; 52 53 54 private: 55 56 // Copy constructor 57 G4VStatMFEnsemble(const G4VStatMFEnsemble & right); 58 59 // operators 60 G4VStatMFEnsemble & operator=(const G4VStatMFEnsemble & right); 61 G4bool operator==(const G4VStatMFEnsemble & right) const; 62 G4bool operator!=(const G4VStatMFEnsemble & right) const; 63 64 public: 65 66 virtual G4StatMFChannel * ChooseAandZ(const G4Fragment & aFragment) = 0; 67 68 G4double GetMeanMultiplicity(void) const {return __MeanMultiplicity;} 69 70 G4double GetMeanTemperature(void) const {return __MeanTemperature;} 71 72 protected: 73 74 // Free internal energy at temperature T = 0 75 G4double __FreeInternalE0; 76 77 // Mean temperature 78 G4double __MeanTemperature; 79 80 // Mean Entropy 81 G4double __MeanEntropy; 82 83 // Mean Multiplicity 84 G4double __MeanMultiplicity; 85 }; 86 87 #endif 88