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 // File name:  G4MuonMinusBoundDecay
0032 //
0033 // Author:        V.Ivanchenko (Vladimir.Ivantchenko@cern.ch)
0034 // 
0035 // Creation date: 24 April 2012 on base of G4MuMinusCaptureAtRest
0036 //
0037 // Class Description: 
0038 //
0039 // Sample probabilities of mu- nuclear capture of decay from K-shell orbit.
0040 // In ApplyYourself method time of projectile is changed taking
0041 //    into account delay of decay or capture. If decay is sampled
0042 //    primary state become stopAndKill, if not - isAlive
0043 //
0044 // Based of reviews:
0045 //   N.C.Mukhopadhyay Phy. Rep. 30 (1977) 1.
0046 //   B.B.Balashov, G.Ya.Korenman, P.A.Eramgan, Atomizdat, 1978. 
0047 //
0048 //-----------------------------------------------------------------------------
0049 //
0050 // Modifications: 
0051 // 23/04/2013  K.Genser     Made GetMuonCaptureRate and 
0052 //                          GetMuonDecayRate public static
0053 // 04/30/2013  K.Genser     Added GetMuonZeff
0054 //
0055 // 10/08/2018  K.Genser     Added nother GetMuonDecayRate
0056 //
0057 //-----------------------------------------------------------------------------
0058 
0059 #ifndef G4MuonMinusBoundDecay_h
0060 #define G4MuonMinusBoundDecay_h 1
0061 
0062 #include "globals.hh"
0063 #include "G4Nucleus.hh"
0064 #include "G4Track.hh"
0065 #include "G4HadProjectile.hh"
0066 #include "G4HadSecondary.hh"
0067 #include "G4HadFinalState.hh"
0068 #include "G4HadronicInteraction.hh"
0069 #include "G4DynamicParticle.hh"
0070 
0071 class G4MuonMinusBoundDecay : public G4HadronicInteraction
0072 { 
0073 public:
0074  
0075   G4MuonMinusBoundDecay();
0076  
0077   ~G4MuonMinusBoundDecay();
0078 
0079   G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, 
0080                  G4Nucleus & targetNucleus );
0081 
0082   void ModelDescription(std::ostream& outFile) const; 
0083 
0084   static G4double GetMuonCaptureRate(G4int Z, G4int A);
0085 
0086   static G4double GetMuonDecayRate(G4int Z, G4int A,
0087                                    G4double muMass,
0088                                    G4double nuclMass);
0089 
0090   static G4double GetMuonDecayRate(G4int Z); // to be deprecated
0091 
0092   static G4double GetMuonZeff(G4int Z);
0093 
0094 private:
0095 
0096   inline void AddNewParticle(G4DynamicParticle* dp, G4double time);
0097 
0098   // hide assignment operator as private 
0099   G4MuonMinusBoundDecay& operator=(const G4MuonMinusBoundDecay &right);
0100   G4MuonMinusBoundDecay(const G4MuonMinusBoundDecay& );
0101 
0102   G4HadFinalState result;
0103   G4double fMuMass;
0104 
0105 };
0106 
0107 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
0108 
0109 inline void 
0110 G4MuonMinusBoundDecay::AddNewParticle(G4DynamicParticle* dp, G4double time)
0111 {
0112   G4HadSecondary hs(dp);
0113   hs.SetTime(time);
0114   result.AddSecondary(hs);
0115 }
0116 
0117 #endif
0118 
0119