source: trunk/source/processes/hadronic/models/de_excitation/evaporation/include/G4Evaporation.hh @ 1347

Last change on this file since 1347 was 1347, checked in by garnier, 13 years ago

geant4 tag 9.4

File size: 3.3 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: G4Evaporation.hh,v 1.12 2010/05/11 11:34:09 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-04-ref-00 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara
32//
33//
34// 14/02/2007 Alex Howard - added protection for negative probabilities in the sum
35// 27/07/2009 V.Ivanchenko - added Combined decay channels (default + GEM)
36// 11/05/2010 V.Ivanchenko - rewrited technical part do not "new" and "delete"
37//                           of small objects
38
39#ifndef G4Evaporation_h
40#define G4Evaporation_h 1
41
42#include "globals.hh"
43
44#include "G4VEvaporation.hh"
45#include "G4VEvaporationChannel.hh"
46#include "G4Fragment.hh"
47#include "G4UnstableFragmentBreakUp.hh"
48
49class G4VEvaporationFactory;
50class G4NistManager;
51
52//#define debug
53
54class G4Evaporation : public G4VEvaporation
55{
56public:
57  G4Evaporation();
58  G4Evaporation(std::vector<G4VEvaporationChannel*> * aChannelsVector);
59         
60  virtual ~G4Evaporation();
61
62  virtual void Initialise();
63
64private:
65
66  void InitialiseEvaporation();
67
68  G4Evaporation(const G4Evaporation &right);
69
70  const G4Evaporation & operator=(const G4Evaporation &right);
71  G4bool operator==(const G4Evaporation &right) const;
72  G4bool operator!=(const G4Evaporation &right) const;
73
74public:
75
76  G4FragmentVector * BreakItUp(const G4Fragment &theNucleus);
77
78  void SetDefaultChannel();
79  void SetGEMChannel();
80  void SetCombinedChannel();
81
82#ifdef debug
83  void CheckConservation(const G4Fragment & theInitialState,
84                         G4FragmentVector * Result) const;
85#endif
86
87  std::vector<G4VEvaporationChannel*> * theChannels;
88  std::vector<G4double>   probabilities;
89  G4VEvaporationFactory * theChannelFactory;
90  G4int nChannels;
91  G4double minExcitation;
92  G4NistManager* nist;
93  G4UnstableFragmentBreakUp unstableBreakUp;
94   
95};
96
97#endif
98
99
100
101
102
Note: See TracBrowser for help on using the repository browser.