source: trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/include/G4VGammaDeexcitation.hh @ 819

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

import all except CVS

File size: 4.4 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:     G4VGammaDeexcitation
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, F. Lei
41//          Added GetVaccantSN() and _vSN in order to link to ARM in low-e em
42//          _vSN is updated in UpdateElectron()
43//          Added SetVaccantSN(). It is need to to re-set _vSN after each
44//          IC happened.
45//
46//        8 March 2002, Fan Lei (flei@space.qinetiq.com)
47//          Added  SetEO () , GetEO(), UpdateElectrons() to allow the assignment
48//          and modification of electron configuration.
49//         
50//        21 Nov 2001, Fan Lei (flei@space.qinetiq.com)
51//           Modified GenerateGamma() and UpdateUncleus() for implementation
52//           of Internal Conversion processs
53//
54//        15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
55//              Added creation time evaluation for products of evaporation
56//
57// -------------------------------------------------------------------
58
59#ifndef G4VGAMMADEEXCITATION_HH
60#define G4VGAMMADEEXCITATION_HH
61
62#include "globals.hh"
63#include "G4VGammaTransition.hh"
64#include "G4Fragment.hh"
65#include "G4FragmentVector.hh"
66#include "G4ElectronOccupancy.hh"
67
68class G4VGammaDeexcitation {
69
70public:
71
72    G4VGammaDeexcitation();
73
74    virtual ~G4VGammaDeexcitation();
75
76    virtual G4VGammaTransition * CreateTransition() = 0;
77    virtual G4bool CanDoTransition() const = 0;
78
79    // Single gamma transition
80    virtual G4FragmentVector * DoTransition();
81
82    // Chain of gamma transitions
83    virtual G4FragmentVector * DoChain();
84
85    virtual G4Fragment * GenerateGamma();
86
87    virtual const G4Fragment & GetNucleus() const;
88
89    virtual void SetNucleus(const G4Fragment & nucleus);
90
91    virtual void SetVerboseLevel(G4int verbose);
92
93    void SetEO(G4ElectronOccupancy eo) { _electronO = eo; };
94    void SetVaccantSN( G4int val ) { _vSN = val;};
95 
96    G4ElectronOccupancy GetEO() { return _electronO; };   
97    G4int GetVacantSN() {return _vSN;};
98protected:
99
100    void Initialize();
101    void UpdateNucleus(const G4Fragment * gamma);
102    void UpdateElectrons ();
103    void Update();
104
105    G4VGammaTransition * _transition; // Owned pointer
106    G4int _verbose;
107
108private:
109
110    G4Fragment _nucleus;
111    G4ElectronOccupancy _electronO;
112    G4int _vSN;
113
114    G4VGammaDeexcitation(const G4VGammaDeexcitation & right);
115
116    const G4VGammaDeexcitation & operator = (const G4VGammaDeexcitation & right);
117    G4bool operator == (const G4VGammaDeexcitation & right) const;
118    G4bool operator != (const G4VGammaDeexcitation & right) const;
119
120};
121
122#endif
123
124
125
126
127
128
Note: See TracBrowser for help on using the repository browser.