|
||||
Warning, file /include/Geant4/G4PenelopeBremsstrahlungAngular.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 // ------------------------------------------------------------------- 0028 // 0029 // Author: L.Pandola 0030 // 0031 // History: 0032 // ----------- 0033 // 23 Nov 2010 L. Pandola 1st implementation 0034 // 24 May 2011 L. Pandola Renamed (make default Penelope) 0035 // 13 Mar 2012 L. Pandola Made a derived class of G4VEmAngularDistribution 0036 // and update the interface accordingly 0037 // 18 Jul 2012 L. Pandola Migrate to the new interface of G4VEmAngularDistribution 0038 // 03 Oct 2013 L. Pandola Migration to MT 0039 // 0040 // Class description: 0041 // Calculation of angular distribution for Penelope Bremsstrahlung 0042 // version 2008 0043 // -------------------------------------------------------------- 0044 0045 0046 #ifndef G4PENELOPEBREMSSTRAHLUNGANGULAR_HH 0047 #define G4PENELOPEBREMSSTRAHLUNGANGULAR_HH 1 0048 #include "globals.hh" 0049 #include <map> 0050 #include "G4VEmAngularDistribution.hh" 0051 0052 class G4PhysicsTable; 0053 class G4Material; 0054 0055 class G4PenelopeBremsstrahlungAngular : public G4VEmAngularDistribution 0056 { 0057 public: 0058 explicit G4PenelopeBremsstrahlungAngular(); 0059 ~G4PenelopeBremsstrahlungAngular(); 0060 0061 //! Samples the direction of the outgoing photon (in global coordinates). 0062 G4ThreeVector& SampleDirection(const G4DynamicParticle* dp, 0063 G4double out_energy, 0064 G4int Z, 0065 const G4Material* mat = nullptr) override; 0066 0067 //! Set/Get Verbosity level 0068 void SetVerbosityLevel(G4int vl){fVerbosityLevel = vl;}; 0069 G4int GetVerbosityLevel(){return fVerbosityLevel;}; 0070 0071 //! Reserved for Master Model 0072 //! The Initialize() method forces the cleaning of tables 0073 void Initialize(); 0074 //! Reserved for Master Model 0075 void PrepareTables(const G4Material* material, 0076 G4bool isMaster); 0077 0078 private: 0079 void ClearTables(); 0080 G4double CalculateEffectiveZ(const G4Material* material); 0081 void ReadDataFile(); 0082 0083 std::map<const G4Material*,G4double> *fEffectiveZSq; 0084 0085 //Tables containing the Lorentz sampling coefficients 0086 //The key is the effective Z of the material 0087 std::map<G4double,G4PhysicsTable*> *fLorentzTables1; 0088 std::map<G4double,G4PhysicsTable*> *fLorentzTables2; 0089 0090 static const G4int fNumberofZPoints=6; 0091 static const G4int fNumberofEPoints=6; 0092 static const G4int fNumberofKPoints=4; 0093 0094 G4double fQQ1[fNumberofZPoints][fNumberofEPoints][fNumberofKPoints]; 0095 G4double fQQ2[fNumberofZPoints][fNumberofEPoints][fNumberofKPoints]; 0096 0097 G4int fVerbosityLevel; 0098 G4bool fDataRead; 0099 }; 0100 0101 0102 0103 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |