source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundTransitions.hh @ 1337

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

tag geant4.9.4 beta 1 + modifs locales

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//
27// $Id: G4PreCompoundTransitions.hh,v 1.6 2008/09/22 10:18:36 ahoward Exp $
28// GEANT4 tag $Name: geant4-09-04-beta-01 $
29//
30// by V. Lara
31// J. M. Quesada . New methods for accessing to individual transition probabilities (landa+, landa-, landa0) from
32// G4PreCompoundModel.cc 
33
34
35#ifndef G4PreCompoundTransitions_h
36#define G4PreCompoundTransitions_h 1
37
38// Compute transition probailities:
39// TransitionProb1 => probability of transition with  \Delta N = +2
40//                    number of excitons will be increased on 2
41// TransitionProb2 => probability of transition with  \Delta N = -2
42//                    number of excitons will be decreased on 2
43// TransitionProb3 => probability of transition with  \Delta N = 0
44//                    number of excitons will be the same
45
46#include "G4VPreCompoundTransitions.hh"
47
48#include "globals.hh"
49#include "G4Fragment.hh"
50#include "G4PreCompoundParameters.hh"
51#include "G4Proton.hh"
52#include "Randomize.hh"
53
54class G4PreCompoundTransitions : public G4VPreCompoundTransitions
55
56{
57public:
58
59  // Calculates transition probabilities with Delta N = +2 (Trans1) -2 (Trans2) and 0 (Trans3)
60
61  G4PreCompoundTransitions() : TransitionProb1(0.0), TransitionProb2(0.0), TransitionProb3(0.0){}
62
63  virtual ~G4PreCompoundTransitions() {}
64
65private:
66 
67  G4PreCompoundTransitions(const G4PreCompoundTransitions &) : G4VPreCompoundTransitions() {};
68 
69  const G4PreCompoundTransitions& operator=(const G4PreCompoundTransitions &right);
70
71  G4bool operator==(const G4PreCompoundTransitions &right) const;
72 
73  G4bool operator!=(const G4PreCompoundTransitions &right) const;
74
75public:
76 
77  virtual G4double CalculateProbability(const G4Fragment & aFragment);
78 
79  virtual G4Fragment PerformTransition(const G4Fragment & aFragment);
80 
81private:
82       
83  G4double TransitionProb1;
84  G4double TransitionProb2;
85  G4double TransitionProb3;
86
87
88  //J. M.Quesada (May. 08)
89public:
90  // inline G4double GetTransitionProb1() const
91  G4double GetTransitionProb1() 
92  {
93    return TransitionProb1;
94  }
95  // inline G4double GetTransitionProb2() const
96  G4double GetTransitionProb2() 
97  {
98    return TransitionProb2;
99  }
100  // inline G4double GetTransitionProb3() const
101  G4double GetTransitionProb3() 
102  {
103    return TransitionProb3;
104  }
105
106};
107
108#endif
Note: See TracBrowser for help on using the repository browser.