| [819] | 1 | //
|
|---|
| 2 | // ********************************************************************
|
|---|
| 3 | // * License and Disclaimer *
|
|---|
| 4 | // * *
|
|---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of *
|
|---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and *
|
|---|
| 7 | // * conditions of the Geant4 Software License, included in the file *
|
|---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These *
|
|---|
| 9 | // * include a list of copyright holders. *
|
|---|
| 10 | // * *
|
|---|
| 11 | // * Neither the authors of this software system, nor their employing *
|
|---|
| 12 | // * institutes,nor the agencies providing financial support for this *
|
|---|
| 13 | // * work make any representation or warranty, express or implied, *
|
|---|
| 14 | // * regarding this software system or assume any liability for its *
|
|---|
| 15 | // * use. Please see the license in the file LICENSE and URL above *
|
|---|
| 16 | // * for the full disclaimer and the limitation of liability. *
|
|---|
| 17 | // * *
|
|---|
| 18 | // * This code implementation is the result of the scientific and *
|
|---|
| 19 | // * technical work of the GEANT4 collaboration. *
|
|---|
| 20 | // * By using, copying, modifying or distributing the software (or *
|
|---|
| 21 | // * any work based on the software) you agree to acknowledge its *
|
|---|
| 22 | // * use in resulting scientific publications, and indicate your *
|
|---|
| 23 | // * acceptance of all terms of the Geant4 Software license. *
|
|---|
| 24 | // ********************************************************************
|
|---|
| 25 | //
|
|---|
| 26 | // $Id: G4ePolarizedBremsstrahlung.cc,v 1.3 2007/05/23 08:52:20 vnivanch Exp $
|
|---|
| [1196] | 27 | // GEANT4 tag $Name: geant4-09-03-cand-01 $
|
|---|
| [819] | 28 | //
|
|---|
| 29 | // -------------------------------------------------------------------
|
|---|
| 30 | //
|
|---|
| 31 | // GEANT4 Class file
|
|---|
| 32 | //
|
|---|
| 33 | //
|
|---|
| 34 | // File name: G4eBremsstrahlung
|
|---|
| 35 | //
|
|---|
| 36 | // Author: Karim Laihem
|
|---|
| 37 | //
|
|---|
| 38 | // Creation date: 26.06.2005
|
|---|
| 39 | //
|
|---|
| 40 | // Modifications:
|
|---|
| 41 | // 19-08-06 addapted to accomodate geant481 structure
|
|---|
| 42 | //
|
|---|
| 43 | // -------------------------------------------------------------------
|
|---|
| 44 | //
|
|---|
| 45 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 46 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 47 |
|
|---|
| 48 | #include "G4ePolarizedBremsstrahlung.hh"
|
|---|
| 49 | #include "G4Gamma.hh"
|
|---|
| 50 | #include "G4ePolarizedBremsstrahlungModel.hh"
|
|---|
| 51 | #include "G4UniversalFluctuation.hh"
|
|---|
| 52 | #include "G4UnitsTable.hh"
|
|---|
| 53 | #include "G4LossTableManager.hh"
|
|---|
| 54 |
|
|---|
| 55 | #include "G4ProductionCutsTable.hh"
|
|---|
| 56 | #include "G4MaterialCutsCouple.hh"
|
|---|
| 57 |
|
|---|
| 58 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 59 |
|
|---|
| 60 | G4ePolarizedBremsstrahlung::G4ePolarizedBremsstrahlung(const G4String& name):
|
|---|
| 61 | G4eBremsstrahlung(name)
|
|---|
| 62 | {}
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 | void G4ePolarizedBremsstrahlung::InitialiseEnergyLossProcess(const G4ParticleDefinition* p,
|
|---|
| 66 | const G4ParticleDefinition*)
|
|---|
| 67 | {
|
|---|
| 68 | if(!isInitialised) {
|
|---|
| 69 | isInitialised = true;
|
|---|
| 70 | particle = p;
|
|---|
| 71 | SetSecondaryParticle(G4Gamma::Gamma());
|
|---|
| 72 | SetIonisation(false);
|
|---|
| 73 |
|
|---|
| 74 | //G4VEmFluctuationModel* fm = 0;
|
|---|
| 75 | G4VEmFluctuationModel* fm = new G4UniversalFluctuation();
|
|---|
| 76 |
|
|---|
| 77 | G4VEmModel* em = new G4ePolarizedBremsstrahlungModel;
|
|---|
| 78 | em->SetLowEnergyLimit(0.1*keV);
|
|---|
| 79 | em->SetHighEnergyLimit(100.0*TeV);
|
|---|
| 80 | AddEmModel(1, em, fm);
|
|---|
| 81 | }
|
|---|
| 82 | }
|
|---|