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

Last change on this file since 847 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 4.7 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//            void SetARM (G4bool val) {_applyARM = val;} ;
51//            G4int GetVacantShellNumber () { return _vShellNumber;};
52//
53//        and the following priivate menbers
54//
55//            G4ElectronOccupancy _eOccupancy;
56//            G4int _vShellNumber;
57//
58//            G4bool _applyARM;
59//
60// -------------------------------------------------------------------
61
62#ifndef G4PHOTONEVAPORATION_HH
63#define G4PHOTONEVAPORATION_HH
64
65#include "globals.hh"
66#include "G4VPhotonEvaporation.hh"
67#include "G4VEvaporationChannel.hh"
68#include "G4VEmissionProbability.hh"
69#include "G4VGammaDeexcitation.hh"
70#include "G4ElectronOccupancy.hh"
71
72//#define debug
73
74class G4Fragment;
75
76class G4PhotonEvaporation : public G4VPhotonEvaporation, public G4VEvaporationChannel {
77
78public:
79
80    G4PhotonEvaporation();
81
82    virtual ~G4PhotonEvaporation();
83
84    virtual G4FragmentVector * BreakItUp(const G4Fragment & nucleus);
85
86    virtual void Initialize(const G4Fragment & fragment);
87
88    virtual G4FragmentVector * BreakUp(const G4Fragment & nucleus);
89
90    virtual G4double GetEmissionProbability() const;
91
92    virtual void SetEmissionStrategy(G4VEmissionProbability * probAlgorithm);
93
94    void SetVerboseLevel(G4int verbose);
95
96    void SetICM (G4bool);
97
98    void RDMForced (G4bool);
99 
100    void SetMaxHalfLife(G4double) ;
101 
102    void SetEOccupancy( G4ElectronOccupancy  eOccupancy) ;
103
104    void SetARM (G4bool val) {_applyARM = val;} ;
105
106    G4ElectronOccupancy GetEOccupancy () { return _eOccupancy;} ;
107   
108    G4int GetVacantShellNumber () { return _vShellNumber;};
109
110private:
111
112    G4int _verbose;
113    G4bool _myOwnProbAlgorithm;
114    G4VEmissionProbability * _probAlgorithm;
115    G4VGammaDeexcitation * _discrDeexcitation;
116    G4VGammaDeexcitation * _contDeexcitation;
117  //    G4VGammaDeexcitation * _cdDeexcitation;
118
119    G4ElectronOccupancy _eOccupancy;
120    G4int _vShellNumber;
121
122    G4Fragment _nucleus;
123    G4double _gammaE;
124    G4bool _applyARM;
125
126    G4PhotonEvaporation(const G4PhotonEvaporation & right);
127
128    const G4PhotonEvaporation & operator = (const G4PhotonEvaporation & right);
129
130    // MGP - Check == and != multiple inheritance... must be a mess!
131    G4bool operator == (const G4PhotonEvaporation & right) const;
132    G4bool operator != (const G4PhotonEvaporation & right) const;
133
134#ifdef debug
135    void CheckConservation(const G4Fragment & theInitialState, G4FragmentVector * Result) const;
136#endif
137
138
139};
140
141#endif
142
143
144
Note: See TracBrowser for help on using the repository browser.