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