source: trunk/source/processes/electromagnetic/standard/include/G4eMultipleScattering.hh@ 1036

Last change on this file since 1036 was 1007, checked in by garnier, 17 years ago

update to geant4.9.2

File size: 3.6 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: G4eMultipleScattering.hh,v 1.2 2008/03/11 12:03:43 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-02 $
28//
29// -----------------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33// File name: G4eMultipleScattering
34//
35// Author: Vladimir Ivanchenko
36//
37// Creation date: 10 March 2001
38//
39// Modifications:
40//
41//
42//------------------------------------------------------------------------------
43//
44
45// class description
46//
47// The class simulates the multiple scattering for e+ and e-
48//
49// class description - end
50
51//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
52//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
53
54#ifndef G4eMultipleScattering_h
55#define G4eMultipleScattering_h 1
56
57#include "G4VMultipleScattering.hh"
58
59//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
60
61class G4VMscModel;
62
63class G4eMultipleScattering : public G4VMultipleScattering
64
65{
66public: // with description
67
68 G4eMultipleScattering(const G4String& processName="msc");
69
70 virtual ~G4eMultipleScattering();
71
72 // returns true for charged particles, false otherwise
73 G4bool IsApplicable (const G4ParticleDefinition& p);
74
75 // Print few lines of informations about the process: validity range,
76 void PrintInfo();
77
78 // geom. step length distribution should be sampled or not
79 void Setsamplez(G4bool value) { samplez = value;};
80
81 // to reduce the energy/step dependence
82 void Setdtrl(G4double value) { dtrl = value;};
83
84 // 'soften' step limitation above lambdalimit
85 void SetLambdalimit(G4double value) { lambdalimit = value;};
86
87protected:
88
89 // This function initialise models
90 void InitialiseProcess(const G4ParticleDefinition*);
91
92private: // data members
93
94 G4VMscModel* mscUrban;
95
96 G4double lambdalimit;
97 G4double dtrl;
98
99 G4bool samplez;
100 G4bool isInitialized;
101
102};
103
104//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
105
106#endif
Note: See TracBrowser for help on using the repository browser.