Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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$
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 is false)
35 // 24.04.2010 (V.Ivanchenko) moved constructor and destructor to source; added two
36 // new virtual methods EmittedFragment(s) to allow more optimal
37 // work with G4Fragment objects
38 //
39 
40 #ifndef G4VEvaporationChannel_h
41 #define G4VEvaporationChannel_h 1
42 
43 #include "globals.hh"
44 #include "G4Fragment.hh"
45 
47 {
48 public:
49 
50  G4VEvaporationChannel(const G4String & aName = "Anonymous");
51  virtual ~G4VEvaporationChannel();
52 
53  // return emitted fragment, initial fragment is modified
54  // and not deleted
55  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
56 
57  // return vector of emitted fragments, initial fragment is modified
58  // but not included in this vector
59  virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
60 
61  // old method initial fragment is not modified, its copy included
62  // in the list of emitted fragments
63  virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus) = 0;
64 
65  virtual G4double GetEmissionProbability(G4Fragment* theNucleus) = 0;
66 
67  inline G4String GetName() const {return Name;}
68  inline void SetName(const G4String & aName) { Name = aName;}
69 
70  // for cross section selection
71  inline void SetOPTxs(G4int opt) { OPTxs = opt; }
72  // for superimposed Coulomb Barrier for inverse cross sections
73  inline void UseSICB(G4bool use) { useSICB = use; }
74 
75 protected:
76 
79 
80 private:
81  G4String Name;
82 
84  const G4VEvaporationChannel & operator=(const G4VEvaporationChannel & right);
85  G4bool operator==(const G4VEvaporationChannel & right) const;
86  G4bool operator!=(const G4VEvaporationChannel & right) const;
87 
88 };
89 
90 
91 #endif