source: trunk/source/processes/electromagnetic/lowenergy/include/G4Generator2BN.hh@ 1346

Last change on this file since 1346 was 1340, checked in by garnier, 15 years ago

update ti head

File size: 3.8 KB
Line 
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: G4Generator2BN.hh,v 1.4 2010/10/14 14:00:29 vnivanch Exp $
27// GEANT4 tag $Name: emlowen-V09-03-54 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class file
32//
33//
34// File name: G4Generator2BN
35//
36// Author: Andreia Trindade (andreia@lip.pt)
37// Pedro Rodrigues (psilva@lip.pt)
38// Luis Peralta (luis@lip.pt)
39//
40// Creation date: 2 June 2003
41//
42// Modifications:
43// 02 Jun 2003 First implementation acording with new design
44// 07 Nov 2003 Lockup tables for fast initialization
45//
46//
47// Class Description:
48//
49// Concrete class for Bremsstrahlung Angular Distribution Generation - 2BN Distribution
50// Further documentation available from http://www.ge.infn.it/geant4/lowE
51
52// -------------------------------------------------------------------
53//
54
55#ifndef G4Generator2BN_h
56#define G4Generator2BN_h 1
57
58#include "G4ios.hh"
59#include "globals.hh"
60#include "G4VBremAngularDistribution.hh"
61
62class G4Generator2BN : public G4VBremAngularDistribution
63{
64
65public:
66
67 G4Generator2BN(const G4String& name = "");
68
69 virtual ~G4Generator2BN();
70
71 G4double PolarAngle(const G4double initial_energy,
72 const G4double final_energy,
73 const G4int Z);
74
75 void PrintGeneratorInformation() const;
76
77public:
78
79 void SetInterpolationThetaIncrement(G4double increment) {dtheta = increment;};
80 G4double GetInterpolationThetaIncrement() {return dtheta;};
81
82 void SetGammaCutValue(G4double cutValue) {kcut = cutValue;};
83 G4double GetGammaCutValue() {return kcut;};
84
85 void ConstructMajorantSurface();
86
87protected:
88
89 G4double CalculateFkt(G4double k, G4double theta, G4double A, G4double c) const;
90 G4double Calculatedsdkdt(G4double kout, G4double theta, G4double Eel) const;
91 G4double Generate2BN(G4double Ek, G4double k) const;
92
93
94private:
95
96 G4double b;
97 G4int index_min, index_max;
98 G4double kmin, Ekmin;
99 G4double dtheta;
100 G4double kcut;
101 static G4double Atab[320];
102 static G4double ctab[320];
103
104 // hide assignment operator
105 G4Generator2BN & operator=(const G4Generator2BN &right);
106 G4Generator2BN(const G4Generator2BN&);
107
108};
109
110#endif
111
Note: See TracBrowser for help on using the repository browser.