Geant4_10
G4VhShellCrossSection.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: G4UAtomicDeexcitation.cc,v 1.11
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class file
31 //
32 //
33 // File name: G4VhShellCrossSection
34 //
35 // Author: S. Dussoni and A. Mantero (Alfonso.Mantero@ge.infn.it)
36 //
37 // History:
38 // -----------
39 // 23 Oct 2001 A. Mantero 1st implementation
40 // 24 Oct 2001 MGP Cleaned up
41 // 29 Oct 2001 VI Add delta energy
42 // 15 Mar 2011 ALF Introduced the usage of G4AtomicShellEnumerator
43 // 09 Mar 2012 LP Added const G4Material* to the signature of virtual
44 // methods.
45 //
46 // -------------------------------------------------------------------
47 
48 // Class Description:
49 //
50 // Abstract class for models of shell cross sections in proton ionisation
51 // -------------------------------------------------------------------
52 //
53 
54 #ifndef G4VHSHELLCROSSSECTION_HH
55 #define G4VHSHELLCROSSSECTION_HH 1
56 
57 #include "globals.hh"
58 #include <vector>
60 #include "G4Material.hh"
61 
62 
64 {
65 
66 public:
67 
68  G4VhShellCrossSection(const G4String& xname = "");
69 
70  virtual ~G4VhShellCrossSection();
71 
73  G4double incidentEnergy,
74  G4double mass,
75  G4double deltaEnergy,
76  const G4Material* mat);
77 
78  virtual std::vector<G4double> GetCrossSection(G4int Z,
79  G4double incidentEnergy,
80  G4double mass,
81  G4double deltaEnergy,
82  const G4Material* mat) = 0;
83 
84 
85  virtual G4double CrossSection(G4int Z,
87  G4double incidentEnergy,
88  G4double mass,
89  const G4Material* mat) =0;
90 
91  //protected:
92 
93  virtual std::vector<G4double> Probabilities(G4int Z,
94  G4double incidentEnergy,
95  G4double mass,
96  G4double deltaEnergy,
97  const G4Material* mat) = 0;
98 
99 
100  virtual void SetTotalCS(G4double);
101 
102  inline const G4String& GetName() const;
103 
104 private:
105 
106  // Hide copy constructor and assignment operator
109 
110  G4String name;
111 
112 };
113 
115 {
116  return name;
117 }
118 
119 #endif
120 
const G4String & GetName() const
const XML_Char * name
Definition: expat.h:151
int G4int
Definition: G4Types.hh:78
G4int SelectRandomShell(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)
virtual std::vector< G4double > Probabilities(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)=0
Float_t mat
Definition: plot.C:40
G4VhShellCrossSection(const G4String &xname="")
Float_t Z
Definition: plot.C:39
virtual void SetTotalCS(G4double)
virtual std::vector< G4double > GetCrossSection(G4int Z, G4double incidentEnergy, G4double mass, G4double deltaEnergy, const G4Material *mat)=0
double G4double
Definition: G4Types.hh:76
virtual G4double CrossSection(G4int Z, G4AtomicShellEnumerator shell, G4double incidentEnergy, G4double mass, const G4Material *mat)=0
G4AtomicShellEnumerator