G4EmCaptureCascade.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 //
00028 //-----------------------------------------------------------------------------
00029 //
00030 // GEANT4 Class header file 
00031 //
00032 // File name:  G4EmCaptureCascade
00033 //
00034 // Author:        V.Ivanchenko (Vladimir.Ivantchenko@cern.ch)
00035 // 
00036 // Creation date: 22 April 2012 on base of G4MuMinusCaptureCascade
00037 //
00038 // Class Description: 
00039 //
00040 // Simulation of electromagnetic cascade from capture level to K-shell
00041 // of the mesonic atom
00042 //
00043 // Probabilities of gamma and Auger transitions from
00044 // N.C.Mukhopadhyay Phys. Rep. 30 (1977) 1.
00045 //
00046 //-----------------------------------------------------------------------------
00047 //
00048 // Modifications: 
00049 //
00050 //-----------------------------------------------------------------------------
00051 
00052 #ifndef G4EmCaptureCascade_h
00053 #define G4EmCaptureCascade_h 1
00054 
00055 #include "globals.hh"
00056 #include "G4Nucleus.hh"
00057 #include "G4Track.hh"
00058 #include "G4HadProjectile.hh"
00059 #include "G4HadSecondary.hh"
00060 #include "G4HadFinalState.hh"
00061 #include "G4HadronicInteraction.hh"
00062 #include "G4RandomDirection.hh"
00063 #include "G4ParticleDefinition.hh"
00064 #include "G4DynamicParticle.hh"
00065 #include "G4ThreeVector.hh"
00066 
00067 class G4EmCaptureCascade : public G4HadronicInteraction
00068 { 
00069 public:
00070  
00071   G4EmCaptureCascade();
00072  
00073   ~G4EmCaptureCascade();
00074 
00075   G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, 
00076                                  G4Nucleus & targetNucleus );
00077 
00078   void ModelDescription(std::ostream& outFile) const; 
00079 
00080 private:
00081 
00082   inline void AddNewParticle(G4ParticleDefinition* aParticle,
00083                              G4double kinEnergy);
00084 
00085   // hide assignment operator as private 
00086   G4EmCaptureCascade& operator=(const G4EmCaptureCascade &right);
00087   G4EmCaptureCascade(const G4EmCaptureCascade& );
00088 
00089   G4HadFinalState result;
00090   G4ParticleDefinition* theElectron;
00091   G4ParticleDefinition* theGamma;
00092   G4double fMuMass;
00093   G4double fTime;
00094   G4double fLevelEnergy[14];
00095   G4double fKLevelEnergy[93];
00096 };
00097 
00098 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00099 
00100 inline void 
00101 G4EmCaptureCascade::AddNewParticle(G4ParticleDefinition* aParticle,
00102                                    G4double kinEnergy)
00103 {
00104   G4DynamicParticle* dp = new G4DynamicParticle(aParticle,
00105                                                 G4RandomDirection(),
00106                                                 kinEnergy);
00107   G4HadSecondary hs(dp);
00108   hs.SetTime(fTime);
00109   result.AddSecondary(hs);
00110 }
00111 
00112 #endif
00113 
00114 

Generated on Mon May 27 17:48:08 2013 for Geant4 by  doxygen 1.4.7