source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4HETCAlpha.hh @ 819

Last change on this file since 819 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 3.5 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// by V. Lara
27
28#ifndef G4HETCAlpha_h
29#define G4HETCAlpha_h 1
30
31#include "G4HETCChargedFragment.hh"
32#include "G4ReactionProduct.hh"
33#include "G4Alpha.hh"
34
35#include "G4AlphaCoulombBarrier.hh"
36
37
38class G4HETCAlpha : public G4HETCChargedFragment
39{
40public:
41  // default constructor
42  G4HETCAlpha():G4HETCChargedFragment(4,2,&theAlphaCoulombBarrier,"Alpha") {}
43
44  // copy constructor
45  G4HETCAlpha(const G4HETCAlpha &right): G4HETCChargedFragment(right) {}
46
47  // destructor
48  ~G4HETCAlpha() {}
49
50  // operators 
51  const G4HETCAlpha & operator=(const G4HETCAlpha &right) 
52  {
53    if (&right != this) this->G4HETCChargedFragment::operator=(right);
54    return *this;
55  };
56 
57  G4bool operator==(const G4HETCAlpha &right) const
58  { 
59    return G4HETCChargedFragment::operator==(right);
60  }
61
62 
63  G4bool operator!=(const G4HETCAlpha &right) const
64  { 
65    return G4HETCChargedFragment::operator!=(right);
66  }
67
68
69  G4ReactionProduct * GetReactionProduct() const
70  {
71    G4ReactionProduct * theReactionProduct =
72      new G4ReactionProduct(G4Alpha::AlphaDefinition());
73    theReactionProduct->SetMomentum(GetMomentum().vect());
74    theReactionProduct->SetTotalEnergy(GetMomentum().e());
75#ifdef PRECOMPOUND_TEST
76    theReactionProduct->SetCreatorModel("G4PrecompoundModel");
77#endif
78    return theReactionProduct;
79  }   
80   
81private:
82  virtual G4double GetAlpha()
83  {
84    G4double C = 0.0;
85    G4double aZ = GetZ() + GetRestZ();
86    if (aZ <= 30) 
87      {
88        C = 0.10;
89      } 
90    else if (aZ <= 50) 
91      {
92        C = 0.1 + -((aZ-50.)/20.)*0.02;
93      }
94    else if (aZ < 70) 
95      {
96        C = 0.08 + -((aZ-70.)/20.)*0.02;
97      }
98    else 
99      {
100        C = 0.06;
101      }
102    return 1.0+C;
103  }
104 
105  virtual G4double GetBeta()
106  {
107    return -GetCoulombBarrier();
108  }
109 
110
111  virtual G4double GetSpinFactor()
112  {
113    return 1.0;
114  }
115
116  virtual G4double K(const G4Fragment & aFragment);
117
118
119private:
120
121  G4AlphaCoulombBarrier theAlphaCoulombBarrier;
122
123};
124
125#endif
126 
127
Note: See TracBrowser for help on using the repository browser.