Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4AtimaFluctuations.hh
이 파일의 문서화 페이지로 가기
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: G4AtimaFluctuations.hh $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 //
33 // File name: G4AtimaFluctuations
34 //
35 // Author: Jose Luis Rodriguez Sanchez on base of ATIMA code
36 //
37 // Creation date: 16.01.2018
38 //
39 // Modifications:
40 //
41 //
42 // Class Description:
43 //
44 // Implementation of ion energy loss fluctuations
45 //
46 // -------------------------------------------------------------------
47 //
48 
49 #ifndef G4AtimaFluctuations_h
50 #define G4AtimaFluctuations_h 1
51 
52 
53 #include "G4VEmFluctuationModel.hh"
54 #include "G4ParticleDefinition.hh"
56 
57 class G4Pow;
58 
60 {
61 
62 public:
63 
64  explicit G4AtimaFluctuations(const G4String& nam = "IonFlucAtima");
65 
66  virtual ~G4AtimaFluctuations();
67 
68  // Sample fluctuations
70  const G4DynamicParticle*,
71  G4double tmax,
72  G4double length,
73  G4double meanLoss) override;
74 
75  // Compute dispertion
76  virtual G4double Dispersion(const G4Material*,
77  const G4DynamicParticle*,
78  G4double tmax,
79  G4double length) override;
80 
81  // Initialisation prerun
82  virtual void InitialiseMe(const G4ParticleDefinition*) override;
83 
84  // Initialisation prestep
85  virtual void SetParticleAndCharge(const G4ParticleDefinition*,
86  G4double q2) override;
87 
88 private:
89 
90  G4double EnergyTable_interpolate(const G4double* table,G4double xval, const G4double* y);
91 
92  // hide assignment operator
95 
98 
100 
105 
112 
113  static G4double stepE;
114  static G4double tableE[200];
115  static const G4double ls_X_coefficients_a[110][200];
116  static const G4double ls_X_coefficients_ahi[110][200];
117  static const G4double element_atomic_weights[110];
118 
119  // data members to speed up the fluctuation calculation
121  // cash
124 };
125 
126 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
127 
128 #endif
129 
virtual G4double Dispersion(const G4Material *, const G4DynamicParticle *, G4double tmax, G4double length) override
Float_t y
Definition: compare.C:6
G4double EnergyTable_interpolate(const G4double *table, G4double xval, const G4double *y)
double G4double
Definition: G4Types.hh:76
static G4double tableE[200]
static const G4double ls_X_coefficients_ahi[110][200]
virtual void InitialiseMe(const G4ParticleDefinition *) override
G4AtimaFluctuations & operator=(const G4AtimaFluctuations &right)=delete
virtual void SetParticleAndCharge(const G4ParticleDefinition *, G4double q2) override
G4AtimaFluctuations(const G4String &nam="IonFlucAtima")
static const G4double element_atomic_weights[110]
static const G4double ls_X_coefficients_a[110][200]
Definition: G4Pow.hh:56
G4UniversalFluctuation uniFluct
virtual G4double SampleFluctuations(const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmax, G4double length, G4double meanLoss) override
const G4ParticleDefinition * particle