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