Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:22:04

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: A. Forti
0029 //         Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
0030 //
0031 // History:
0032 // -----------
0033 // 02 Mar 1999   A. Forti   1st implementation
0034 // 14 Aug 2001   MGP        Major revision according to a design iteration
0035 //
0036 // -------------------------------------------------------------------
0037 
0038 // Class description:
0039 // Low Energy process, Photon conversion
0040 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0041 
0042 // -------------------------------------------------------------------
0043 
0044 #ifndef G4RDLOWENERGYGAMMACONVERSION_HH
0045 #define G4RDLOWENERGYGAMMACONVERSION_HH 1
0046 
0047 
0048 #include "G4VDiscreteProcess.hh"
0049 
0050 #include "globals.hh"
0051 #include "G4VDiscreteProcess.hh"
0052 class G4Track;
0053 class G4Step;
0054 class G4ParticleDefinition;
0055 class G4VParticleChange;
0056 class G4RDVEMDataSet;
0057 class G4RDVCrossSectionHandler;
0058 class G4RDVRangeTest;
0059 
0060 class G4LowEnergyGammaConversion : public G4VDiscreteProcess {
0061 
0062 public:
0063  
0064   G4LowEnergyGammaConversion(const G4String& processName ="LowEnConversion");
0065  
0066   ~G4LowEnergyGammaConversion();
0067 
0068   G4bool IsApplicable(const G4ParticleDefinition& photon);
0069 
0070   void BuildPhysicsTable(const G4ParticleDefinition& photon);
0071 
0072 
0073   G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep);
0074  
0075   // For testing purpose only
0076   G4double DumpMeanFreePath(const G4Track& aTrack, 
0077                 G4double previousStepSize, 
0078                 G4ForceCondition* condition) 
0079   { return GetMeanFreePath(aTrack, previousStepSize, condition); }
0080 
0081 protected:
0082   
0083   G4double GetMeanFreePath(const G4Track& aTrack, 
0084                G4double previousStepSize, 
0085                G4ForceCondition* condition);
0086 
0087 private:
0088 
0089   // Hide copy constructor and assignment operator as private 
0090   G4LowEnergyGammaConversion& operator=(const G4LowEnergyGammaConversion &right);
0091   G4LowEnergyGammaConversion(const G4LowEnergyGammaConversion& );
0092 
0093   G4double ScreenFunction1(G4double screenVariable);
0094   G4double ScreenFunction2(G4double screenVariable);
0095   
0096   G4double lowEnergyLimit;  // low energy limit  applied to the process
0097   G4double highEnergyLimit; // high energy limit applied to the process
0098 
0099   G4RDVEMDataSet* meanFreePathTable;
0100   G4RDVCrossSectionHandler* crossSectionHandler;
0101 
0102   G4RDVRangeTest* rangeTest;
0103 
0104   const G4double intrinsicLowEnergyLimit; // intrinsic validity range
0105   const G4double intrinsicHighEnergyLimit;
0106 
0107   const G4double smallEnergy;
0108 
0109 };
0110 
0111 #endif
0112  
0113 
0114 
0115 
0116 
0117 
0118 
0119 
0120