Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4KaonMinusAbsorptionAtRest.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
// File name: G4KaonMinusAbsorptionAtRest.hh
27
//
28
// Author: Christian V"olcker (
[email protected]
),
29
//
30
// Creation date: 10. November 1997
31
//
32
// -------------------------------------------------------------------
33
34
#ifndef G4KaonMinusAbsorptionAtRest_h
35
#define G4KaonMinusAbsorptionAtRest_h 1
36
37
// Class Description:
38
//
39
// Process for nuclear absorption of K- at rest.
40
// To be used in your physics list in case you need this physics.
41
42
#include "
globals.hh
"
43
#include "
Randomize.hh
"
44
#include "
G4VRestProcess.hh
"
45
#include "
G4ParticleTypes.hh
"
46
#include "
G4Nucleus.hh
"
47
#include "
G4DynamicParticle.hh
"
48
#include "
G4DynamicParticleVector.hh
"
49
#include "
G4NucleiProperties.hh
"
50
#include "
G4HadronicProcessType.hh
"
51
52
53
// *********************************************************
54
class
G4KaonMinusAbsorptionAtRest
:
public
G4VRestProcess
55
// *********************************************************
56
{
57
private
:
58
// hide assignment operator as private
59
G4KaonMinusAbsorptionAtRest
& operator=(
const
G4KaonMinusAbsorptionAtRest
&right);
60
G4KaonMinusAbsorptionAtRest
(
const
G4KaonMinusAbsorptionAtRest
& );
61
public
:
62
G4KaonMinusAbsorptionAtRest
(
const
G4String
& processName =
"KaonMinusAbsorptionAtRest"
,
63
G4ProcessType
aType =
fHadronic
);
64
~G4KaonMinusAbsorptionAtRest
();
65
66
//override methods...
67
public
:
68
G4bool
IsApplicable
(
const
G4ParticleDefinition
& particle) {
69
return
( particle == *(
G4KaonMinus::KaonMinus
()) );
70
}
71
72
void
PreparePhysicsTable
(
const
G4ParticleDefinition
&);
73
74
void
BuildPhysicsTable
(
const
G4ParticleDefinition
&);
75
76
// the main method ...
77
G4VParticleChange
*
AtRestDoIt
(
const
G4Track
& aTrack,
const
G4Step
& aStep);
78
79
protected
:
// why?? might be private....
80
// zero mean lifetime
81
G4double
GetMeanLifeTime
(
const
G4Track
& aTrack,
82
G4ForceCondition
* )
83
{
84
G4double
result = 0;
85
if
(aTrack.
GetMaterial
()->
GetNumberOfElements
() == 1)
86
if
(aTrack.
GetMaterial
()->
GetZ
()<1.5) result =
DBL_MAX
;
87
return
result;
88
}
89
90
private
:
91
// returns proton or neutron with fermi-momentum
92
G4DynamicParticle
GetAbsorbingNucleon();
93
94
// returns proton or neutron particle definition;
95
G4ParticleDefinition
* SelectAbsorbingNucleon();
96
97
// provides the neutron halo factor for absorption on nucleus surface.
98
// in the G4Nucleus
99
G4double
NeutronHaloFactor(
G4double
Z,
G4double
N);
100
101
// creates the reaction products
102
G4DynamicParticleVector
* KaonNucleonReaction();
103
104
// secondary pion absorption in parent nucleus
105
// if TRUE, then add excitation energy to the Nucleus
106
G4bool
AbsorbPionByNucleus(
G4DynamicParticle
* aPion);
107
108
// secondary Sigma-Lambda conversion
109
// if conversion Done, then add excitation energy to the Nucleus
110
G4DynamicParticle
*SigmaLambdaConversion(
G4DynamicParticle
* aSigma);
111
112
// instance variables ...
113
private
:
114
// pointer to current stopped hadron
115
const
G4DynamicParticle
*stoppedHadron;
116
117
// pointer to current target nucleus
118
G4Nucleus
* nucleus;
119
120
// some constant parameters
121
122
G4double
pionAbsorptionRate;
123
124
// primary production rates ( for absorption on Carbon)
125
126
G4double
rateLambdaZeroPiZero;
127
G4double
rateSigmaMinusPiPlus;
128
G4double
rateSigmaPlusPiMinus;
129
G4double
rateSigmaZeroPiZero;
130
131
G4double
rateLambdaZeroPiMinus;
132
G4double
rateSigmaZeroPiMinus;
133
G4double
rateSigmaMinusPiZero;
134
135
136
// Sigma Lambda Conversion rates
137
// for sigma- p -> lambda n
138
// sigma+ n -> lambda p
139
// sigma- n -> lambda
140
141
G4double
sigmaPlusLambdaConversionRate;
142
G4double
sigmaMinusLambdaConversionRate;
143
G4double
sigmaZeroLambdaConversionRate;
144
145
};
146
147
#endif
148
G4DynamicParticleVector.hh
G4DynamicParticleVector
std::vector< G4DynamicParticle * > G4DynamicParticleVector
Definition:
G4DynamicParticleVector.hh:43
G4DynamicParticle.hh
G4ForceCondition
G4ForceCondition
Definition:
G4ForceCondition.hh:51
G4HadronicProcessType.hh
G4NucleiProperties.hh
G4Nucleus.hh
G4ParticleTypes.hh
G4ProcessType
G4ProcessType
Definition:
G4ProcessType.hh:44
fHadronic
@ fHadronic
Definition:
G4ProcessType.hh:49
G4double
double G4double
Definition:
G4Types.hh:64
G4bool
bool G4bool
Definition:
G4Types.hh:67
G4VRestProcess.hh
Randomize.hh
G4DynamicParticle
Definition:
G4DynamicParticle.hh:74
G4KaonMinusAbsorptionAtRest
Definition:
G4KaonMinusAbsorptionAtRest.hh:56
G4KaonMinusAbsorptionAtRest::GetMeanLifeTime
G4double GetMeanLifeTime(const G4Track &aTrack, G4ForceCondition *)
Definition:
G4KaonMinusAbsorptionAtRest.hh:81
G4KaonMinusAbsorptionAtRest::BuildPhysicsTable
void BuildPhysicsTable(const G4ParticleDefinition &)
Definition:
G4KaonMinusAbsorptionAtRest.cc:100
G4KaonMinusAbsorptionAtRest::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &particle)
Definition:
G4KaonMinusAbsorptionAtRest.hh:68
G4KaonMinusAbsorptionAtRest::AtRestDoIt
G4VParticleChange * AtRestDoIt(const G4Track &aTrack, const G4Step &aStep)
Definition:
G4KaonMinusAbsorptionAtRest.cc:106
G4KaonMinusAbsorptionAtRest::PreparePhysicsTable
void PreparePhysicsTable(const G4ParticleDefinition &)
Definition:
G4KaonMinusAbsorptionAtRest.cc:95
G4KaonMinusAbsorptionAtRest::~G4KaonMinusAbsorptionAtRest
~G4KaonMinusAbsorptionAtRest()
Definition:
G4KaonMinusAbsorptionAtRest.cc:90
G4KaonMinus::KaonMinus
static G4KaonMinus * KaonMinus()
Definition:
G4KaonMinus.cc:113
G4Material::GetZ
G4double GetZ() const
Definition:
G4Material.cc:604
G4Material::GetNumberOfElements
size_t GetNumberOfElements() const
Definition:
G4Material.hh:185
G4Nucleus
Definition:
G4Nucleus.hh:51
G4ParticleDefinition
Definition:
G4ParticleDefinition.hh:68
G4Step
Definition:
G4Step.hh:78
G4String
Definition:
G4String.hh:105
G4Track
Definition:
G4Track.hh:72
G4Track::GetMaterial
G4Material * GetMaterial() const
G4VParticleChange
Definition:
G4VParticleChange.hh:95
G4VRestProcess
Definition:
G4VRestProcess.hh:61
globals.hh
DBL_MAX
#define DBL_MAX
Definition:
templates.hh:83
geant4-v9.6.0
source
processes
hadronic
stopping
include
G4KaonMinusAbsorptionAtRest.hh
Generated by
1.9.6