Geant4 Cross Reference |
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: G4PolarizedAnnihilation 31 // 32 // Author: A. Schaelicke on base of Vladimir Ivanchenko / Michel Maire code 33 // 34 // Class Description: 35 // Polarized process of e+ annihilation into 2 gammas 36 // 37 // ------------------------------------------------------------------- 38 39 #ifndef G4PolarizedAnnihilation_h 40 #define G4PolarizedAnnihilation_h 1 41 42 #include "globals.hh" 43 #include "G4eplusAnnihilation.hh" 44 45 class G4PolarizedAnnihilationModel; 46 47 class G4PolarizedAnnihilation : public G4eplusAnnihilation 48 { 49 public: 50 explicit G4PolarizedAnnihilation(const G4String& name = "pol-annihil"); 51 52 virtual ~G4PolarizedAnnihilation() override; 53 54 virtual void ProcessDescription(std::ostream&) const override; 55 virtual void DumpInfo() const override { ProcessDescription(G4cout); }; 56 57 virtual G4double GetMeanFreePath(const G4Track& track, 58 G4double previousStepSize, 59 G4ForceCondition* condition) override; 60 61 virtual G4double PostStepGetPhysicalInteractionLength( 62 const G4Track& track, G4double previousStepSize, 63 G4ForceCondition* condition) override; 64 65 virtual void BuildPhysicsTable(const G4ParticleDefinition&) override; 66 67 G4PolarizedAnnihilation& operator=(const G4PolarizedAnnihilation& right) = 68 delete; 69 G4PolarizedAnnihilation(const G4PolarizedAnnihilation&) = delete; 70 71 private: 72 void CleanTables(); 73 74 void BuildAsymmetryTables(const G4ParticleDefinition& part); 75 76 G4double ComputeAsymmetry(G4double energy, const G4MaterialCutsCouple* couple, 77 const G4ParticleDefinition& particle, G4double cut, 78 G4double& tasm); 79 80 G4double ComputeSaturationFactor(const G4Track& aTrack); 81 82 G4PolarizedAnnihilationModel* fEmModel; 83 84 // table for cross section asymmetry 85 G4PhysicsTable* fAsymmetryTable; 86 // table for transverse cross section asymmetry 87 G4PhysicsTable* fTransverseAsymmetryTable; 88 }; 89 90 #endif 91