source: trunk/source/processes/electromagnetic/lowenergy/include/G4PenelopeBremsstrahlungContinuous.hh@ 1201

Last change on this file since 1201 was 1196, checked in by garnier, 16 years ago

update CVS release candidate geant4.9.3.01

File size: 3.4 KB
RevLine 
[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//
27// -------------------------------------------------------------------
[961]28// $Id: G4PenelopeBremsstrahlungContinuous.hh,v 1.4 2008/12/09 15:04:05 pandola Exp $
[1196]29// GEANT4 tag $Name: geant4-09-03-cand-01 $
[819]30//
31// Author: L.Pandola
32//
33// History:
34// -----------
35// 20 Feb 2003 L. Pandola 1st implementation
36// 17 Mar 2003 L. Pandola Added the correction for positrons
[961]37// 09 Dec 2008 L. Pandola Cosmetics: say what variables are
38//
[819]39// Class description:
40// Calculation of continuous energy loss for Penelope Bremsstrahlung
41// It is used both for electrons and positrons
42// --------------------------------------------------------------
43
44
45#ifndef G4PENELOPEBREMSSTRAHLUNGCONTINUOUS_HH
46#define G4PENELOPEBREMSSTRAHLUNGCONTINUOUS_HH 1
47#include "globals.hh"
48
49class G4PenelopeBremsstrahlungContinuous
50{
51private:
52 enum{ NumberofEPoints=57,
53 NumberofKPoints=32,
54 NumberofExtendedEGrid=200};
55
56public:
57
[961]58 G4PenelopeBremsstrahlungContinuous(G4int Z,G4double energyCut, G4double energyMin,
59 G4double energyMax,
60 const G4String particleName);
[819]61 ~G4PenelopeBremsstrahlungContinuous();
[961]62 G4double CalculateStopping(G4double energy);
[819]63
64private:
65 void PrepareInterpolationTable();
66 void LoadFromFile();
67 G4double PositronCorrection(G4double energy); //correction function for positrons
68
69 G4int Zmat;
70 G4double tCut;
71 G4double MinE,MaxE;
72 const G4String partName;
73 G4double DLFC; //needed for calculation of extended energy grid
74 G4double Energies[NumberofEPoints];
75 G4double ReducedCS[NumberofEPoints][NumberofKPoints];
76 G4double TotalCS[NumberofEPoints];
77 G4double ExtendedLogEnergy[NumberofExtendedEGrid];
78 G4double p0[NumberofExtendedEGrid][NumberofKPoints];
[961]79 //G4double Pbcut[NumberofExtendedEGrid]; //useful?
[819]80};
81
82
83
84#endif
Note: See TracBrowser for help on using the repository browser.