Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4PenelopeIonisationXSHandler.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: G4PenelopeIonisationXSHandler.hh 74626 2013-10-17 07:00:59Z gcosmo $
27 //
28 // Author: Luciano Pandola
29 //
30 // History:
31 // -----------
32 // 09 Mar 2012 L. Pandola 1st implementation.
33 //
34 // -------------------------------------------------------------------
35 //
43 // -------------------------------------------------------------------
44 
45 #ifndef G4PENELOPEIONISATIONXSHANDLER_HH
46 #define G4PENELOPEIONISATIONXSHANDLER_HH 1
47 
48 #include "globals.hh"
49 #include "G4DataVector.hh"
50 #include "G4Material.hh"
51 #include <map>
52 
54 class G4PhysicsLogVector;
59 
61 {
62 
63 public:
68 
71 
77  const G4Material*,const G4double cut) const;
80 
82  void BuildXSTable(const G4Material*,G4double cut,
83  const G4ParticleDefinition*,G4bool isMaster=true);
84 
85 private:
88 
89  void BuildDeltaTable(const G4Material*);
90 
92  G4double energy,G4double cut,
93  G4double delta);
94 
96  G4double energy,G4double cut,
97  G4double delta);
98 
99  //Oscillator manager
101 
102  //G4PenelopeCrossSection takes care of the logs
103  std::map< std::pair<const G4Material*,G4double>, G4PenelopeCrossSection*> *XSTableElectron;
104  std::map< std::pair<const G4Material*,G4double>, G4PenelopeCrossSection*> *XSTablePositron;
105 
106  //delta vs. log(energy)
107  std::map<const G4Material*,G4PhysicsFreeVector*> *theDeltaTable;
108 
109  //energy grid
111  size_t nBins;
112 
114 
115 };
116 
117 #endif
118 
virtual ~G4PenelopeIonisationXSHandler()
Destructor. Clean all tables.
G4DataVector * ComputeShellCrossSectionsPositron(G4PenelopeOscillator *, G4double energy, G4double cut, G4double delta)
std::map< std::pair< const G4Material *, G4double >, G4PenelopeCrossSection * > * XSTablePositron
std::map< const G4Material *, G4PhysicsFreeVector * > * theDeltaTable
G4double GetDensityCorrection(const G4Material *, const G4double energy) const
Returns the density coeection for the material at the given energy.
void BuildXSTable(const G4Material *, G4double cut, const G4ParticleDefinition *, G4bool isMaster=true)
This can be inkoved only by the master.
G4PenelopeIonisationXSHandler & operator=(const G4PenelopeIonisationXSHandler &right)
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
G4DataVector * ComputeShellCrossSectionsElectron(G4PenelopeOscillator *, G4double energy, G4double cut, G4double delta)
double energy
Definition: plottest35.C:25
std::map< std::pair< const G4Material *, G4double >, G4PenelopeCrossSection * > * XSTableElectron
void SetVerboseLevel(G4int vl)
Setter for the verbosity level.
int G4int
Definition: G4Types.hh:78
const G4PenelopeCrossSection * GetCrossSectionTableForCouple(const G4ParticleDefinition *, const G4Material *, const G4double cut) const
G4PenelopeOscillatorManager * oscManager