Back to home page

EIC code displayed by LXR

 
 

    


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

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 // G4MicroElecLOPhononModel.hh, 
0028 //               2020/05/20 P. Caron, C. Inguimbert are with ONERA [b] 
0029 //                          Q. Gibaru is with CEA [a], ONERA [b] and CNES [c]
0030 //                          M. Raine and D. Lambert are with CEA [a]
0031 //
0032 // A part of this work has been funded by the French space agency(CNES[c])
0033 // [a] CEA, DAM, DIF - 91297 ARPAJON, France
0034 // [b] ONERA - DPHY, 2 avenue E.Belin, 31055 Toulouse, France
0035 // [c] CNES, 18 av.E.Belin, 31401 Toulouse CEDEX, France
0036 //
0037 // Based on the following publications
0038 //
0039 // - Q.Gibaru, C.Inguimbert, P.Caron, M.Raine, D.Lambert, J.Puech, 
0040 //   Geant4 physics processes for microdosimetry and secondary electron emission simulation : 
0041 //   Extension of MicroElec to very low energies and new materials
0042 //   NIM B, 2020, in review.
0043 //
0044 ////////////////////////////////////////////////////////////////////////
0045 #ifndef G4MICROELECLOPHONONMODEL_HH 
0046 #define G4MICROELECLOPHONONMODEL_HH 1 
0047 
0048 #include "G4Step.hh"
0049 #include "G4VDiscreteProcess.hh"
0050 #include "G4DynamicParticle.hh"
0051 #include "G4Material.hh"
0052 #include "G4VEmModel.hh"
0053 #include "G4Electron.hh"
0054 #include "G4TransportationManager.hh"
0055 #include "G4ParticleChangeForGamma.hh"
0056 
0057 class G4MicroElecLOPhononModel : public G4VEmModel
0058 {
0059   public:
0060 
0061     explicit G4MicroElecLOPhononModel(const G4ParticleDefinition* p = nullptr,
0062                                       const G4String& nam = "G4MicroElecLOPhononModel");
0063     ~G4MicroElecLOPhononModel() override = default;
0064 
0065     void Initialise(const G4ParticleDefinition*, const G4DataVector&) override;
0066     G4double CrossSectionPerVolume(const G4Material* material,
0067                                    const G4ParticleDefinition* p,
0068                                    G4double ekin,
0069                                    G4double emin = 0.0,
0070                                    G4double emax= DBL_MAX) override;
0071 
0072     void SampleSecondaries(std::vector<G4DynamicParticle*>*,
0073                            const G4MaterialCutsCouple*,
0074                            const G4DynamicParticle*,
0075                            G4double tmin = 0.0,
0076                            G4double maxEnergy = DBL_MAX) override;
0077 
0078     G4MicroElecLOPhononModel& operator=(const G4MicroElecLOPhononModel&) = delete;
0079     G4MicroElecLOPhononModel(const G4MicroElecLOPhononModel&) = delete;
0080 
0081   private:
0082 
0083     G4ParticleChangeForGamma* fParticleChangeForGamma = nullptr;
0084     G4double phononEnergy = 0.;
0085     G4bool Interband = false;
0086     G4bool isInitialised = false;
0087     G4bool absor = false;
0088     G4double Eprim = 0;
0089     G4double signe = -1;                              
0090 };
0091 
0092 #endif