Back to home page

EIC code displayed by LXR

 
 

    


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

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 //------------------ G4GammaConversion physics process------------------------
0030 //                   by Michel Maire, 24 May 1996
0031 //
0032 // 11-06-96, Added GetRandomAtom() method and new data member
0033 //           for cumulative total cross section, by M.Maire
0034 // 21-06-96, SetCuts inplementation, M.Maire
0035 // 16-09-96, Dynamical array PartialSumSigma, M.Maire
0036 // 14-01-97, crossection table + meanfreepath table.
0037 //           PartialSumSigma removed, M.Maire
0038 // 14-03-97, new physics scheme for geant4alpha, M.Maire
0039 // 13-08-98, new methods SetBining() PrintInfo()
0040 // 03-08-01, new methods Store/Retrieve PhysicsTable (mma)
0041 // 06-08-01, BuildThePhysicsTable() called from constructor (mma)
0042 // 19-09-01, come back to previous ProcessName: "conv"
0043 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma)
0044 // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&)
0045 // 13-08-04, suppress .icc file
0046 //           public ComputeCrossSectionPerAtom() and ComputeMeanFreePath() (mma)
0047 // 09-11-04, Remove Retrieve tables (V.Ivantchenko)
0048 // 19-04-05, Redesign - use G4VEmProcess interface (V.Ivantchenko)
0049 // 04-05-05, Make class to be default (V.Ivanchenko)
0050 // 09-08-06, add SetModel(G4VEmModel*) (mma)
0051 // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma)
0052 // -----------------------------------------------------------------------------
0053 
0054 // class description
0055 //
0056 
0057 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0058 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0059 
0060 #ifndef G4GammaConversion_h
0061 #define G4GammaConversion_h 1
0062 
0063 #include "globals.hh"
0064 #include "G4VEmProcess.hh"
0065 #include "G4Gamma.hh"
0066 
0067 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0068 
0069 class G4ParticleDefinition;
0070 class G4VEmModel;
0071 class G4MaterialCutsCouple;
0072 class G4DynamicParticle;
0073 
0074 class G4GammaConversion : public G4VEmProcess
0075 
0076 {
0077 public:  // with description
0078 
0079   explicit G4GammaConversion(const G4String& processName ="conv",
0080                  G4ProcessType type = fElectromagnetic);
0081 
0082   ~G4GammaConversion() override;
0083 
0084   // true for Gamma only.
0085   G4bool IsApplicable(const G4ParticleDefinition&) final;
0086 
0087   G4double MinPrimaryEnergy(const G4ParticleDefinition*,
0088                 const G4Material*) override;
0089 
0090   // print documentation in html format
0091   void ProcessDescription(std::ostream&) const override;
0092 
0093   G4GammaConversion & operator=(const  G4GammaConversion &right) = delete;
0094   G4GammaConversion(const  G4GammaConversion&) = delete;
0095 
0096 protected:
0097 
0098   virtual void InitialiseProcess(const G4ParticleDefinition*) override;
0099 
0100 private:
0101      
0102   G4bool isInitialised = false;
0103 };
0104 
0105 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0106   
0107 #endif
0108