source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4HETCTriton.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 G4HETCTriton_h
29#define G4HETCTriton_h 1
30
31#include "G4HETCChargedFragment.hh"
32#include "G4ReactionProduct.hh"
33#include "G4Triton.hh"
34
35#include "G4TritonCoulombBarrier.hh"
36
37
38class G4HETCTriton : public G4HETCChargedFragment
39{
40public:
41  // default constructor
42  G4HETCTriton():G4HETCChargedFragment(3,1,&theTritonCoulombBarrier,"Triton") {}
43
44  // copy constructor
45  G4HETCTriton(const G4HETCTriton &right): G4HETCChargedFragment(right) {}
46
47  // destructor
48  ~G4HETCTriton() {}
49
50  // operators 
51  const G4HETCTriton & operator=(const G4HETCTriton &right) 
52  {
53    if (&right != this) this->G4HETCChargedFragment::operator=(right);
54    return *this;
55  }
56
57  G4bool operator==(const G4HETCTriton &right) const
58  { 
59    return G4HETCChargedFragment::operator==(right);
60  }
61
62 
63  G4bool operator!=(const G4HETCTriton &right) const
64  { 
65    return G4HETCChargedFragment::operator!=(right);
66  }
67
68
69  G4ReactionProduct * GetReactionProduct() const
70  {
71    G4ReactionProduct * theReactionProduct =
72      new G4ReactionProduct(G4Triton::TritonDefinition());
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 >= 70) 
87      {
88        C = 0.10;
89      } 
90    else 
91      {
92        C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375; 
93      }
94   
95    return 1.0 + C/3.0;
96  }
97 
98  virtual G4double GetBeta()
99  {
100    return -GetCoulombBarrier();
101  }
102
103
104
105  virtual G4double GetSpinFactor()
106  {
107    // 2s+1
108    return 2.0;
109  }
110
111  virtual G4double K(const G4Fragment& aFragment);
112
113private:
114 
115  G4TritonCoulombBarrier theTritonCoulombBarrier;
116 
117};
118
119#endif
120 
121
Note: See TracBrowser for help on using the repository browser.