source: trunk/source/processes/electromagnetic/utils/include/G4VMscModel.hh@ 1042

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

update to geant4.9.2

File size: 3.9 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: G4VMscModel.hh,v 1.4 2008/03/10 10:39:28 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-02 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name: G4VMscModel
35//
36// Author: Vladimir Ivanchenko
37//
38// Creation date: 07.03.2008
39//
40// Modifications:
41//
42//
43// Class Description:
44//
45// General interface to msc models
46
47// -------------------------------------------------------------------
48//
49
50#ifndef G4VMscModel_h
51#define G4VMscModel_h 1
52
53#include "G4VEmModel.hh"
54#include "G4MscStepLimitType.hh"
55#include "globals.hh"
56
57class G4VMscModel : public G4VEmModel
58{
59
60public:
61
62 G4VMscModel(const G4String& nam);
63
64 virtual ~G4VMscModel();
65
66 inline void SetStepLimitType(G4MscStepLimitType);
67
68 inline void SetLateralDisplasmentFlag(G4bool val);
69
70 inline void SetRangeFactor(G4double);
71
72 inline void SetGeomFactor(G4double);
73
74 inline void SetSkin(G4double);
75
76private:
77
78 // hide assignment operator
79 G4VMscModel & operator=(const G4VMscModel &right);
80 G4VMscModel(const G4VMscModel&);
81
82protected:
83
84 G4double facrange;
85 G4double facgeom;
86 G4double facsafety;
87 G4double skin;
88 G4double dtrl;
89 G4double lambdalimit;
90
91 G4MscStepLimitType steppingAlgorithm;
92
93 G4bool samplez;
94 G4bool latDisplasment;
95
96};
97
98//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
99//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
100
101inline void G4VMscModel::SetLateralDisplasmentFlag(G4bool val)
102{
103 latDisplasment = val;
104}
105
106//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
107
108inline void G4VMscModel::SetSkin(G4double val)
109{
110 skin = val;
111}
112
113//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
114
115inline void G4VMscModel::SetRangeFactor(G4double val)
116{
117 facrange = val;
118}
119
120//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
121
122inline void G4VMscModel::SetGeomFactor(G4double val)
123{
124 facgeom = val;
125}
126
127//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
128
129inline void G4VMscModel::SetStepLimitType(G4MscStepLimitType val)
130{
131 steppingAlgorithm = val;
132}
133
134//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
135
136#endif
137
Note: See TracBrowser for help on using the repository browser.