source: trunk/source/processes/electromagnetic/muons/include/G4MuMultipleScattering.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.8 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: G4MuMultipleScattering.hh,v 1.1 2007/10/26 09:52:37 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-01-patch-02 $
28//
29// -----------------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33// File name:     G4MuMultipleScattering
34//
35// Author:        V.Ivanchenko using Laszlo Urban original code
36//
37// Creation date: 24.10.2007 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 G4MuMultipleScattering_h
56#define G4MuMultipleScattering_h 1
57
58#include "G4VMultipleScattering.hh"
59
60//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
61
62class G4MuMscModel;
63
64class G4MuMultipleScattering : public G4VMultipleScattering
65
66{
67public:    // with description
68
69  G4MuMultipleScattering(G4double tet = 0.2, 
70                         const G4String& processName="muMsc");
71
72  virtual ~G4MuMultipleScattering();
73
74  // returns true for charged particles, false otherwise
75  G4bool IsApplicable (const G4ParticleDefinition& p);
76
77  // Print few lines of informations about the process: validity range,
78  void PrintInfo();
79
80  // geom. step length distribution should be sampled or not
81  void Setsamplez(G4bool value) { samplez = value;};
82
83  // to reduce the energy/step dependence
84  void Setdtrl(G4double value) { dtrl = value;};
85
86  // 'soften' step limitation above lambdalimit
87  void SetLimitTheta(G4double value) { thetaLimit = value;};
88
89protected:
90
91  // This function initialise models
92  void InitialiseProcess(const G4ParticleDefinition*);
93
94private:        // data members
95
96  G4MuMscModel* mscModel;
97
98  G4double thetaLimit;
99  G4double dtrl;
100
101  G4bool   samplez;
102  G4bool   isInitialized;
103
104};
105
106//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
107
108#endif
Note: See TracBrowser for help on using the repository browser.