Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // ------------------------------------------- 27 // 28 // Geant4 Class file 29 // 30 // File name: G4PolarizedBremsstrahlung 31 // 32 // Author: Karim Laihem 33 34 #include "G4PolarizedBremsstrahlung.hh" 35 36 #include "G4EmParameters.hh" 37 #include "G4Gamma.hh" 38 #include "G4PolarizedBremsstrahlungModel.hh" 39 40 //....oooOO0OOooo........oooOO0OOooo........oo 41 G4PolarizedBremsstrahlung::G4PolarizedBremsstr 42 : G4eBremsstrahlung(name) 43 {} 44 45 //....oooOO0OOooo........oooOO0OOooo........oo 46 G4PolarizedBremsstrahlung::~G4PolarizedBremsst 47 48 void G4PolarizedBremsstrahlung::ProcessDescrip 49 { 50 out << "Polarized model for bremsstrahlung.\ 51 G4eBremsstrahlung::ProcessDescription(out); 52 } 53 54 //....oooOO0OOooo........oooOO0OOooo........oo 55 void G4PolarizedBremsstrahlung::InitialiseEner 56 const G4ParticleDefinition*, const G4Particl 57 { 58 if(!isInitialised) 59 { 60 isInitialised = true; 61 G4VEmFluctuationModel* fm = nullptr; 62 G4VEmModel* em = new G4PolarizedBre 63 G4EmParameters* param = G4EmParameters::In 64 em->SetLowEnergyLimit(param->MinKinEnergy( 65 em->SetHighEnergyLimit(param->MaxKinEnergy 66 AddEmModel(1, em, fm); 67 } 68 } 69 70 //....oooOO0OOooo........oooOO0OOooo........oo 71