Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4VLEPTSModel.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 #ifndef G4VLEPTSModel_hh
27 #define G4VLEPTSModel_hh
28 
29 #include "G4ios.hh"
30 #include "globals.hh"
31 #include "Randomize.hh"
32 #include "G4VEmModel.hh"
33 #include "G4PhysicsTable.hh"
34 #include "G4PhysicsLogVector.hh"
35 #include "G4Element.hh"
36 #include "G4Electron.hh"
37 #include "G4Positron.hh"
38 #include "G4Gamma.hh"
39 #include "G4Step.hh"
40 
41 #include "G4EnergyLossTables.hh"
42 #include "G4UnitsTable.hh"
43 #include <iostream>
44 
45 #include "G4LEPTSDiffXS.hh"
46 #include "G4LEPTSDistribution.hh"
47 #include "G4LEPTSElossDistr.hh"
48 #include "G4ForceCondition.hh"
49 #include <map>
50 #include <vector>
51 
52 enum XSType {XSEnergy=0,
56 };
57 
58 
59 class G4VLEPTSModel : public G4VEmModel
60 {
61 
62 public:
63 
64  G4VLEPTSModel(const G4String& processName);
66 
67  void BuildPhysicsTable(const G4ParticleDefinition& aParticleType); //G4ParticleWithCuts::SetCut()
69  const G4ParticleDefinition* aParticle,
71 
73  G4double SampleAngle(const G4Material* aMaterial, G4double e, G4double el);
75 
76  G4VLEPTSModel& operator=(const G4VLEPTSModel &right); //hide assignment operator
78 
79 protected:
80  void Init();
81  G4bool ReadParam(G4String fileName, const G4Material* aMaterial);
82  virtual std::map<G4int,std::vector<G4double> > ReadIXS(G4String fileName, const G4Material* aMaterial);
83  G4double SampleEnergyLoss(const G4Material* aMaterial, G4double eMin, G4double eMax);
84  void BuildMeanFreePathTable( const G4Material* aMaterial, std::map< G4int, std::vector<G4double> >& integralXS );
85 
86 protected:
88 
92 
93  std::map<const G4Material*, G4double > theIonisPot;
94  std::map<const G4Material*, G4double > theIonisPotInt;
95  std::map<const G4Material*, G4double > theMolecularMass;
96 
97  std::map<const G4Material*, G4LEPTSDiffXS*> theDiffXS;
98  std::map<const G4Material*, G4LEPTSDistribution*> theRMTDistr;
99 
100  std::map<const G4Material*, G4LEPTSElossDistr*> theElostDistr;
101  std::map<const G4Material*, G4LEPTSDistribution*> theElostDistr2;
102 
103  std::map<const G4Material*, G4int> theNXSdat;
104  std::map<const G4Material*, G4int> theNXSsub;
105 
108 
110 };
111 
112 
113 #endif // G4VLEPTSModel_hh
G4VLEPTSModel & operator=(const G4VLEPTSModel &right)
G4bool isInitialised
std::map< const G4Material *, G4LEPTSDistribution * > theRMTDistr
XSType
std::map< const G4Material *, G4LEPTSElossDistr * > theElostDistr
G4double SampleAngle(const G4Material *aMaterial, G4double e, G4double el)
G4PhysicsTable * theMeanFreePathTable
std::map< const G4Material *, G4LEPTSDistribution * > theElostDistr2
G4double GetMeanFreePath(const G4Material *mate, const G4ParticleDefinition *aParticle, G4double kineticEnergy)
void BuildPhysicsTable(const G4ParticleDefinition &aParticleType)
G4VLEPTSModel(const G4String &processName)
std::map< const G4Material *, G4double > theIonisPotInt
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
virtual std::map< G4int, std::vector< G4double > > ReadIXS(G4String fileName, const G4Material *aMaterial)
std::map< const G4Material *, G4LEPTSDiffXS * > theDiffXS
std::map< const G4Material *, G4int > theNXSdat
int G4int
Definition: G4Types.hh:78
std::map< const G4Material *, G4double > theIonisPot
void BuildMeanFreePathTable(const G4Material *aMaterial, std::map< G4int, std::vector< G4double > > &integralXS)
G4double theHighestEnergyLimit
std::map< const G4Material *, G4int > theNXSsub
G4ThreeVector SampleNewDirection(const G4Material *aMaterial, G4ThreeVector Dir, G4double e, G4double el)
G4bool ReadParam(G4String fileName, const G4Material *aMaterial)
G4double theLowestEnergyLimit
G4double SampleEnergyLoss(const G4Material *aMaterial, G4double eMin, G4double eMax)
G4int theNumbBinTable
std::map< const G4Material *, G4double > theMolecularMass