source: trunk/source/processes/electromagnetic/standard/include/G4ionGasIonisation.hh @ 846

Last change on this file since 846 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 3.8 KB
Line 
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: G4ionGasIonisation.hh,v 1.2 2007/08/13 06:13:30 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-01-patch-02 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name:     G4ionGasIonisation
35//
36// Author:        Vladimir Ivanchenko
37//
38// Creation date: 23.07.2007
39//
40// Modifications:
41//
42//
43// Class Description:
44//
45// This class manages the ionisation process for ions. It inherites
46// from G4ionIonisation and sample ion/media charge exchange
47//
48
49// -------------------------------------------------------------------
50//
51
52#ifndef G4ionGasIonisation_h
53#define G4ionGasIonisation_h 1
54
55#include "G4ionIonisation.hh"
56
57class G4Material;
58
59class G4ionGasIonisation : public G4ionIonisation
60{
61public:
62
63  G4ionGasIonisation(const G4String& name = "ionGasIoni");
64
65  virtual ~G4ionGasIonisation();
66
67  virtual void PrintInfo();
68
69protected:
70
71  // Initialise process before run
72  virtual void InitialiseEnergyLossProcess(
73                                   const G4ParticleDefinition*,
74                                   const G4ParticleDefinition*);
75
76  // Initialise dynamic charge before step
77  virtual void InitialiseMassCharge(const G4Track&);
78
79  // Apply correction after step and modify dynamic charge
80  virtual void CorrectionsAlongStep(
81                           const G4MaterialCutsCouple*,
82                           const G4DynamicParticle*,
83                                 G4double& eloss,
84                                 G4double& length);
85
86private:
87
88  // Sample change of charge of the projectile ion
89  G4double SampleChargeAfterStep(G4double qeff, G4double xeff);
90
91  // hide assignment operator
92  G4ionGasIonisation & operator=(const G4ionGasIonisation &right);
93  G4ionGasIonisation(const G4ionGasIonisation&);
94
95  const G4ParticleDefinition* currParticle;
96  const G4ParticleDefinition* baseParticle;
97
98  G4double                    basePartMass;
99  G4double                    currMassRatio;
100  G4double                    atomXS;
101  G4double                    preStepKinEnergy;
102
103  G4int                       currentIonZ;
104  G4int                       ionZ;
105
106  G4bool                      initialised;
107
108};
109
110//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
111
112#endif
Note: See TracBrowser for help on using the repository browser.