Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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$
27//
28// Author: Luciano Pandola
29//
30// History:
31// -----------
32// 14 Mar 2012 L. Pandola 1st implementation.
33//
34// -------------------------------------------------------------------
35//
36//! Class description:
37//! Access to Penelope ionisation cross sections for e- and e+. To be
38//! registered as a specific model in G4UAtomicDeexcitation.
39//!
40//! NOTICE: working only for e- at the moment (no interface available for
41//! e+)
42//!
43// -------------------------------------------------------------------
44
45#ifndef G4PENELOPEIONISATIONCROSSSECTION_HH
46#define G4PENELOPEIONISATIONCROSSSECTION_HH 1
47
48#include "globals.hh"
50#include <map>
51
57
59{
60public:
61 //! Constructor.
63
64 //! Destructor. Clean all tables.
66
67 //! Purely virtual method from the base interface. Returns the cross
68 //! section for all levels of element Z in material mat at the
69 //! given energy
70 std::vector<G4double> GetCrossSection(G4int Z,
71 G4double incidentEnergy,
72 G4double mass,
73 G4double deltaEnergy,
74 const G4Material* mat);
75
76 //! Purely virtual method from the base interface. Returns the
77 //! cross section for the given shell in the element Z of material
78 //! mat at the specified energy
81 G4double incidentEnergy,
82 G4double mass,
83 const G4Material* mat);
84
85 //! Purely virtual method from the base interface. Returns the
86 //! shell ionisation probabilities for the given Z in the
87 //! material mat at the specified energy.
88 std::vector<G4double> Probabilities(G4int Z,
89 G4double incidentEnergy,
90 G4double mass,
91 G4double deltaEnergy,
92 const G4Material* mat) ;
93 //! Getter/setter for the verbosity level
94 void SetVerbosityLevel(G4int vl){verboseLevel = vl;};
95 G4int GetVerbosityLevel(){return verboseLevel;};
96
97private:
100
101 //Oscillator manager
102 G4PenelopeOscillatorManager* oscManager;
103
104 G4int verboseLevel;
105
106 //!The shells in Penelope are organized per *material*, rather than per
107 //!element, so given a material one has to find the proper index for the
108 //!given Z and shellID. An appropriate look-up table is used to avoid
109 //!recalculation.
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
G4AtomicShellEnumerator
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
void SetVerbosityLevel(G4int vl)
Getter/setter for the verbosity level.
~G4PenelopeIonisationCrossSection()
Destructor. Clean all tables.
std::vector< G4double > GetCrossSection(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)
std::vector< G4double > Probabilities(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)
G4double CrossSection(G4int Z, G4AtomicShellEnumerator shell, G4double incidentEnergy, G4double mass, const G4Material *mat)