source: trunk/source/processes/hadronic/models/de_excitation/management/include/G4VEvaporationChannel.hh @ 1315

Last change on this file since 1315 was 1315, checked in by garnier, 14 years ago

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File size: 3.8 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// $Id: G4VEvaporationChannel.hh,v 1.6 2010/05/11 11:16:04 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
28//
29// Hadronic Process: Nuclear De-excitations
30// by V. Lara (Oct 1998)
31//
32// Modified:
33// 03.09.2008 (J.M.Quesada) for external choice of inverse cross section option
34// 06.09.2008 (J.M.Quesada) external choices have been added for superimposed
35//                          Coulomb barrier (if useSICB is set true, by default is false)
36// 24.04.2010 (V.Ivanchenko) moved constructor and destructor to source; added two
37//                          new virtual methods EmittedFragment(s) to allow more optimal
38//                          work with G4Fragment objects
39//                         
40
41#ifndef G4VEvaporationChannel_h
42#define G4VEvaporationChannel_h 1
43
44#include "globals.hh"
45#include "G4Fragment.hh"
46
47class G4VEvaporationChannel
48{
49public:
50
51  G4VEvaporationChannel(const G4String & aName = "Anonymous");
52  virtual ~G4VEvaporationChannel();
53
54private:
55
56  G4VEvaporationChannel(const G4VEvaporationChannel & right);
57  const G4VEvaporationChannel & operator=(const G4VEvaporationChannel & right);
58
59public:
60
61  G4bool operator==(const G4VEvaporationChannel & right) const;
62  G4bool operator!=(const G4VEvaporationChannel & right) const;
63
64  virtual void Initialize(const G4Fragment & fragment) = 0;
65
66  // return emitted fragment, initial fragment is modified
67  // and not deleted
68  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
69
70  // return vector of emitted fragments, initial fragment is modified
71  // but not included in this vector
72  virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
73
74  // old method initial fragment is not modified, its copy included
75  // in the list of emitted fragments
76  virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus) = 0;
77
78  virtual G4double GetEmissionProbability(void) const = 0;
79
80  G4String GetName() const {return Name;}
81  void SetName(const G4String & aName) { Name = aName;}
82
83  // for cross section selection
84  inline void SetOPTxs(G4int opt) { OPTxs = opt; }
85  // for superimposed Coulomb Barrier for inverse cross sections       
86  inline void UseSICB(G4bool use) { useSICB = use; }   
87
88protected:
89
90  G4int OPTxs;
91  G4bool useSICB;
92
93private:
94  G4String Name;
95
96};
97
98
99#endif
Note: See TracBrowser for help on using the repository browser.