source: trunk/source/processes/hadronic/models/coherent_elastic/include/G4ChargeExchange.hh @ 1340

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

update ti head

File size: 3.9 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: G4ChargeExchange.hh,v 1.6 2009/09/22 16:21:46 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-03-ref-09 $
29//
30//
31// G4 Model: Charge and strangness exchange based on G4LightMedia model
32//           28 May 2006 V.Ivanchenko
33//
34// Modified:
35// 25-Jul-06 V.Ivanchenko add 19 MeV low energy, below which S-wave is sampled
36//
37//
38
39#ifndef G4ChargeExchange_h
40#define G4ChargeExchange_h 1
41
42// Class Description
43// Final state production model for hadron nuclear coherent charge exchange;
44// Class Description - End
45
46#include "globals.hh"
47#include "G4HadronicInteraction.hh"
48#include "G4HadProjectile.hh"
49#include "G4Nucleus.hh"
50
51class G4ParticleDefinition;
52
53class G4ChargeExchange : public G4HadronicInteraction
54{
55public:
56
57  G4ChargeExchange();
58
59  virtual ~G4ChargeExchange();
60
61  virtual G4HadFinalState * ApplyYourself(
62                   const G4HadProjectile & aTrack,
63                   G4Nucleus & targetNucleus);
64
65  void SetLowestEnergyLimit(G4double value);
66
67  void SetRecoilKinEnergyLimit(G4double value);
68
69  G4double SampleT(G4double p, G4double A);
70
71private:
72
73  G4ParticleDefinition* theProton;
74  G4ParticleDefinition* theNeutron;
75  G4ParticleDefinition* theAProton;
76  G4ParticleDefinition* theANeutron;
77  G4ParticleDefinition* thePiPlus;
78  G4ParticleDefinition* thePiMinus;
79  G4ParticleDefinition* thePiZero;
80  G4ParticleDefinition* theKPlus;
81  G4ParticleDefinition* theKMinus;
82  G4ParticleDefinition* theK0S;
83  G4ParticleDefinition* theK0L;
84  G4ParticleDefinition* theL;
85  G4ParticleDefinition* theAntiL;
86  G4ParticleDefinition* theSPlus;
87  G4ParticleDefinition* theASPlus;
88  G4ParticleDefinition* theSMinus;
89  G4ParticleDefinition* theASMinus;
90  G4ParticleDefinition* theS0;
91  G4ParticleDefinition* theAS0;
92  G4ParticleDefinition* theXiMinus;
93  G4ParticleDefinition* theXi0;
94  G4ParticleDefinition* theAXiMinus;
95  G4ParticleDefinition* theAXi0;
96  G4ParticleDefinition* theOmega;
97  G4ParticleDefinition* theAOmega;
98  G4ParticleDefinition* theD;
99  G4ParticleDefinition* theT;
100  G4ParticleDefinition* theA;
101  G4ParticleDefinition* theHe3;
102
103  G4double lowEnergyRecoilLimit;
104  G4double lowestEnergyLimit;
105
106};
107
108inline void G4ChargeExchange::SetRecoilKinEnergyLimit(G4double value)
109{
110  lowEnergyRecoilLimit = value;
111}
112
113inline void G4ChargeExchange::SetLowestEnergyLimit(G4double value)
114{
115  lowestEnergyLimit = value;
116}
117
118#endif
Note: See TracBrowser for help on using the repository browser.