G4LivermoreBremsstrahlungModel.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 // Author: Luciano Pandola
00029 //         on base of G4LowEnergyBremsstrahlung developed by A.Forti and V.Ivanchenko
00030 //
00031 // History:
00032 // -----------
00033 // 03 Mar 2009   L. Pandola   1st implementation. Migration from EM process 
00034 //                            to EM model. Physics is unchanged.
00035 //
00036 // -------------------------------------------------------------------
00037 //
00038 // Class description:
00039 // Low Energy Electromagnetic Physics, e- bremsstrahlung
00040 // with Livermore Model
00041 // -------------------------------------------------------------------
00042 
00043 #ifndef G4LIVERMOREBREMSSTRAHLUNGMODEL_HH
00044 #define G4LIVERMOREBREMSSTRAHLUNGMODEL_HH 1
00045 
00046 #include "globals.hh"
00047 #include "G4VEmModel.hh"
00048 #include "G4ParticleChangeForLoss.hh"
00049 
00050 class G4ParticleDefinition;
00051 class G4MaterialCutsCouple;
00052 class G4Material;
00053 //class G4VBremAngularDistribution;
00054 class G4BremsstrahlungCrossSectionHandler;
00055 class G4VEnergySpectrum;
00056 
00057 class G4LivermoreBremsstrahlungModel : public G4VEmModel 
00058 {
00059 
00060 public:
00061   
00062   G4LivermoreBremsstrahlungModel(const G4ParticleDefinition* p=0,
00063                          const G4String& processName = "LowEnBrem");
00064   
00065   virtual ~G4LivermoreBremsstrahlungModel();
00066 
00067   virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
00068 
00069   
00070   virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition*,
00071                                               G4double kinEnergy,
00072                                               G4double Z,
00073                                               G4double A=0,
00074                                               G4double cut=0,
00075                                               G4double emax=DBL_MAX);
00076                                          
00077   virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
00078                                  const G4MaterialCutsCouple*,
00079                                  const G4DynamicParticle*,
00080                                  G4double tmin,
00081                                  G4double maxEnergy);
00082                                    
00083   virtual G4double ComputeDEDXPerVolume(const G4Material*,
00084                                const G4ParticleDefinition*,
00085                                G4double kineticEnergy,
00086                                G4double cutEnergy);
00087                          
00088   // min cut in kinetic energy allowed by the model
00089   virtual G4double MinEnergyCut(const G4ParticleDefinition*,
00090                                 const G4MaterialCutsCouple*);
00091 
00092   void SetVerboseLevel(G4int vl) {verboseLevel = vl;};
00093   /*
00094   void SetAngularGenerator(G4VBremAngularDistribution* distribution);
00095   void SetAngularGenerator(const G4String& name);
00096   */
00097 protected:
00098   G4ParticleChangeForLoss* fParticleChange;
00099 
00100 private:
00101  
00102   G4LivermoreBremsstrahlungModel & operator=(const G4LivermoreBremsstrahlungModel &right);
00103   G4LivermoreBremsstrahlungModel(const G4LivermoreBremsstrahlungModel&);
00104 
00105 
00106   //Intrinsic energy limits of the model: cannot be extended by the parent process
00107   G4double fIntrinsicLowEnergyLimit;
00108   G4double fIntrinsicHighEnergyLimit;
00109   G4int fNBinEnergyLoss;
00110 
00111   G4bool isInitialised;
00112  
00113   G4int verboseLevel;
00114 
00115   G4BremsstrahlungCrossSectionHandler* crossSectionHandler;
00116   G4VEnergySpectrum* energySpectrum;
00117   G4DataVector energyBins;
00118 
00119   //G4VBremAngularDistribution* angularDistribution;
00120   // G4VBremAngularDistribution* TsaiAngularDistribution;
00121   //G4String generatorName;
00122 };
00123 
00124 #endif
00125 

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