Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VFermiFragment.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 (Nov 1998)
30 //
31 // Modifications:
32 // 01.04.2011 General cleanup by V.Ivanchenko
33 
34 #ifndef G4VFermiFragment_h
35 #define G4VFermiFragment_h 1
36 
37 #include "G4FragmentVector.hh"
38 #include "globals.hh"
39 
41 {
42 public:
43 
44  G4VFermiFragment(G4int anA, G4int aZ, G4int Pol, G4double ExE);
45 
46  virtual ~G4VFermiFragment();
47 
48 private:
49 
51  const G4VFermiFragment & operator=(const G4VFermiFragment &right);
52  G4bool operator==(const G4VFermiFragment &right) const;
53  G4bool operator!=(const G4VFermiFragment &right) const;
54 
55 public:
56 
57  virtual G4FragmentVector * GetFragment(const G4LorentzVector & aMomentum) const = 0;
58 
59  inline G4int GetA(void) const
60  {
61  return A;
62  }
63 
64  inline G4int GetZ(void) const
65  {
66  return Z;
67  }
68 
69  inline G4int GetPolarization(void) const
70  {
71  return Polarization;
72  }
73 
74  inline G4double GetExcitationEnergy(void) const
75  {
76  return ExcitEnergy;
77  }
78 
79  inline G4double GetFragmentMass(void) const
80  {
81  return fragmentMass;
82  }
83 
84  inline G4double GetTotalEnergy(void) const
85  {
86  return (GetFragmentMass() + GetExcitationEnergy());
87  }
88 
89  inline G4bool IsStable() const
90  {
91  return isStable;
92  }
93 
94 protected:
95 
97 
99 
101 
103 
105 
107 
108 };
109 
110 
111 #endif
112 
113