00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // ------------------------------------------------------------------- 00029 // 00030 // GEANT4 Class header file 00031 // 00032 // 00033 // File name: G4ModifiedTsai 00034 // 00035 // Author: Andreia Trindade (andreia@lip.pt) 00036 // Pedro Rodrigues (psilva@lip.pt) 00037 // Luis Peralta (luis@lip.pt) 00038 // 00039 // Creation date: 21 March 2003 00040 // 00041 // Modifications: 00042 // 21 Mar 2003 A.Trindade First implementation acording with new design 00043 // 24 Mar 2003 A.Trindade Fix in Tsai generator in order to prevent theta 00044 // generation above pi 00045 // 13 Oct 2010 V.Ivanchenko Moved to standard and improved comment 00046 // 00047 // Class Description: 00048 // 00049 // Bremsstrahlung Angular Distribution Generation 00050 // suggested by L.Urban (Geant3 manual (1993) Phys211) 00051 // Derived from Tsai distribution (Rev Mod Phys 49,421(1977)) 00052 // 00053 // ------------------------------------------------------------------- 00054 // 00055 00056 #ifndef G4ModifiedTsai_h 00057 #define G4ModifiedTsai_h 1 00058 00059 #include "G4ios.hh" 00060 #include "globals.hh" 00061 #include "G4VBremAngularDistribution.hh" 00062 #include "G4VEmAngularDistribution.hh" 00063 00064 class G4ModifiedTsai : public G4VEmAngularDistribution 00065 { 00066 00067 public: 00068 00069 G4ModifiedTsai(const G4String& name = ""); 00070 00071 virtual ~G4ModifiedTsai(); 00072 00073 virtual G4ThreeVector& SampleDirection(const G4DynamicParticle* dp, 00074 G4double out_energy, 00075 G4int Z, 00076 const G4Material* mat = 0); 00077 00078 void PrintGeneratorInformation() const; 00079 00080 private: 00081 00082 // hide assignment operator 00083 G4ModifiedTsai & operator=(const G4ModifiedTsai &right); 00084 G4ModifiedTsai(const G4ModifiedTsai&); 00085 00086 }; 00087 00088 #endif 00089