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

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

import all except CVS

File size: 4.1 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.3 2006/08/02 10:55:54 vnivanch Exp $
28// GEANT4 tag $Name: $
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;
52class G4VQCrossSection;
53class G4ElasticHadrNucleusHE;
54class G4HadronElastic;
55
56class G4ChargeExchange : public G4HadronicInteraction
57{
58public:
59
60 G4ChargeExchange(G4HadronElastic* hel = 0,
61 G4double elim = 100.*keV,
62 G4double ehigh= GeV);
63
64 virtual ~G4ChargeExchange();
65
66 virtual G4HadFinalState * ApplyYourself(
67 const G4HadProjectile & aTrack,
68 G4Nucleus & targetNucleus);
69
70 void SetKinEnergyLow(G4double value);
71
72 void SetKinEnergyHigh(G4double value);
73
74private:
75
76 G4VQCrossSection* qCManager;
77 G4ElasticHadrNucleusHE* hElastic;
78 G4HadronElastic* fElastic;
79 G4bool native;
80
81 G4ParticleDefinition* theProton;
82 G4ParticleDefinition* theNeutron;
83 G4ParticleDefinition* theAProton;
84 G4ParticleDefinition* theANeutron;
85 G4ParticleDefinition* thePiPlus;
86 G4ParticleDefinition* thePiMinus;
87 G4ParticleDefinition* thePiZero;
88 G4ParticleDefinition* theKPlus;
89 G4ParticleDefinition* theKMinus;
90 G4ParticleDefinition* theK0S;
91 G4ParticleDefinition* theK0L;
92 G4ParticleDefinition* theL;
93 G4ParticleDefinition* theAntiL;
94 G4ParticleDefinition* theSPlus;
95 G4ParticleDefinition* theASPlus;
96 G4ParticleDefinition* theSMinus;
97 G4ParticleDefinition* theASMinus;
98 G4ParticleDefinition* theS0;
99 G4ParticleDefinition* theAS0;
100 G4ParticleDefinition* theXiMinus;
101 G4ParticleDefinition* theXi0;
102 G4ParticleDefinition* theAXiMinus;
103 G4ParticleDefinition* theAXi0;
104 G4ParticleDefinition* theOmega;
105 G4ParticleDefinition* theAOmega;
106 G4ParticleDefinition* theD;
107 G4ParticleDefinition* theT;
108 G4ParticleDefinition* theA;
109 G4ParticleDefinition* theHe3;
110
111 G4double ekinlim;
112 G4double ekinlow;
113 G4double ekinhigh;
114};
115
116inline void G4ChargeExchange::SetKinEnergyLow(G4double value)
117{
118 ekinlow = value;
119}
120
121inline void G4ChargeExchange::SetKinEnergyHigh(G4double value)
122{
123 ekinhigh = value;
124}
125
126#endif
Note: See TracBrowser for help on using the repository browser.