Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 // 27 // ------------------------------------------------------------------- 28 // 29 // GEANT4 Class header file 30 // 31 // 32 // File name: G4MuonToMuonPairProductionModel 33 // 34 // Author: Siddharth Yajaman on the base of Vladimir Ivantchenko code 35 // 36 // Creation date: 12.07.2022 37 // 38 // Modifications: 39 // 40 41 // 42 // Class Description: 43 // 44 // Implementation of mu+mu- pair production by muons 45 // R. P. Kokoulin, S. R. Kelner, and A. A. Petrukhin, 46 // in Proceedings of the International Cosmic Ray Conference, 47 // Salt Lake City, 1999, edited by D. Kieda et al. 48 // (American Institute of Physics, Melville, NY, 2000), Vol. 2, p. 20 49 // 50 // It inherits from G4MuPairProductionModel 51 // 52 // ------------------------------------------------------------------- 53 // 54 55 #ifndef G4MuonToMuonPairProductionModel_h 56 #define G4MuonToMuonPairProductionModel_h 1 57 58 #include "G4MuPairProductionModel.hh" 59 #include <vector> 60 61 class G4MuonToMuonPairProductionModel : public G4MuPairProductionModel 62 { 63 public: 64 65 explicit G4MuonToMuonPairProductionModel(const G4ParticleDefinition* p = nullptr, 66 const G4String& nam = "muToMuonPairProd"); 67 68 ~G4MuonToMuonPairProductionModel() override = default; 69 70 // hide assignment operator and copy constructor 71 G4MuonToMuonPairProductionModel & operator= 72 (const G4MuonToMuonPairProductionModel &right) = delete; 73 G4MuonToMuonPairProductionModel(const G4MuonToMuonPairProductionModel&) = delete; 74 75 G4double 76 ComputeDMicroscopicCrossSection(G4double tkin, G4double Z, 77 G4double pairEnergy) override; 78 79 void SampleSecondaries(std::vector<G4DynamicParticle*>*, 80 const G4MaterialCutsCouple*, 81 const G4DynamicParticle*, 82 G4double tmin, 83 G4double maxEnergy) override; 84 85 G4double U_func(G4double Z, G4double rho2, G4double xi, 86 G4double Y, G4double pairEnergy, const G4double B=183); 87 88 protected: 89 90 void DataCorrupted(G4int Z, G4double logTkin) const override; 91 92 G4ParticleDefinition* theMuonMinus = nullptr; 93 G4ParticleDefinition* theMuonPlus = nullptr; 94 95 G4double factorForCross; 96 G4double minPairEnergy; 97 G4double muonMass; 98 G4double mueRatio; 99 }; 100 101 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 102 103 #endif 104