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

Last change on this file since 1316 was 1315, checked in by garnier, 14 years ago

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

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.14 2010/02/17 18:59:22 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
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  G4bool buildElmTableFlag;
96  const G4ParticleDefinition* aParticle;
97
98};
99
100//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
101//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
102
103inline void G4CoulombScattering::SetThetaMin(G4double val)
104{
105  thetaMin = val;
106}
107
108//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
109
110inline void G4CoulombScattering::SetThetaMax(G4double val)
111{
112  thetaMax = val;
113}
114
115//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
116
117inline void G4CoulombScattering::SetQ2Max(G4double val)
118{
119  q2Max = val;
120}
121
122//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
123
124inline void G4CoulombScattering::SetHEModelLimit(G4double val)
125{
126  thEnergy = val;
127  thEnergyElec = val;
128}
129
130//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
131
132#endif
Note: See TracBrowser for help on using the repository browser.