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

Last change on this file since 1346 was 1340, checked in by garnier, 15 years ago

update ti head

File size: 4.0 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.15 2010/10/25 19:13:23 vnivanch Exp $
27// GEANT4 tag $Name: emstand-V09-03-24 $
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 = "CoulombScat");
62
63 virtual ~G4CoulombScattering();
64
65 virtual G4bool IsApplicable(const G4ParticleDefinition& p);
66
67 inline void SetThetaMin(G4double);
68
69 inline void SetThetaMax(G4double);
70
71 inline void SetQ2Max(G4double);
72
73 // Set energy above which high energy model will be used
74 inline void SetHEModelLimit(G4double);
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 const G4ParticleDefinition* aParticle;
96
97};
98
99//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
100//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
101
102inline void G4CoulombScattering::SetThetaMin(G4double val)
103{
104 thetaMin = val;
105}
106
107//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
108
109inline void G4CoulombScattering::SetThetaMax(G4double val)
110{
111 thetaMax = val;
112}
113
114//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
115
116inline void G4CoulombScattering::SetQ2Max(G4double val)
117{
118 q2Max = val;
119}
120
121//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
122
123inline void G4CoulombScattering::SetHEModelLimit(G4double val)
124{
125 thEnergy = val;
126 thEnergyElec = val;
127}
128
129//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
130
131#endif
Note: See TracBrowser for help on using the repository browser.