source: trunk/source/processes/electromagnetic/standard/include/G4IonFluctuations.hh @ 846

Last change on this file since 846 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 3.6 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: G4IonFluctuations.hh,v 1.3 2007/09/27 13:53:11 vnivanch Exp $
27// GEANT4 tag $Name:  $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name:     G4IonFluctuations
35//
36// Author:        Vladimir Ivanchenko
37//
38// Creation date: 02.04.2003
39//
40// Modifications:
41//
42// 16-10-03 Changed interface to Initialisation (V.Ivanchenko)
43//
44// Class Description:
45//
46// Implementation of ion energy loss fluctuations
47
48// -------------------------------------------------------------------
49//
50
51#ifndef G4IonFluctuations_h
52#define G4IonFluctuations_h 1
53
54
55#include "G4VEmFluctuationModel.hh"
56
57class G4IonFluctuations : public G4VEmFluctuationModel
58{
59
60public:
61
62  G4IonFluctuations(const G4String& nam = "IonFluc");
63
64  virtual ~G4IonFluctuations();
65
66  G4double SampleFluctuations(const G4Material*,
67                              const G4DynamicParticle*,
68                                    G4double&,
69                                    G4double&,
70                                    G4double&);
71
72  G4double Dispersion(    const G4Material*,
73                          const G4DynamicParticle*,
74                                G4double&,
75                                G4double&);
76
77  void InitialiseMe(const G4ParticleDefinition*);
78
79private:
80
81  G4double CoeffitientA(G4double&);
82  G4double CoeffitientB(const G4Material*, G4double&);
83  G4double RelativisticFactor(const G4Material*, G4double&);
84
85  // hide assignment operator
86  G4IonFluctuations & operator=(const  G4IonFluctuations &right);
87  G4IonFluctuations(const  G4IonFluctuations&);
88
89  const G4ParticleDefinition* particle;
90
91  G4double particleMass;
92  G4double charge;
93  G4double chargeSquare;
94  G4double chargeSqRatio;
95
96  // data members to speed up the fluctuation calculation
97  G4double minNumberInteractionsBohr;
98  G4double theBohrBeta2;
99  G4double minFraction;
100  G4double xmin;
101  G4double minLoss;
102  // cash
103  G4double kineticEnergy;
104  G4double beta2;
105};
106
107//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
108
109#endif
110
Note: See TracBrowser for help on using the repository browser.