Geant4-11
G4RayleighAngularGenerator.hh
Go to the documentation of this file.
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// -------------------------------------------------------------------
28//
29// GEANT4 Class file
30//
31//
32// File name: G4RayleighAngularGenerator
33//
34// Author: Ivantchenko (antoni@cern.ch, vnivanch@cern.ch)
35// modified fit formulas from Dermott E. Cullen,
36// Nucl. Instrum. Meth. Phys. Res. B v.101, (4),499-510.
37//
38//
39// Creation date: 31 May 2012
40//
41// Modifications:
42//
43//
44// Class Description:
45//
46// Class for Rayleigh Scattering angle sampling
47//
48// -------------------------------------------------------------------
49//
50
51#ifndef G4RayleighAngularGenerator_h
52#define G4RayleighAngularGenerator_h 1
53
55#include "globals.hh"
56#include "G4DynamicParticle.hh"
57#include "G4ThreeVector.hh"
58
60{
61public:
64
66 G4double out_energy,
67 G4int Z,
68 const G4Material* mat = nullptr) override;
71
72private:
73 // static data
74 static const G4double PP0[101];
75 static const G4double PP1[101];
76 static const G4double PP2[101];
77 static const G4double PP3[101];
78 static const G4double PP4[101];
79 static const G4double PP5[101];
80 static const G4double PP6[101];
81 static const G4double PP7[101];
82 static const G4double PP8[101];
83
85
86};
87
88
89#endif
90
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
const G4int Z[17]
static const G4double PP2[101]
static const G4double PP1[101]
static const G4double PP8[101]
G4ThreeVector & SampleDirection(const G4DynamicParticle *dp, G4double out_energy, G4int Z, const G4Material *mat=nullptr) override
static const G4double PP5[101]
static const G4double PP0[101]
G4RayleighAngularGenerator(const G4RayleighAngularGenerator &)=delete
static const G4double PP7[101]
static const G4double PP3[101]
static const G4double PP6[101]
static const G4double PP4[101]
G4RayleighAngularGenerator & operator=(const G4RayleighAngularGenerator &right)=delete