Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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$
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
62
64{
65
66public:
67
68 G4eplusPolarizedAnnihilation(const G4String& name = "pol-annihil");
69
71
73
75 const G4Track& track,
76 const G4Step& stepData);
77
79 const G4Track& track,
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,
92
94 const G4Track& track,
95 G4double previousStepSize,
97 );
98
99 virtual void BuildPhysicsTable(const G4ParticleDefinition&);
101 virtual void PreparePhysicsTable(const G4ParticleDefinition&);
102
104 const G4MaterialCutsCouple* couple,
105 const G4ParticleDefinition& particle,
106 G4double cut,
107 G4double &tasm);
108
109protected:
110
111 virtual void InitialiseProcess(const G4ParticleDefinition*);
112
113private:
114
115 G4bool isInitialised;
116
117 // for polarization:
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
129{
130 return (&p == G4Positron::Positron());
131}
132
133//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
134
137{
139 return 0.0;
140}
141
142//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
143
144#endif
G4double condition(const G4ErrorSymMatrix &m)
G4ForceCondition
@ NotForced
double G4double
Definition: G4Types.hh:64
bool G4bool
Definition: G4Types.hh:67
static G4Positron * Positron()
Definition: G4Positron.cc:94
Definition: G4Step.hh:78
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
virtual G4VParticleChange * AtRestDoIt(const G4Track &track, const G4Step &stepData)
G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *condition)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
G4double GetMeanFreePath(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual G4bool IsApplicable(const G4ParticleDefinition &p)
virtual void InitialiseProcess(const G4ParticleDefinition *)
void BuildAsymmetryTable(const G4ParticleDefinition &part)
G4double ComputeAsymmetry(G4double energy, const G4MaterialCutsCouple *couple, const G4ParticleDefinition &particle, G4double cut, G4double &tasm)