Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ChargeExchangeProcess.hh
Go to the documentation of this file.
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: G4ChargeExchangeProcess.hh 66892 2013-01-17 10:57:59Z gunter $
28 //
29 //
30 // Geant4 Hadron Elastic Charge Exchange Process -- header file
31 //
32 // Created 21 April 2006 V.Ivanchenko
33 //
34 // Modified:
35 //
36 
37 // Class Description
38 // Process for hadron nuclear elastic scattering using optimal
39 // combination of Geant4 models
40 // Class Description - End
41 
42 #ifndef G4ChargeExchangeProcess_h
43 #define G4ChargeExchangeProcess_h 1
44 
45 #include "globals.hh"
46 #include "G4HadronicProcess.hh"
47 #include "G4Nucleus.hh"
48 
52 
54 {
55 public:
56 
57  G4ChargeExchangeProcess(const G4String& procName = "chargeExchange");
58 
59  virtual ~G4ChargeExchangeProcess();
60 
61  virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
62 
63  virtual void BuildPhysicsTable(const G4ParticleDefinition& aParticleType);
64 
65  virtual void DumpPhysicsTable(const G4ParticleDefinition& aParticleType);
66 
67  virtual G4double GetElementCrossSection(const G4DynamicParticle* aParticle,
68  const G4Element* anElement,
69  const G4Material* mat = 0);
70 
71 private:
72 
73  const G4ParticleDefinition* theParticle;
74 
75  const G4ParticleDefinition* theProton;
76  const G4ParticleDefinition* theNeutron;
77  const G4ParticleDefinition* theAProton;
78  const G4ParticleDefinition* theANeutron;
79  const G4ParticleDefinition* thePiPlus;
80  const G4ParticleDefinition* thePiMinus;
81  const G4ParticleDefinition* thePiZero;
82  const G4ParticleDefinition* theKPlus;
83  const G4ParticleDefinition* theKMinus;
84  const G4ParticleDefinition* theK0S;
85  const G4ParticleDefinition* theK0L;
86  const G4ParticleDefinition* theL;
87  const G4ParticleDefinition* theAntiL;
88  const G4ParticleDefinition* theSPlus;
89  const G4ParticleDefinition* theASPlus;
90  const G4ParticleDefinition* theSMinus;
91  const G4ParticleDefinition* theASMinus;
92  const G4ParticleDefinition* theS0;
93  const G4ParticleDefinition* theAS0;
94  const G4ParticleDefinition* theXiMinus;
95  const G4ParticleDefinition* theXi0;
96  const G4ParticleDefinition* theAXiMinus;
97  const G4ParticleDefinition* theAXi0;
98  const G4ParticleDefinition* theOmega;
99  const G4ParticleDefinition* theAOmega;
100  const G4ParticleDefinition* theD;
101  const G4ParticleDefinition* theT;
102  const G4ParticleDefinition* theA;
103  const G4ParticleDefinition* theHe3;
104 
106  G4PhysicsLinearVector* factors;
107 
108  G4double thEnergy;
109 
110  G4int pPDG;
111  G4bool first;
112 };
113 
114 #endif
virtual G4bool IsApplicable(const G4ParticleDefinition &aParticleType)
int G4int
Definition: G4Types.hh:78
G4ChargeExchangeProcess(const G4String &procName="chargeExchange")
virtual G4double GetElementCrossSection(const G4DynamicParticle *aParticle, const G4Element *anElement, const G4Material *mat=0)
bool G4bool
Definition: G4Types.hh:79
double G4double
Definition: G4Types.hh:76
virtual void BuildPhysicsTable(const G4ParticleDefinition &aParticleType)
virtual void DumpPhysicsTable(const G4ParticleDefinition &aParticleType)