![]() |
|
|||
File indexing completed on 2025-08-02 08:28:24
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 // Author: Alexei Sytov 0027 0028 #ifndef G4CoherentPairProductionPhysics_h 0029 #define G4CoherentPairProductionPhysics_h 1 0030 0031 #include "G4VPhysicsConstructor.hh" 0032 #include "G4CoherentPairProduction.hh" 0033 0034 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0035 0036 class G4CoherentPairProductionPhysics : public G4VPhysicsConstructor 0037 { 0038 public: 0039 G4CoherentPairProductionPhysics(const G4String& name = 0040 "Coherent Pair Production Physics"); 0041 0042 ~G4CoherentPairProductionPhysics() = default; 0043 0044 void ConstructParticle() override; 0045 void ConstructProcess() override; 0046 0047 ///activate incoherent scattering 0048 ///(standard gamma conversion should be switched off in physics list) 0049 void ActivateIncoherentScattering(){fIncoherentScattering = true;} 0050 0051 ///set functions 0052 0053 ///set name of G4ChannelingFastSimModel from which an auto input should be performed 0054 void SetNameChannelingModel(const G4String& nameChannelingModel) 0055 {fNameChannelingModel=nameChannelingModel;} 0056 0057 ///set name of G4Region to where the G4ChannelingFastSimModel is active 0058 void SetNameG4Region(const G4String& nameG4Region) 0059 {fNameRegion=nameG4Region;} 0060 0061 void SetLowEnergyLimit(G4double energy){fLowEnergyLimit=energy;} 0062 void SetHighAngleLimit(G4double angle) {fHighAngleLimit=angle;} 0063 void SetPPKineticEnergyCut(G4double kineticEnergyCut) {fPPKineticEnergyCut=kineticEnergyCut;} 0064 0065 /// set the number of pairs in sampling of Baier-Katkov Integral 0066 /// (MC integration by e+- energy and angles <=> e+- momentum) 0067 void SetSamplingPairsNumber(G4int nPairs){fNMCPairs = nPairs;} 0068 0069 /// set the number of particle angles 1/gamma in pair production 0070 /// defining the width of the angular distribution of pair sampling 0071 /// in the Baier-Katkov Integral 0072 void SetChargeParticleAngleFactor(G4double chargeParticleAngleFactor) 0073 {fChargeParticleAngleFactor = chargeParticleAngleFactor;} 0074 0075 /// set number of trajectory steps of a single particle (e- or e+) 0076 void SetNTrajectorySteps(G4int nTrajectorySteps) 0077 {fNTrajectorySteps = nTrajectorySteps;} 0078 0079 private: 0080 0081 ///flag of simulation of incoherent scattering 0082 G4bool fIncoherentScattering = false; 0083 0084 ///name of G4ChannelingFastSimModel from which an auto input should be performed 0085 G4String fNameChannelingModel = "ChannelingModel"; 0086 0087 ///name of G4Region to where the G4ChannelingFastSimModel is active 0088 G4String fNameRegion = "Crystal"; 0089 0090 G4double fLowEnergyLimit = 1*CLHEP::GeV; 0091 G4double fHighAngleLimit = 50*CLHEP::mrad; 0092 0093 ///minimal kinetic energy of a charged particle produced 0094 G4double fPPKineticEnergyCut = 1*CLHEP::MeV; 0095 0096 ///Monte Carlo statistics of e+- pair sampling in Baier-Katkov for 1 photon 0097 G4int fNMCPairs = 150; 0098 0099 G4double fChargeParticleAngleFactor = 4; // number of particle angles 1/gamma: 0100 // more fChargeParticleAngleFactor => higher paramParticleAngle 0101 0102 ///number of trajectory steps of a single particle (e- or e+) 0103 G4int fNTrajectorySteps=250; 0104 0105 }; 0106 0107 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |