|
||||
File indexing completed on 2025-01-18 09:58:24
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 // ------------------------------------------------------------------- 0028 // 0029 // GEANT4 Class header file 0030 // 0031 // 0032 // File name: G4hhIonisation 0033 // 0034 // Author: Vladimir Ivanchenko 0035 // 0036 // Creation date: 30.09.2005 0037 // 0038 // Modifications: 0039 // 0040 // 0041 // Class Description: 0042 // 0043 // This class manages the ionisation process for exsotic hadrons 0044 // without any delta electrons production 0045 // 0046 0047 // ------------------------------------------------------------------- 0048 // 0049 0050 #ifndef G4hhIonisation_h 0051 #define G4hhIonisation_h 1 0052 0053 #include "G4VEnergyLossProcess.hh" 0054 #include "globals.hh" 0055 #include "G4VEmModel.hh" 0056 0057 class G4Material; 0058 class G4VEmFluctuationModel; 0059 0060 class G4hhIonisation : public G4VEnergyLossProcess 0061 { 0062 0063 public: 0064 0065 explicit G4hhIonisation(const G4String& name = "hhIoni"); 0066 0067 ~G4hhIonisation() override; 0068 0069 G4bool IsApplicable(const G4ParticleDefinition& p) override; 0070 0071 G4double MinPrimaryEnergy(const G4ParticleDefinition* p, 0072 const G4Material*, G4double cut) override; 0073 0074 // print description in html 0075 void ProcessDescription(std::ostream&) const override; 0076 0077 // hide assignment operator 0078 G4hhIonisation & operator=(const G4hhIonisation &right) = delete; 0079 G4hhIonisation(const G4hhIonisation&) = delete; 0080 0081 protected: 0082 0083 void InitialiseEnergyLossProcess(const G4ParticleDefinition*, 0084 const G4ParticleDefinition*) override; 0085 0086 private: 0087 0088 const G4ParticleDefinition* theParticle = nullptr; 0089 G4VEmFluctuationModel* flucModel = nullptr; 0090 0091 G4double mass = 0.0; 0092 G4double ratio = 0.0; 0093 0094 G4bool isInitialised = false; 0095 }; 0096 0097 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0098 0099 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |