source: trunk/source/processes/electromagnetic/standard/include/G4hMultipleScattering.hh @ 819

Last change on this file since 819 was 819, checked in by garnier, 16 years ago

import all except CVS

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