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

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

geant4 tag 9.4

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.7 2010/10/29 17:35:04 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-04-ref-00 $
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
54  virtual void Initialize(const G4Fragment & fragment) = 0;
55
56  // return emitted fragment, initial fragment is modified
57  // and not deleted
58  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
59
60  // return vector of emitted fragments, initial fragment is modified
61  // but not included in this vector
62  virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
63
64  // old method initial fragment is not modified, its copy included
65  // in the list of emitted fragments
66  virtual G4FragmentVector * BreakUp(const G4Fragment & theNucleus) = 0;
67
68  virtual G4double GetEmissionProbability(void) const = 0;
69
70  inline G4String GetName() const {return Name;}
71  inline void SetName(const G4String & aName) { Name = aName;}
72
73  // for cross section selection
74  inline void SetOPTxs(G4int opt) { OPTxs = opt; }
75  // for superimposed Coulomb Barrier for inverse cross sections       
76  inline void UseSICB(G4bool use) { useSICB = use; }   
77
78protected:
79
80  G4int OPTxs;
81  G4bool useSICB;
82
83private:
84  G4String Name;
85
86  G4VEvaporationChannel(const G4VEvaporationChannel & right);
87  const G4VEvaporationChannel & operator=(const G4VEvaporationChannel & right);
88  G4bool operator==(const G4VEvaporationChannel & right) const;
89  G4bool operator!=(const G4VEvaporationChannel & right) const;
90
91};
92
93
94#endif
Note: See TracBrowser for help on using the repository browser.