Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
processes
electromagnetic
polarisation
include
G4eplusPolarizedAnnihilation.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
// $Id: G4eplusPolarizedAnnihilation.hh 69847 2013-05-16 09:36:18Z gcosmo $
27
//
28
// -------------------------------------------------------------------
29
//
30
// GEANT4 Class header file
31
//
32
//
33
// File name: G4eplusPolarizedAnnihilation
34
//
35
// Author: A. Schaelicke on base of Vladimir Ivanchenko / Michel Maire code
36
//
37
// Creation date: 02.07.2006
38
//
39
// Modifications:
40
// 26-07-06 modified cross section (P. Starovoitov)
41
// 21-08-06 interface updated (A. Schaelicke)
42
// 11-06-07, add PostStepGetPhysicalInteractionLength (A.Schalicke)
43
//
44
//
45
// Class Description:
46
//
47
// Polarized process of e+ annihilation into 2 gammas
48
//
49
50
// -------------------------------------------------------------------
51
//
52
53
#ifndef G4eplusPolarizedAnnihilation_h
54
#define G4eplusPolarizedAnnihilation_h 1
55
56
#include "
G4VEmProcess.hh
"
57
#include "
G4Positron.hh
"
58
#include "
G4VEmModel.hh
"
59
60
61
class
G4PolarizedAnnihilationModel
;
62
63
class
G4eplusPolarizedAnnihilation
:
public
G4VEmProcess
64
{
65
66
public
:
67
68
G4eplusPolarizedAnnihilation
(
const
G4String
&
name
=
"pol-annihil"
);
69
70
virtual
~G4eplusPolarizedAnnihilation
();
71
72
virtual
G4bool
IsApplicable
(
const
G4ParticleDefinition
&
p
);
73
74
virtual
G4VParticleChange
*
AtRestDoIt
(
75
const
G4Track
& track,
76
const
G4Step
& stepData);
77
78
G4double
AtRestGetPhysicalInteractionLength
(
79
const
G4Track
& track,
80
G4ForceCondition
*
condition
81
);
82
83
// Print out of the class parameters
84
virtual
void
PrintInfo
();
85
86
// for polarization
87
// G4VParticleChange* PostStepDoIt(const G4Track&, const G4Step&);
88
89
G4double
GetMeanFreePath
(
const
G4Track
& track,
90
G4double
previousStepSize,
91
G4ForceCondition
* condition);
92
93
G4double
PostStepGetPhysicalInteractionLength
(
94
const
G4Track
& track,
95
G4double
previousStepSize,
96
G4ForceCondition
* condition
97
);
98
99
virtual
void
BuildPhysicsTable
(
const
G4ParticleDefinition
&);
100
void
BuildAsymmetryTable
(
const
G4ParticleDefinition
&
part
);
101
virtual
void
PreparePhysicsTable
(
const
G4ParticleDefinition
&);
102
103
G4double
ComputeAsymmetry
(
G4double
energy
,
104
const
G4MaterialCutsCouple
* couple,
105
const
G4ParticleDefinition
& particle,
106
G4double
cut,
107
G4double
&tasm);
108
109
protected
:
110
111
virtual
void
InitialiseProcess
(
const
G4ParticleDefinition
*);
112
113
private
:
114
115
G4bool
isInitialised;
116
117
// for polarization:
118
G4PolarizedAnnihilationModel
* emModel;
119
G4ThreeVector
theTargetPolarization;
120
121
G4PhysicsTable
* theAsymmetryTable;
// table for cross section assym.
122
G4PhysicsTable
* theTransverseAsymmetryTable;
// table for transverse cross section assym.
123
};
124
125
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
126
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
127
128
inline
G4bool
G4eplusPolarizedAnnihilation::IsApplicable
(
const
G4ParticleDefinition
&
p
)
129
{
130
return
(&p ==
G4Positron::Positron
());
131
}
132
133
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
134
135
inline
G4double
G4eplusPolarizedAnnihilation::AtRestGetPhysicalInteractionLength
(
136
const
G4Track
&,
G4ForceCondition
*
condition
)
137
{
138
*condition =
NotForced
;
139
return
0.0;
140
}
141
142
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
143
144
#endif
Generated on Sat May 25 2013 14:33:35 for Geant4 by
1.8.4