Geant4  10.02.p01
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: G4VFermiFragment.hh 92144 2015-08-19 14:25:18Z gcosmo $
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 void
58  FillFragment(G4FragmentVector*, const G4LorentzVector & aMomentum) const = 0;
59 
60  inline G4FragmentVector * GetFragment(const G4LorentzVector & aMomentum) const
61  {
63  FillFragment(vec, aMomentum);
64  return vec;
65  }
66 
67  inline G4int GetA(void) const
68  {
69  return A;
70  }
71 
72  inline G4int GetZ(void) const
73  {
74  return Z;
75  }
76 
77  inline G4int GetPolarization(void) const
78  {
79  return Polarization;
80  }
81 
82  inline G4double GetExcitationEnergy(void) const
83  {
84  return ExcitEnergy;
85  }
86 
87  inline G4double GetFragmentMass(void) const
88  {
89  return fragmentMass;
90  }
91 
92  inline G4double GetTotalEnergy(void) const
93  {
94  return (GetFragmentMass() + GetExcitationEnergy());
95  }
96 
97  inline G4bool IsStable() const
98  {
99  return isStable;
100  }
101 
102 protected:
103 
108 
111 
112 };
113 
114 
115 #endif
116 
117 
virtual ~G4VFermiFragment()
G4int GetPolarization(void) const
G4bool operator!=(const G4VFermiFragment &right) const
int G4int
Definition: G4Types.hh:78
G4int GetZ(void) const
G4double GetTotalEnergy(void) const
virtual void FillFragment(G4FragmentVector *, const G4LorentzVector &aMomentum) const =0
G4bool IsStable() const
G4int GetA(void) const
bool G4bool
Definition: G4Types.hh:79
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
G4VFermiFragment(G4int anA, G4int aZ, G4int Pol, G4double ExE)
G4bool operator==(const G4VFermiFragment &right) const
G4FragmentVector * GetFragment(const G4LorentzVector &aMomentum) const
G4double GetExcitationEnergy(void) const
G4double GetFragmentMass(void) const
double G4double
Definition: G4Types.hh:76
const G4VFermiFragment & operator=(const G4VFermiFragment &right)
CLHEP::HepLorentzVector G4LorentzVector