Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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// $Id: G4RayleighAngularGenerator.hh,v 1.1 2012-12-31 18:34:15 antoni Exp $
27// GEANT4 tag $Name: not supported by svn $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class file
32//
33//
34// File name: G4RayleighAngularGenerator
35//
36// Author: Ivantchenko (antoni@cern.ch, vnivanch@cern.ch)
37// modified fit formulas from Dermott E. Cullen,
38// Nucl. Instrum. Meth. Phys. Res. B v.101, (4),499-510.
39//
40//
41// Creation date: 31 May 2012
42//
43// Modifications:
44//
45//
46// Class Description:
47//
48// Class for Rayleigh Scattering angle sampling
49//
50// -------------------------------------------------------------------
51//
52
53#ifndef G4RayleighAngularGenerator_h
54#define G4RayleighAngularGenerator_h 1
55
57#include "globals.hh"
58#include "G4DynamicParticle.hh"
59#include "G4ThreeVector.hh"
60
62{
63public:
64
66
68
70 G4double out_energy,
71 G4int Z,
72 const G4Material* mat = 0);
73private:
74
75 // hide assignment operator
78
79 // static data
80 static const G4double PP0[101];
81 static const G4double PP1[101];
82 static const G4double PP2[101];
83 static const G4double PP3[101];
84 static const G4double PP4[101];
85 static const G4double PP5[101];
86 static const G4double PP6[101];
87 static const G4double PP7[101];
88 static const G4double PP8[101];
89
90 G4double fFactor;
91
92};
93
94
95#endif
96
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
virtual G4ThreeVector & SampleDirection(const G4DynamicParticle *dp, G4double out_energy, G4int Z, const G4Material *mat=0)