G4mplIonisationWithDeltaModel.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: G4mplIonisationWithDeltaModel.hh 66996 2013-01-29 14:50:52Z gcosmo $
00027 //
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class header file
00031 //
00032 //
00033 // File name:     G4mplIonisationWithDeltaModel
00034 //
00035 // Author:        Vladimir Ivanchenko 
00036 //
00037 // Creation date: 06.09.2005
00038 //
00039 // Modifications:
00040 // 12.08.2007 ComputeDEDXAhlen function added (M. Vladymyrov)
00041 //
00042 // Class Description:
00043 //
00044 // Implementation of model of energy loss of the magnetic monopole
00045 
00046 // -------------------------------------------------------------------
00047 //
00048 
00049 #ifndef G4mplIonisationWithDeltaModel_h
00050 #define G4mplIonisationWithDeltaModel_h 1
00051 
00052 #include "G4VEmModel.hh"
00053 #include "G4VEmFluctuationModel.hh"
00054 
00055 class G4ParticleChangeForLoss;
00056 
00057 class G4mplIonisationWithDeltaModel : public G4VEmModel, public G4VEmFluctuationModel
00058 {
00059 
00060 public:
00061 
00062   G4mplIonisationWithDeltaModel(G4double mCharge, 
00063                                 const G4String& nam = "mplIonisationWithDelta");
00064 
00065   virtual ~G4mplIonisationWithDeltaModel();
00066 
00067   virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
00068 
00069   virtual G4double ComputeDEDXPerVolume(const G4Material*,
00070                                         const G4ParticleDefinition*,
00071                                         G4double kineticEnergy,
00072                                         G4double cutEnergy);
00073 
00074   virtual G4double ComputeCrossSectionPerElectron(
00075                                  const G4ParticleDefinition*,
00076                                  G4double kineticEnergy,
00077                                  G4double cutEnergy,
00078                                  G4double maxEnergy);
00079 
00080   virtual G4double ComputeCrossSectionPerAtom(
00081                                  const G4ParticleDefinition*,
00082                                  G4double kineticEnergy,
00083                                  G4double Z, G4double A,
00084                                  G4double cutEnergy,
00085                                  G4double maxEnergy);
00086 
00087   virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
00088                                  const G4MaterialCutsCouple*,
00089                                  const G4DynamicParticle*,
00090                                  G4double tmin,
00091                                  G4double maxEnergy);
00092 
00093 
00094   virtual G4double SampleFluctuations(const G4Material*,
00095                                       const G4DynamicParticle*,
00096                                       G4double& tmax,
00097                                       G4double& length,
00098                                       G4double& meanLoss);
00099 
00100   virtual G4double Dispersion(const G4Material*,
00101                               const G4DynamicParticle*,
00102                               G4double& tmax,
00103                               G4double& length);
00104 
00105   void SetParticle(const G4ParticleDefinition* p);
00106 
00107 protected:
00108 
00109   virtual G4double MaxSecondaryEnergy(const G4ParticleDefinition*,
00110                                       G4double kinEnergy);
00111 
00112 private:
00113 
00114   G4double ComputeDEDXAhlen(const G4Material* material, G4double bg2, G4double cut);
00115 
00116   // hide assignment operator
00117   G4mplIonisationWithDeltaModel & operator=(const  G4mplIonisationWithDeltaModel &right);
00118   G4mplIonisationWithDeltaModel(const  G4mplIonisationWithDeltaModel&);
00119 
00120   const G4ParticleDefinition* monopole;
00121   G4ParticleDefinition* theElectron;
00122   G4ParticleChangeForLoss*    fParticleChange;
00123 
00124   G4double mass;
00125   G4double magCharge;
00126   G4double twoln10;
00127   G4double betalow;
00128   G4double betalim;
00129   G4double beta2lim;
00130   G4double bg2lim;
00131   G4double chargeSquare;
00132   G4double dedxlim;
00133   G4int    nmpl;
00134   G4double pi_hbarc2_over_mc2;
00135 };
00136 
00137 #endif
00138 
00139 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....

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