Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // >> 26 // $Id: G4SauterGavrilaAngularDistribution.hh 66241 2012-12-13 18:34:42Z gunter $ 26 // 27 // 27 // ------------------------------------------- 28 // ------------------------------------------------------------------- 28 // 29 // 29 // GEANT4 Class header file 30 // GEANT4 Class header file 30 // 31 // 31 // 32 // 32 // File name: G4SauterGavrilaAngularDistribut 33 // File name: G4SauterGavrilaAngularDistribution 33 // 34 // 34 // Author: Vladimir Ivanchenko using Miche 35 // Author: Vladimir Ivanchenko using Michel Maire algorithm 35 // developed for Geant3 36 // developed for Geant3 36 // 37 // 37 // Creation date: 23 July 2012 38 // Creation date: 23 July 2012 38 // 39 // 39 // Class Description: 40 // Class Description: 40 // 41 // 41 // Photoelectric Angular Distribution Generati 42 // Photoelectric Angular Distribution Generation 42 // The Sauter-Gavrila distribution for the K-s 43 // The Sauter-Gavrila distribution for the K-shell is used. 43 // 44 // 44 // ------------------------------------------- 45 // ------------------------------------------------------------------- 45 // 46 // 46 47 47 #ifndef G4SauterGavrilaAngularDistribution_h 48 #ifndef G4SauterGavrilaAngularDistribution_h 48 #define G4SauterGavrilaAngularDistribution_h 1 49 #define G4SauterGavrilaAngularDistribution_h 1 49 50 >> 51 #include "G4ios.hh" >> 52 #include "globals.hh" 50 #include "G4VEmAngularDistribution.hh" 53 #include "G4VEmAngularDistribution.hh" 51 54 52 class G4SauterGavrilaAngularDistribution : pub 55 class G4SauterGavrilaAngularDistribution : public G4VEmAngularDistribution 53 { 56 { 54 57 55 public: 58 public: 56 59 57 explicit G4SauterGavrilaAngularDistribution( << 60 G4SauterGavrilaAngularDistribution(); 58 61 59 ~G4SauterGavrilaAngularDistribution() overri << 62 virtual ~G4SauterGavrilaAngularDistribution(); 60 63 61 G4ThreeVector& SampleDirection(const G4Dynam << 64 virtual G4ThreeVector& SampleDirection(const G4DynamicParticle* dp, 62 G4double e = << 65 G4double e = 0.0, 63 G4int shellId << 66 G4int shellId = 0, 64 const G4Mater << 67 const G4Material* mat = 0); 65 68 66 void PrintGeneratorInformation() const overr << 69 void PrintGeneratorInformation() const; >> 70 >> 71 private: 67 72 68 // hide assignment operator 73 // hide assignment operator 69 G4SauterGavrilaAngularDistribution & operato << 74 G4SauterGavrilaAngularDistribution & operator=(const G4SauterGavrilaAngularDistribution &right); 70 (const G4SauterGavrilaAngularDistribution & << 75 G4SauterGavrilaAngularDistribution(const G4SauterGavrilaAngularDistribution&); 71 G4SauterGavrilaAngularDistribution(const G4 << 72 76 73 }; 77 }; 74 78 75 #endif 79 #endif 76 80 77 81