Geant4_10
G4eIonisationCrossSectionHandler.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: G4eIonisationCrossSectionHandler.hh 66241 2012-12-13 18:34:42Z gunter $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class file
31 //
32 //
33 // File name: G4eIonisationCrossSectionHandler
34 //
35 // Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch)
36 //
37 // Creation date: 17 September 2001
38 //
39 // Modified:
40 // 10 Oct 2001 M.G. Pia Revision to improve code quality and consistency with design
41 // 28 Jan 2009 L.Pandola Added public method to make a easier migration of
42 // G4LowEnergyIonisation to G4LivermoreIonisationModel
43 // -------------------------------------------------------------------
44 
45 // Class description:
46 // Provides cross sections with cut for LowEnergyIonisation
47 // Further documentation available from http://www.ge.infn.it/geant4/lowE
48 
49 // -------------------------------------------------------------------
50 //
51 
52 #ifndef G4EIONISATIONCROSSSECTIONHANDLER_HH
53 #define G4EIONISATIONCROSSSECTIONHANDLER_HH 1
54 
56 #include "globals.hh"
57 
58 class G4VEnergySpectrum;
59 class G4DataVector;
60 class G4VEMDataSet;
62 
64 {
65 public:
66 
69  G4double emin,
70  G4double emax,
71  G4int nbin);
72 
74 
76  G4double cutEnergy,
77  G4int Z);
78 
79 protected:
80 
81  std::vector<G4VEMDataSet*>* BuildCrossSectionsForMaterials(
82  const G4DataVector& energyVector,
83  const G4DataVector* energyCuts);
84 
85 
86 private:
87 
88  // Hide copy constructor and assignment operator
91 
92  const G4VEnergySpectrum* theParam;
93 
94  G4VDataSetAlgorithm* interp;
95  G4int verbose;
96 
97 };
98 
99 #endif
100 
G4double GetCrossSectionAboveThresholdForElement(G4double energy, G4double cutEnergy, G4int Z)
std::vector< G4VEMDataSet * > * BuildCrossSectionsForMaterials(const G4DataVector &energyVector, const G4DataVector *energyCuts)
int G4int
Definition: G4Types.hh:78
double energy
Definition: plottest35.C:25
Float_t Z
Definition: plot.C:39
G4eIonisationCrossSectionHandler(const G4VEnergySpectrum *spec, G4VDataSetAlgorithm *alg, G4double emin, G4double emax, G4int nbin)
double G4double
Definition: G4Types.hh:76