[1197] | 1 | // |
---|
| 2 | // ******************************************************************** |
---|
| 3 | // * License and Disclaimer * |
---|
| 4 | // * * |
---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 7 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 9 | // * include a list of copyright holders. * |
---|
| 10 | // * * |
---|
| 11 | // * Neither the authors of this software system, nor their employing * |
---|
| 12 | // * institutes,nor the agencies providing financial support for this * |
---|
| 13 | // * work make any representation or warranty, express or implied, * |
---|
| 14 | // * regarding this software system or assume any liability for its * |
---|
| 15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 16 | // * for the full disclaimer and the limitation of liability. * |
---|
| 17 | // * * |
---|
| 18 | // * This code implementation is the result of the scientific and * |
---|
| 19 | // * technical work of the GEANT4 collaboration. * |
---|
| 20 | // * By using, copying, modifying or distributing the software (or * |
---|
| 21 | // * any work based on the software) you agree to acknowledge its * |
---|
| 22 | // * use in resulting scientific publications, and indicate your * |
---|
| 23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 24 | // ******************************************************************** |
---|
| 25 | // |
---|
| 26 | // $Id: G4alphaIonisation.hh,v 1.1 2009/11/10 11:50:30 vnivanch Exp $ |
---|
[1228] | 27 | // GEANT4 tag $Name: geant4-09-03 $ |
---|
[1197] | 28 | // |
---|
| 29 | // ------------------------------------------------------------------- |
---|
| 30 | // |
---|
| 31 | // GEANT4 Class header file |
---|
| 32 | // |
---|
| 33 | // |
---|
| 34 | // File name: G4alphaIonisation |
---|
| 35 | // |
---|
| 36 | // Author: Vladimir Ivanchenko |
---|
| 37 | // |
---|
| 38 | // Creation date: 28.10.2009 |
---|
| 39 | // |
---|
| 40 | // Modifications: |
---|
| 41 | // |
---|
| 42 | // |
---|
| 43 | // Class Description: |
---|
| 44 | // |
---|
| 45 | // This class manages the ionisation process for He ions. Effective charge, |
---|
| 46 | // nuclear stopping power, energy loss corrections are taken into account. |
---|
| 47 | // It inherites from G4VEnergyLossLoss. |
---|
| 48 | // |
---|
| 49 | |
---|
| 50 | // ------------------------------------------------------------------- |
---|
| 51 | // |
---|
| 52 | |
---|
| 53 | #ifndef G4alphaIonisation_h |
---|
| 54 | #define G4alphaIonisation_h 1 |
---|
| 55 | |
---|
| 56 | #include "G4VEnergyLossProcess.hh" |
---|
| 57 | |
---|
| 58 | class G4Material; |
---|
| 59 | |
---|
| 60 | class G4alphaIonisation : public G4VEnergyLossProcess |
---|
| 61 | { |
---|
| 62 | public: |
---|
| 63 | |
---|
| 64 | G4alphaIonisation(const G4String& name = "alphaIoni"); |
---|
| 65 | |
---|
| 66 | virtual ~G4alphaIonisation(); |
---|
| 67 | |
---|
| 68 | virtual G4bool IsApplicable(const G4ParticleDefinition& p); |
---|
| 69 | |
---|
| 70 | // Print out of the class parameters |
---|
| 71 | virtual void PrintInfo(); |
---|
| 72 | |
---|
| 73 | void ActivateNuclearStopping(G4bool); |
---|
| 74 | |
---|
| 75 | protected: |
---|
| 76 | |
---|
| 77 | virtual void InitialiseEnergyLossProcess(const G4ParticleDefinition*, |
---|
| 78 | const G4ParticleDefinition*); |
---|
| 79 | |
---|
| 80 | virtual G4double MinPrimaryEnergy(const G4ParticleDefinition* p, |
---|
| 81 | const G4Material*, G4double cut); |
---|
| 82 | |
---|
| 83 | inline G4double BetheBlochEnergyThreshold(); |
---|
| 84 | |
---|
| 85 | inline G4bool NuclearStoppingFlag(); |
---|
| 86 | |
---|
| 87 | private: |
---|
| 88 | |
---|
| 89 | // hide assignment operator |
---|
| 90 | G4alphaIonisation & operator=(const G4alphaIonisation &right); |
---|
| 91 | G4alphaIonisation(const G4alphaIonisation&); |
---|
| 92 | |
---|
| 93 | const G4ParticleDefinition* theParticle; |
---|
| 94 | |
---|
| 95 | G4double mass; |
---|
| 96 | G4double ratio; |
---|
| 97 | G4double eth; |
---|
| 98 | |
---|
| 99 | G4bool isInitialised; |
---|
| 100 | G4bool nuclearStopping; |
---|
| 101 | }; |
---|
| 102 | |
---|
| 103 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 104 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 105 | |
---|
| 106 | inline void G4alphaIonisation::ActivateNuclearStopping(G4bool val) |
---|
| 107 | { |
---|
| 108 | nuclearStopping = val; |
---|
| 109 | } |
---|
| 110 | |
---|
| 111 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 112 | |
---|
| 113 | inline G4double G4alphaIonisation::BetheBlochEnergyThreshold() |
---|
| 114 | { |
---|
| 115 | return eth; |
---|
| 116 | } |
---|
| 117 | |
---|
| 118 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 119 | |
---|
| 120 | inline G4bool G4alphaIonisation::NuclearStoppingFlag() |
---|
| 121 | { |
---|
| 122 | return nuclearStopping; |
---|
| 123 | } |
---|
| 124 | |
---|
| 125 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
| 126 | |
---|
| 127 | #endif |
---|