Geant4  10.02.p02
G4DiscreteScatteringProcess.cc
Go to the documentation of this file.
3 #include "G4Electron.hh"
4 
5 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
6 
8 : G4VEmProcess("DiscreteScattering", fElectromagnetic),
9  fIsInitialised(false), fNumAngles(iNumAngles)
10 {
11  SetBuildTableFlag(true);
12  SetStartFromNullFlag(false);
15  SetIntegral(false);
16  SetSplineFlag(false);
18 }
19 
20 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
21 
23 }
24 
25 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
26 
28  return (&p == G4Electron::Definition());
29 }
30 
31 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
32 
34 
35 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
36 
37 void
39 {
40  if(fIsInitialised) { return; }
41  fIsInitialised = true;
43  AddEmModel(1, model);
44 }
45 
46 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
static const double MeV
Definition: G4SIunits.hh:211
void SetBuildTableFlag(G4bool val)
void SetSplineFlag(G4bool val)
static G4Electron * Definition()
Definition: G4Electron.cc:49
G4DiscreteScatteringProcess(G4int iNumAngles=1)
void SetStartFromNullFlag(G4bool val)
int G4int
Definition: G4Types.hh:78
void SetProcessSubType(G4int)
Definition: G4VProcess.hh:432
void SetIntegral(G4bool val)
void SetMaxKinEnergy(G4double e)
void AddEmModel(G4int, G4VEmModel *, const G4Region *region=0)
virtual void InitialiseProcess(const G4ParticleDefinition *)
static const double keV
Definition: G4SIunits.hh:213
virtual bool IsApplicable(const G4ParticleDefinition &p)
void SetMinKinEnergy(G4double e)