source: trunk/source/processes/electromagnetic/standard/include/G4CoulombScattering.hh@ 908

Last change on this file since 908 was 819, checked in by garnier, 17 years ago

import all except CVS

File size: 4.1 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: G4CoulombScattering.hh,v 1.8 2007/07/31 17:24:04 vnivanch Exp $
27// GEANT4 tag $Name: $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name: G4CoulombScattering
35//
36// Author: Vladimir Ivanchenko
37//
38// Creation date: 12.03.2006
39//
40// Modifications:
41//
42// Class Description:
43//
44// This class manages the process of Coulomb elastic scattering
45//
46
47// -------------------------------------------------------------------
48//
49
50#ifndef G4CoulombScattering_h
51#define G4CoulombScattering_h 1
52
53#include "G4VEmProcess.hh"
54#include "G4VEmModel.hh"
55
56class G4CoulombScattering : public G4VEmProcess
57{
58
59public:
60
61 G4CoulombScattering(const G4String& name = "eCoulombScat");
62
63 virtual ~G4CoulombScattering();
64
65 virtual G4bool IsApplicable(const G4ParticleDefinition& p);
66
67 void SetThetaMin(G4double);
68
69 void SetThetaMax(G4double);
70
71 void SetQ2Max(G4double);
72
73 // obsolete method to be removed
74 void SetBuildTableFlag(G4bool);
75
76 // Print out of the class parameters
77 virtual void PrintInfo();
78
79protected:
80
81 virtual void InitialiseProcess(const G4ParticleDefinition*);
82
83private:
84
85 // hide assignment operator
86 G4CoulombScattering & operator=(const G4CoulombScattering &right);
87 G4CoulombScattering(const G4CoulombScattering&);
88
89 G4double thetaMin;
90 G4double thetaMax;
91 G4double q2Max;
92 G4double thEnergy;
93 G4double thEnergyElec;
94 G4bool isInitialised;
95 G4bool buildElmTableFlag;
96 const G4ParticleDefinition* aParticle;
97
98};
99
100//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
101//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
102
103inline G4bool G4CoulombScattering::IsApplicable(const G4ParticleDefinition& p)
104{
105 return (p.GetPDGCharge() != 0.0 && !p.IsShortLived());
106}
107
108//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
109
110inline void G4CoulombScattering::SetThetaMin(G4double val)
111{
112 thetaMin = val;
113}
114
115//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
116
117inline void G4CoulombScattering::SetThetaMax(G4double val)
118{
119 thetaMax = val;
120}
121
122//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
123
124inline void G4CoulombScattering::SetQ2Max(G4double val)
125{
126 q2Max = val;
127}
128
129//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
130
131inline void G4CoulombScattering::SetBuildTableFlag(G4bool)
132{}
133
134//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
135
136#endif
Note: See TracBrowser for help on using the repository browser.