Geant4  10.00.p03
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 67983 2013-03-13 10:42:03Z 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  // return level life time, by default zero
65  virtual G4double GetLifeTime(G4Fragment* theNucleus);
66 
67  // return emitted fragment, initial fragment is modified
68  // and not deleted
69  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
70 
71  // return vector of emitted fragments, initial fragment is modified
72  // but not included in this vector
73  virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
74 
75  // old method initial fragment is not modified, its copy included
76  // in the list of emitted fragments
77  virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus) = 0;
78 
79  virtual G4double GetEmissionProbability(G4Fragment* theNucleus) = 0;
80 
81  inline G4String GetName() const {return Name;}
82  inline void SetName(const G4String & aName) { Name = aName;}
83 
84  // for cross section selection
85  inline void SetOPTxs(G4int opt) { OPTxs = opt; }
86  // for superimposed Coulomb Barrier for inverse cross sections
87  inline void UseSICB(G4bool use) { useSICB = use; }
88 
89 protected:
90 
94 
95 private:
97 
102 
103 
104 
105 };
106 
107 
108 #endif
G4EvaporationChannelType
virtual G4FragmentVector * BreakUpFragment(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