ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4eplusPolarizedAnnihilation.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4eplusPolarizedAnnihilation.hh
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 //
29 // GEANT4 Class header file
30 //
31 //
32 // File name: G4eplusPolarizedAnnihilation
33 //
34 // Author: A. Schaelicke on base of Vladimir Ivanchenko / Michel Maire code
35 //
36 // Creation date: 02.07.2006
37 //
38 // Modifications:
39 // 26-07-06 modified cross section (P. Starovoitov)
40 // 21-08-06 interface updated (A. Schaelicke)
41 // 11-06-07, add PostStepGetPhysicalInteractionLength (A.Schalicke)
42 //
43 //
44 // Class Description:
45 //
46 // Polarized process of e+ annihilation into 2 gammas
47 //
48 
49 // -------------------------------------------------------------------
50 //
51 
52 #ifndef G4eplusPolarizedAnnihilation_h
53 #define G4eplusPolarizedAnnihilation_h 1
54 
55 #include "G4eplusAnnihilation.hh"
56 #include "G4Positron.hh"
57 #include "G4VEmModel.hh"
58 
59 
61 
63 {
64 
65 public:
66 
67  explicit G4eplusPolarizedAnnihilation(const G4String& name = "pol-annihil");
68 
70 
71  // Print out of the class parameters
72  virtual void PrintInfo() override;
73 
74  virtual G4double GetMeanFreePath(const G4Track& track,
75  G4double previousStepSize,
76  G4ForceCondition* condition) override;
77 
79  const G4Track& track,
80  G4double previousStepSize,
81  G4ForceCondition* condition) override;
82 
83  virtual void BuildPhysicsTable(const G4ParticleDefinition&) override;
84 
85 private:
86 
87  void CleanTables();
88 
90 
92  const G4MaterialCutsCouple* couple,
94  G4double cut,
95  G4double &tasm);
96 
98 
101 
103 
104  // for polarization:
107 
108  G4PhysicsTable* theAsymmetryTable; // table for cross section assym.
109  G4PhysicsTable* theTransverseAsymmetryTable; // table for transverse cross section assym.
110 };
111 
112 #endif