G4ePolarizedBremsstrahlung.cc

Go to the documentation of this file.
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: G4ePolarizedBremsstrahlung.cc 69847 2013-05-16 09:36:18Z gcosmo $
00027 //
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class file
00031 //
00032 //
00033 // File name:     G4eBremsstrahlung
00034 //
00035 // Author:        Karim Laihem
00036 //
00037 // Creation date: 26.06.2005
00038 //
00039 // Modifications:
00040 //    19-08-06 addapted to accomodate geant481 structure
00041 //
00042 // -------------------------------------------------------------------
00043 //
00044 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00045 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00046 
00047 #include "G4ePolarizedBremsstrahlung.hh"
00048 #include "G4SystemOfUnits.hh"
00049 #include "G4Gamma.hh"
00050 #include "G4ePolarizedBremsstrahlungModel.hh"
00051 #include "G4UniversalFluctuation.hh"
00052 #include "G4UnitsTable.hh"
00053 #include "G4LossTableManager.hh"
00054 
00055 #include "G4ProductionCutsTable.hh"
00056 #include "G4MaterialCutsCouple.hh"
00057 
00058 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00059  
00060 G4ePolarizedBremsstrahlung::G4ePolarizedBremsstrahlung(const G4String& name):
00061   G4eBremsstrahlung(name)
00062 {}
00063 
00064 
00065 void G4ePolarizedBremsstrahlung::InitialiseEnergyLossProcess(const G4ParticleDefinition*,
00066                                                              const G4ParticleDefinition*)
00067 {
00068   if(!isInitialised) {
00069     isInitialised = true;
00070     SetSecondaryParticle(G4Gamma::Gamma());
00071     SetIonisation(false);
00072 
00073     //G4VEmFluctuationModel* fm =  0;
00074     G4VEmFluctuationModel* fm = new G4UniversalFluctuation();
00075 
00076     G4VEmModel* em = new G4ePolarizedBremsstrahlungModel;
00077     em->SetLowEnergyLimit(0.1*keV);
00078     em->SetHighEnergyLimit(100.0*TeV);
00079     AddEmModel(1, em, fm);
00080   }
00081 }

Generated on Mon May 27 17:48:10 2013 for Geant4 by  doxygen 1.4.7