source: trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/include/G4PhotonEvaporation.hh @ 962

Last change on this file since 962 was 962, checked in by garnier, 15 years ago

update processes

File size: 4.6 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// -------------------------------------------------------------------
28//      GEANT 4 class file
29//
30//      CERN, Geneva, Switzerland
31//
32//      File name:     G4PhotonEvaporation
33//
34//      Author:        Maria Grazia Pia (pia@genova.infn.it)
35//
36//      Creation date: 23 October 1998
37//
38//      Modifications:
39//
40//        18 October 2002, Fan Lei (flei@space.qinetiq.com)
41//   
42//        Implementation of Internal Convertion process in discrete deexcitation
43//        The following public methods have been added.
44//
45//            void SetICM (G4bool);
46//            void RDMForced(G4bool);
47//            void SetMaxHalfLife(G4double) ;
48//            void SetEOccupancy( G4ElectronOccupancy  eOccupancy) ;
49//            G4ElectronOccupancy GetEOccupancy () ;
50//            G4int GetVacantShellNumber () { return _vShellNumber;};
51//
52//        and the following priivate menbers
53//
54//            G4ElectronOccupancy _eOccupancy;
55//            G4int _vShellNumber;
56//
57// -------------------------------------------------------------------
58
59#ifndef G4PHOTONEVAPORATION_HH
60#define G4PHOTONEVAPORATION_HH
61
62#include "globals.hh"
63#include "G4VPhotonEvaporation.hh"
64#include "G4VEvaporationChannel.hh"
65#include "G4VEmissionProbability.hh"
66#include "G4VGammaDeexcitation.hh"
67#include "G4ElectronOccupancy.hh"
68
69//#define debug
70
71class G4Fragment;
72
73class G4PhotonEvaporation : public G4VPhotonEvaporation, public G4VEvaporationChannel {
74
75public:
76
77    G4PhotonEvaporation();
78
79    virtual ~G4PhotonEvaporation();
80
81    virtual G4FragmentVector * BreakItUp(const G4Fragment & nucleus);
82
83    virtual void Initialize(const G4Fragment & fragment);
84
85    virtual G4FragmentVector * BreakUp(const G4Fragment & nucleus);
86
87    virtual G4double GetEmissionProbability() const;
88
89    virtual void SetEmissionStrategy(G4VEmissionProbability * probAlgorithm);
90
91    void SetVerboseLevel(G4int verbose);
92
93    void SetICM (G4bool);
94
95    void RDMForced (G4bool);
96 
97    void SetMaxHalfLife(G4double) ;
98 
99    void SetEOccupancy( G4ElectronOccupancy  eOccupancy) ;
100
101
102    G4ElectronOccupancy GetEOccupancy () { return _eOccupancy;} ;
103   
104    G4int GetVacantShellNumber () { return _vShellNumber;};
105
106private:
107
108    G4int _verbose;
109    G4bool _myOwnProbAlgorithm;
110    G4VEmissionProbability * _probAlgorithm;
111    G4VGammaDeexcitation * _discrDeexcitation;
112    G4VGammaDeexcitation * _contDeexcitation;
113  //    G4VGammaDeexcitation * _cdDeexcitation;
114
115    G4ElectronOccupancy _eOccupancy;
116    G4int _vShellNumber;
117
118    G4Fragment _nucleus;
119    G4double _gammaE;
120
121    G4PhotonEvaporation(const G4PhotonEvaporation & right);
122
123    const G4PhotonEvaporation & operator = (const G4PhotonEvaporation & right);
124
125    // MGP - Check == and != multiple inheritance... must be a mess!
126    G4bool operator == (const G4PhotonEvaporation & right) const;
127    G4bool operator != (const G4PhotonEvaporation & right) const;
128
129#ifdef debug
130    void CheckConservation(const G4Fragment & theInitialState, G4FragmentVector * Result) const;
131#endif
132
133
134};
135
136#endif
137
138
139
Note: See TracBrowser for help on using the repository browser.