Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4WentzelVIRelModel.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: G4WentzelVIRelModel.hh 104307 2017-05-24 09:01:45Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 //
31 // GEANT4 Class header file
32 //
33 //
34 // File name: G4WentzelVIRelModel
35 //
36 // Author: V.Ivanchenko
37 //
38 // Creation date: 08.06.2012 from G4WentzelVIModel
39 //
40 // Modifications:
41 //
42 // Class Description:
43 //
44 // Implementation of the model of multiple scattering based on
45 // G.Wentzel, Z. Phys. 40 (1927) 590.
46 // H.W.Lewis, Phys Rev 78 (1950) 526.
47 // J.M. Fernandez-Varea et al., NIM B73 (1993) 447.
48 // L.Urban, CERN-OPEN-2006-077.
49 
50 // -------------------------------------------------------------------
51 //
52 
53 #ifndef G4WentzelVIRelModel_h
54 #define G4WentzelVIRelModel_h 1
55 
56 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
57 
58 #include "G4WentzelVIModel.hh"
59 #include "G4Threading.hh"
60 #include <vector>
61 
62 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
63 
64 class G4NistManager;
65 
67 {
68 
69 public:
70 
71  explicit G4WentzelVIRelModel();
72 
73  virtual ~G4WentzelVIRelModel();
74 
75 
76  virtual void Initialise(const G4ParticleDefinition*,
77  const G4DataVector&) override;
78 
80  G4double KineticEnergy,
81  G4double AtomicNumber,
82  G4double AtomicWeight=0.,
83  G4double cut = DBL_MAX,
84  G4double emax= DBL_MAX) override;
85 
86  virtual void DefineMaterial(const G4MaterialCutsCouple* cup);
87 
88 private:
89 
90  void ComputeEffectiveMass();
91 
92  // hide assignment operator
95 
96  static std::vector<G4double> effMass;
98 
99 #ifdef G4MULTITHREADED
100  static G4Mutex WentzelVIRelModelMutex;
101 #endif
102 };
103 
104 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
105 
106 #endif
107 
virtual void DefineMaterial(const G4MaterialCutsCouple *cup)
static std::vector< G4double > effMass
static const G4double emax
G4NistManager * fNistManager
G4WentzelVIRelModel & operator=(const G4WentzelVIRelModel &right)=delete
double G4double
Definition: G4Types.hh:76
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double KineticEnergy, G4double AtomicNumber, G4double AtomicWeight=0., G4double cut=DBL_MAX, G4double emax=DBL_MAX) override
#define DBL_MAX
Definition: templates.hh:83
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
std::mutex G4Mutex
Definition: G4Threading.hh:84