G4mplIonisationModel.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: G4mplIonisationModel.hh 66996 2013-01-29 14:50:52Z gcosmo $
00027 //
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class header file
00031 //
00032 //
00033 // File name:     G4mplIonisationModel
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 G4mplIonisationModel_h
00050 #define G4mplIonisationModel_h 1
00051 
00052 #include "G4VEmModel.hh"
00053 #include "G4VEmFluctuationModel.hh"
00054 
00055 class G4ParticleChangeForLoss;
00056 
00057 class G4mplIonisationModel : public G4VEmModel, public G4VEmFluctuationModel
00058 {
00059 
00060 public:
00061 
00062   G4mplIonisationModel(G4double mCharge,
00063                        const G4String& nam = "mplIonisation");
00064 
00065   virtual ~G4mplIonisationModel();
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 void SampleSecondaries(std::vector<G4DynamicParticle*>*,
00075                                  const G4MaterialCutsCouple*,
00076                                  const G4DynamicParticle*,
00077                                  G4double tmin,
00078                                  G4double maxEnergy);
00079 
00080 
00081   virtual G4double SampleFluctuations(const G4Material*,
00082                                       const G4DynamicParticle*,
00083                                       G4double& tmax,
00084                                       G4double& length,
00085                                       G4double& meanLoss);
00086 
00087   virtual G4double Dispersion(const G4Material*,
00088                               const G4DynamicParticle*,
00089                               G4double& tmax,
00090                               G4double& length);
00091 
00092   void SetParticle(const G4ParticleDefinition* p);
00093 
00094 private:
00095 
00096   G4double ComputeDEDXAhlen(const G4Material* material, G4double bg2);
00097 
00098   // hide assignment operator
00099   G4mplIonisationModel & operator=(const  G4mplIonisationModel &right);
00100   G4mplIonisationModel(const  G4mplIonisationModel&);
00101 
00102   const G4ParticleDefinition* monopole;
00103   G4ParticleChangeForLoss*    fParticleChange;
00104 
00105   G4double mass;
00106   G4double magCharge;
00107   G4double twoln10;
00108   G4double betalow;
00109   G4double betalim;
00110   G4double beta2lim;
00111   G4double bg2lim;
00112   G4double chargeSquare;
00113   G4double dedxlim;
00114   G4int    nmpl;
00115   G4double pi_hbarc2_over_mc2;
00116 };
00117 
00118 #endif
00119 
00120 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....

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