Geant4-11
G4PolarizedAnnihilationModel.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//
28// Geant4 Class header file
29//
30// File name: G4PolarizedAnnihilationModel
31//
32// Author: Andreas Schaelicke and Pavel Starovoitov
33//
34// Class Description:
35// Implementation of polarized gamma Annihilation scattering on free electron
36//
37// -------------------------------------------------------------------
38
39#ifndef G4PolarizedAnnihilationModel_h
40#define G4PolarizedAnnihilationModel_h 1
41
42#include "globals.hh"
44#include "G4ThreeVector.hh"
45#include "G4StokesVector.hh"
46
52
54{
55 public:
57 const G4ParticleDefinition* p = nullptr,
58 const G4String& nam = "Polarized-Annihilation");
59
60 virtual ~G4PolarizedAnnihilationModel() override;
61
62 virtual void Initialise(const G4ParticleDefinition*,
63 const G4DataVector&) override;
64
65 virtual G4double ComputeCrossSectionPerElectron(G4double kinEnergy) override;
66
67 void ComputeAsymmetriesPerElectron(G4double gammaEnergy, G4double& valueX,
68 G4double& valueA, G4double& valueT);
69
70 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
72 const G4DynamicParticle*, G4double tmin,
73 G4double maxEnergy) final;
74
75 // polarized routines
76 inline void SetTargetPolarization(const G4ThreeVector& pTarget);
77 inline void SetBeamPolarization(const G4ThreeVector& pBeam);
78 inline const G4ThreeVector& GetTargetPolarization() const;
79 inline const G4ThreeVector& GetBeamPolarization() const;
80 inline const G4ThreeVector& GetFinalGamma1Polarization() const;
81 inline const G4ThreeVector& GetFinalGamma2Polarization() const;
82
84 const G4PolarizedAnnihilationModel& right) = delete;
86
87 private:
90
91 // incoming
94 // outgoing
97
99};
100
101//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
102
104 const G4ThreeVector& pTarget)
105{
107}
109 const G4ThreeVector& pBeam)
110{
112}
113inline const G4ThreeVector&
115{
116 return fTargetPolarization;
117}
119 const
120{
121 return fBeamPolarization;
122}
123inline const G4ThreeVector&
125{
127}
128inline const G4ThreeVector&
130{
132}
133
134#endif
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
G4ParticleChangeForGamma * fParticleChange
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
virtual G4double ComputeCrossSectionPerElectron(G4double kinEnergy) override
G4PolarizedAnnihilationModel & operator=(const G4PolarizedAnnihilationModel &right)=delete
void ComputeAsymmetriesPerElectron(G4double gammaEnergy, G4double &valueX, G4double &valueA, G4double &valueT)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) final
const G4ThreeVector & GetTargetPolarization() const
const G4ThreeVector & GetBeamPolarization() const
G4PolarizedAnnihilationModel(const G4ParticleDefinition *p=nullptr, const G4String &nam="Polarized-Annihilation")
const G4ThreeVector & GetFinalGamma2Polarization() const
void SetTargetPolarization(const G4ThreeVector &pTarget)
G4PolarizedAnnihilationXS * fCrossSectionCalculator
void SetBeamPolarization(const G4ThreeVector &pBeam)
const G4ThreeVector & GetFinalGamma1Polarization() const
G4PolarizedAnnihilationModel(const G4PolarizedAnnihilationModel &)=delete