Back to home page

EIC code displayed by LXR

 
 

    


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

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 //------------------ G4ComptonScattering physics process -----------------------
0028 //                   by Michel Maire, April 1996
0029 //
0030 // 10-06-96, updated by M.Maire
0031 // 21-06-96, SetCuts implementation, M.Maire
0032 // 06-01-97, crossection table + meanfreepath table, M.Maire
0033 // 17-02-97, New Physics scheme
0034 // 25-02-97, GetMeanFreePath() now is public function
0035 // 12-03-97, new physics scheme again
0036 // 13-08-98, new methods SetBining()  PrintInfo()
0037 // 03-08-01, new methods Store/Retrieve PhysicsTable (mma)
0038 // 06-08-01, BuildThePhysicsTable() called from constructor (mma)
0039 // 19-09-01, come back to previous ProcessName "compt"
0040 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma)
0041 // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&)
0042 // 13-08-04, suppress icc file; make public ComputeCrossSectionPerAtom()   (mma)
0043 // 09-11-04, Remove Retrieve tables (V.Ivantchenko)
0044 // 15-03-05, Redesign - use G4VEmProcess interface (V.Ivantchenko)
0045 // 04-05-05, Make class to be default (V.Ivanchenko)
0046 // 09-09-06, modify SetModel(G4VEmModel*) (mma)
0047 // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma)
0048 // -----------------------------------------------------------------------------
0049 
0050 // class description
0051 //
0052 
0053 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0054 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0055 
0056 #ifndef G4ComptonScattering_h
0057 #define G4ComptonScattering_h 1
0058 
0059 #include "globals.hh"
0060 #include "G4VEmProcess.hh"
0061 #include "G4Gamma.hh"
0062 
0063 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0064 
0065 class G4ParticleDefinition;
0066 class G4VEmModel;
0067 class G4MaterialCutsCouple;
0068 class G4DynamicParticle;
0069 
0070 class G4ComptonScattering : public G4VEmProcess
0071 
0072 {
0073 public:  // with description
0074 
0075   explicit G4ComptonScattering(const G4String& processName ="compt",
0076                    G4ProcessType type = fElectromagnetic);
0077 
0078   ~G4ComptonScattering() override;
0079 
0080   // true for Gamma only.  
0081   G4bool IsApplicable(const G4ParticleDefinition&) final;
0082   
0083   // print description in html
0084   void ProcessDescription(std::ostream&) const override;
0085 
0086   G4ComptonScattering & operator=(const  G4ComptonScattering &right) = delete;
0087   G4ComptonScattering(const  G4ComptonScattering&) = delete;
0088 
0089 protected:
0090 
0091   void InitialiseProcess(const G4ParticleDefinition*) override;
0092 
0093 private:
0094      
0095   G4bool isInitialised = false;
0096 };
0097 
0098 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0099   
0100 #endif
0101