Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:37

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 // Author: Vladimir Ivanchenko
0029 //
0030 // History:
0031 // --------
0032 // 31 May 2011 V.Ivanchenko  The class is created  
0033 // 04 Jul 2011 L Pandola     Comment unused private member
0034 // 09 Mar 2012 L Pandola     Changed signature of methods
0035 // 
0036 // 
0037 // -------------------------------------------------------------------
0038 //
0039 // Class description:
0040 // Access to Livermore ionisation cross sections for e-
0041 // -------------------------------------------------------------------
0042 
0043 #ifndef G4LIVERMOREIONISATIONCROSSSECTION_HH
0044 #define G4LIVERMOREIONISATIONCROSSSECTION_HH 1
0045 
0046 #include "G4VhShellCrossSection.hh"
0047 #include "globals.hh"
0048 #include "G4AtomicShellEnumerator.hh"
0049 #include <vector>
0050 
0051 class G4AtomicTransitionManager;
0052 class G4VCrossSectionHandler;
0053 
0054 class G4LivermoreIonisationCrossSection : public G4VhShellCrossSection 
0055 {
0056 
0057 public:
0058   
0059   explicit G4LivermoreIonisationCrossSection(const G4String& nam = "LivermorePIXE");
0060   virtual ~G4LivermoreIonisationCrossSection();
0061 
0062   void Initialise();
0063 
0064   G4double CrossSection(G4int Z, G4AtomicShellEnumerator shell,
0065             G4double incidentEnergy,
0066             G4double mass = 0.0,
0067             const G4Material* mat = 0) override;
0068 
0069   std::vector<G4double> GetCrossSection(G4int Z,
0070                     G4double incidentEnergy,
0071                     G4double mass = 0.0,
0072                     G4double deltaEnergy = 0.0,
0073                     const G4Material* mat = 0) override;
0074 
0075   std::vector<G4double> Probabilities(G4int Z,
0076                       G4double incidentEnergy,
0077                       G4double mass = 0.0,
0078                       G4double deltaEnergy = 0,
0079                       const G4Material* mat = 0) override;
0080     
0081   G4LivermoreIonisationCrossSection & operator=(const G4LivermoreIonisationCrossSection &right) = delete;
0082   G4LivermoreIonisationCrossSection(const G4LivermoreIonisationCrossSection&) = delete;
0083 
0084 private:
0085   G4VCrossSectionHandler* crossSectionHandler;
0086   const G4AtomicTransitionManager* transitionManager;
0087 
0088   //Intrinsic energy limits of the model: cannot be extended by the parent process
0089   G4double fLowEnergyLimit;
0090   G4double fHighEnergyLimit;
0091  
0092   G4int verboseLevel;
0093 };
0094 
0095 #endif
0096