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