Geant4  10.01
G4VEvaporationChannel.hh
Go to the documentation of this file.
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 // $Id: G4VEvaporationChannel.hh 86986 2014-11-21 13:00:05Z gcosmo $
27 //
28 // Hadronic Process: Nuclear De-excitations
29 // by V. Lara (Oct 1998)
30 //
31 // Modified:
32 // 03.09.2008 (J.M.Quesada) for external choice of inverse cross section option
33 // 06.09.2008 (J.M.Quesada) external choices have been added for superimposed
34 // Coulomb barrier (if useSICB is set true, by default
35 // is false)
36 // 24.04.2010 (V.Ivanchenko) moved constructor and destructor to source; added
37 // two new virtual methods EmittedFragment(s) to allow
38 // more optimal work with G4Fragment objects
39 // 12.02.2013 (V.Ivanchenko) added virtual method GetLifeTime,
40 // enumerator G4EvaporationChannelType,
41 // which is defined in constructor of the class
42 //
43 
44 #ifndef G4VEvaporationChannel_h
45 #define G4VEvaporationChannel_h 1
46 
48 {
51 };
52 
53 #include "globals.hh"
54 #include "G4Fragment.hh"
55 
57 {
58 public:
59 
60  G4VEvaporationChannel(const G4String & aName = "Anonymous",
62  virtual ~G4VEvaporationChannel();
63 
64  // option definition
65  virtual void Initialise();
66 
67  // return level life time, by default zero
68  virtual G4double GetLifeTime(G4Fragment* theNucleus);
69 
70  // return emitted fragment, initial fragment is modified
71  // and not deleted
72  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
73 
74  // return vector of emitted fragments, initial fragment is modified
75  // but not included in this vector
76  virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
77 
78  // returns "true" if primary fragment is decayed and deleted
79  // returns "false" if primary fragment is modified but stay alive
80  // emitted fragments are added to the vector of results
81  virtual G4bool
82  BreakUpChain(G4FragmentVector* theResult, G4Fragment* theNucleus);
83 
84  // old method initial fragment is not modified, its copy included
85  // in the list of emitted fragments
86  virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus) = 0;
87 
88  virtual G4double GetEmissionProbability(G4Fragment* theNucleus) = 0;
89 
90  virtual void Dump() const;
91 
92  inline G4String GetName() const {return Name;}
93  inline void SetName(const G4String & aName) { Name = aName;}
94 
95  // for cross section selection
96  inline void SetOPTxs(G4int opt) { OPTxs = opt; }
97  // for superimposed Coulomb Barrier for inverse cross sections
98  inline void UseSICB(G4bool use) { useSICB = use; }
99 
100 protected:
101 
105 
106 private:
108 
113 };
114 
115 
116 #endif
G4EvaporationChannelType
virtual G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)
virtual G4bool BreakUpChain(G4FragmentVector *theResult, G4Fragment *theNucleus)
G4bool operator==(const G4VEvaporationChannel &right) const
G4EvaporationChannelType sampleDecayTime
void SetName(const G4String &aName)
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:65
G4bool operator!=(const G4VEvaporationChannel &right) const
virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus)=0
G4VEvaporationChannel(const G4String &aName="Anonymous", G4EvaporationChannelType timeType=fDelayedEmission)
virtual G4double GetLifeTime(G4Fragment *theNucleus)
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
const G4VEvaporationChannel & operator=(const G4VEvaporationChannel &right)
double G4double
Definition: G4Types.hh:76
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)=0
virtual void Dump() const