G4eIonisationCrossSectionHandler.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 //
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class file
00031 //
00032 //
00033 // File name:     G4eIonisationCrossSectionHandler
00034 //
00035 // Author:        V.Ivanchenko (Vladimir.Ivanchenko@cern.ch)
00036 // 
00037 // Creation date: 17 September 2001
00038 //
00039 // Modified: 
00040 // 10 Oct 2001  M.G. Pia        Revision to improve code quality and consistency with design
00041 // 28 Jan 2009  L.Pandola    Added public method to make a easier migration of
00042 //                           G4LowEnergyIonisation to G4LivermoreIonisationModel
00043 // -------------------------------------------------------------------
00044 
00045 // Class description: 
00046 // Provides cross sections with cut for LowEnergyIonisation 
00047 // Further documentation available from http://www.ge.infn.it/geant4/lowE
00048 
00049 // -------------------------------------------------------------------
00050 //
00051 
00052 #ifndef G4EIONISATIONCROSSSECTIONHANDLER_HH
00053 #define G4EIONISATIONCROSSSECTIONHANDLER_HH 1
00054 
00055 #include "G4VCrossSectionHandler.hh"
00056 #include "globals.hh"
00057 
00058 class G4VEnergySpectrum;
00059 class G4DataVector;
00060 class G4VEMDataSet;
00061 class G4VDataSetAlgorithm;
00062 
00063 class G4eIonisationCrossSectionHandler : public G4VCrossSectionHandler
00064 {
00065 public:
00066 
00067   G4eIonisationCrossSectionHandler(const G4VEnergySpectrum* spec,
00068                                          G4VDataSetAlgorithm* alg,
00069                                          G4double emin, 
00070                                          G4double emax, 
00071                                          G4int nbin);
00072 
00073   ~G4eIonisationCrossSectionHandler();
00074 
00075   G4double GetCrossSectionAboveThresholdForElement(G4double energy,
00076                                                    G4double cutEnergy,
00077                                                    G4int Z);
00078  
00079 protected:
00080 
00081   std::vector<G4VEMDataSet*>* BuildCrossSectionsForMaterials(
00082                                 const G4DataVector& energyVector, 
00083                                 const G4DataVector* energyCuts);
00084 
00085 
00086 private:
00087 
00088   // Hide copy constructor and assignment operator 
00089   G4eIonisationCrossSectionHandler& operator=(const G4eIonisationCrossSectionHandler& right);
00090   G4eIonisationCrossSectionHandler(const G4eIonisationCrossSectionHandler&);
00091 
00092  const G4VEnergySpectrum* theParam;
00093 
00094   G4VDataSetAlgorithm* interp;
00095   G4int verbose;
00096   
00097 };
00098  
00099 #endif
00100 

Generated on Mon May 27 17:48:06 2013 for Geant4 by  doxygen 1.4.7