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 // 00033 // File name: G4BohrFluctuations 00034 // 00035 // Author: Vladimir Ivanchenko 00036 // 00037 // Creation date: 02.04.2003 00038 // 00039 // Modifications: 00040 // 00041 // 16-10-03 Changed interface to Initialisation (V.Ivanchenko) 00042 // 00043 // Class Description: 00044 // 00045 // Implementation of Gaussion energy loss Fluctuations 00046 00047 // ------------------------------------------------------------------- 00048 // 00049 00050 #ifndef G4BohrFluctuations_h 00051 #define G4BohrFluctuations_h 1 00052 00053 00054 #include "G4VEmFluctuationModel.hh" 00055 #include "G4Material.hh" 00056 #include "G4DynamicParticle.hh" 00057 00058 class G4BohrFluctuations : public G4VEmFluctuationModel 00059 { 00060 00061 public: 00062 00063 G4BohrFluctuations(const G4String& nam = "BohrFluc"); 00064 00065 virtual ~G4BohrFluctuations(); 00066 00067 G4double SampleFluctuations(const G4Material*, 00068 const G4DynamicParticle*, 00069 G4double&, 00070 G4double&, 00071 G4double&); 00072 00073 G4double Dispersion( const G4Material*, 00074 const G4DynamicParticle*, 00075 G4double&, 00076 G4double&); 00077 00078 void InitialiseMe(const G4ParticleDefinition*); 00079 00080 private: 00081 00082 // hide assignment operator 00083 G4BohrFluctuations & operator=(const G4BohrFluctuations &right); 00084 G4BohrFluctuations(const G4BohrFluctuations&); 00085 00086 const G4ParticleDefinition* particle; 00087 00088 G4double particleMass; 00089 G4double chargeSquare; 00090 00091 G4double minNumberInteractionsBohr; 00092 G4double minFraction; 00093 G4double xmin; 00094 G4double minLoss; 00095 // cash 00096 G4double kineticEnergy; 00097 G4double beta2; 00098 }; 00099 00100 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00101 00102 #endif 00103