Back to home page

EIC code displayed by LXR

 
 

    


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

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 // GEANT4 Class header file
0030 //
0031 //
0032 // File name:     G4MuonToMuonPairProductionModel
0033 //
0034 // Author:        Siddharth Yajaman on the base of Vladimir Ivantchenko code
0035 //
0036 // Creation date: 12.07.2022
0037 //
0038 // Modifications:
0039 //
0040 
0041 //
0042 // Class Description:
0043 //
0044 // Implementation of mu+mu- pair production by muons
0045 // R. P. Kokoulin, S. R. Kelner, and A. A. Petrukhin, 
0046 // in Proceedings of the International Cosmic Ray Conference, 
0047 // Salt Lake City, 1999, edited by D. Kieda et al. 
0048 // (American Institute of Physics, Melville, NY, 2000), Vol. 2, p. 20
0049 //
0050 // It inherits from G4MuPairProductionModel
0051 //
0052 // -------------------------------------------------------------------
0053 //
0054 
0055 #ifndef G4MuonToMuonPairProductionModel_h
0056 #define G4MuonToMuonPairProductionModel_h 1
0057 
0058 #include "G4MuPairProductionModel.hh"
0059 #include <vector>
0060 
0061 class G4MuonToMuonPairProductionModel : public G4MuPairProductionModel
0062 {
0063 public:
0064 
0065   explicit G4MuonToMuonPairProductionModel(const G4ParticleDefinition* p = nullptr,
0066                                            const G4String& nam = "muToMuonPairProd");
0067 
0068   ~G4MuonToMuonPairProductionModel() = default;
0069 
0070   // hide assignment operator and copy constructor
0071   G4MuonToMuonPairProductionModel & operator=
0072   (const G4MuonToMuonPairProductionModel &right) = delete;
0073   G4MuonToMuonPairProductionModel(const G4MuonToMuonPairProductionModel&) = delete;
0074 
0075   G4double 
0076   ComputeDMicroscopicCrossSection(G4double tkin, G4double Z,
0077                   G4double pairEnergy) override;
0078 
0079   void SampleSecondaries(std::vector<G4DynamicParticle*>*, 
0080              const G4MaterialCutsCouple*,
0081              const G4DynamicParticle*,
0082              G4double tmin,
0083              G4double maxEnergy) override;
0084 
0085   G4double U_func(G4double Z, G4double rho2, G4double xi, 
0086           G4double Y, G4double pairEnergy, const G4double B=183);
0087 
0088 protected:
0089 
0090   void DataCorrupted(G4int Z, G4double logTkin) const override;
0091 
0092   G4ParticleDefinition* theMuonMinus = nullptr;
0093   G4ParticleDefinition* theMuonPlus = nullptr;
0094 
0095   G4double factorForCross;
0096   G4double minPairEnergy;
0097   G4double muonMass;
0098   G4double mueRatio;
0099 };
0100 
0101 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0102 
0103 #endif