Geant4_10
G4PenelopeIonisationCrossSection.hh
Go to the documentation of this file.
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: G4PenelopeIonisationCrossSection.hh 66241 2012-12-13 18:34:42Z gunter $
27 //
28 // Author: Luciano Pandola
29 //
30 // History:
31 // -----------
32 // 14 Mar 2012 L. Pandola 1st implementation.
33 //
34 // -------------------------------------------------------------------
35 //
43 // -------------------------------------------------------------------
44 
45 #ifndef G4PENELOPEIONISATIONCROSSSECTION_HH
46 #define G4PENELOPEIONISATIONCROSSSECTION_HH 1
47 
48 #include "globals.hh"
49 #include "G4VhShellCrossSection.hh"
50 #include <map>
51 
57 
59 {
60 public:
63 
66 
70  std::vector<G4double> GetCrossSection(G4int Z,
71  G4double incidentEnergy,
72  G4double mass,
73  G4double deltaEnergy,
74  const G4Material* mat);
75 
81  G4double incidentEnergy,
82  G4double mass,
83  const G4Material* mat);
84 
88  std::vector<G4double> Probabilities(G4int Z,
89  G4double incidentEnergy,
90  G4double mass,
91  G4double deltaEnergy,
92  const G4Material* mat) ;
94  void SetVerbosityLevel(G4int vl){verboseLevel = vl;};
95  G4int GetVerbosityLevel(){return verboseLevel;};
96 
97 private:
100 
101  //Oscillator manager
102  G4PenelopeOscillatorManager* oscManager;
103 
104  G4int verboseLevel;
105 
110  G4int FindShellIDIndex(const G4Material* mat,G4int Z,G4AtomicShellEnumerator shell);
111  std::map< std::pair<const G4Material*,G4int>, G4DataVector*> *shellIDTable;
112 
113  G4int nMaxLevels;
114 
115  G4double fLowEnergyLimit;
116  G4double fHighEnergyLimit;
117 
118  G4PenelopeIonisationXSHandler* theCrossSectionHandler;
119  const G4AtomicTransitionManager* transitionManager;
120 };
121 
122 #endif
123 
std::vector< G4double > Probabilities(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)
int G4int
Definition: G4Types.hh:78
Float_t mat
Definition: plot.C:40
void SetVerbosityLevel(G4int vl)
Getter/setter for the verbosity level.
Float_t Z
Definition: plot.C:39
~G4PenelopeIonisationCrossSection()
Destructor. Clean all tables.
std::vector< G4double > GetCrossSection(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)
double G4double
Definition: G4Types.hh:76
G4double CrossSection(G4int Z, G4AtomicShellEnumerator shell, G4double incidentEnergy, G4double mass, const G4Material *mat)
G4AtomicShellEnumerator