| [819] | 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 | //
|
|---|
| [1196] | 26 | // $Id: G4hMultipleScattering.hh,v 1.8 2009/11/01 13:04:12 vnivanch Exp $
|
|---|
| [1337] | 27 | // GEANT4 tag $Name: geant4-09-04-beta-01 $
|
|---|
| [819] | 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)
|
|---|
| [1196] | 41 | // 04.07.09 Remove other local parameters (V.Ivanchenko)
|
|---|
| [819] | 42 | //
|
|---|
| 43 | //
|
|---|
| 44 | //------------------------------------------------------------------------------
|
|---|
| 45 |
|
|---|
| 46 | // class description
|
|---|
| 47 | //
|
|---|
| 48 | // The class simulates the multiple scattering for any kind
|
|---|
| 49 | // of charged particle.
|
|---|
| 50 | //
|
|---|
| 51 | // class description - end
|
|---|
| 52 |
|
|---|
| 53 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|---|
| 54 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|---|
| 55 |
|
|---|
| 56 | #ifndef G4hMultipleScattering_h
|
|---|
| 57 | #define G4hMultipleScattering_h 1
|
|---|
| 58 |
|
|---|
| 59 | #include "G4VMultipleScattering.hh"
|
|---|
| 60 |
|
|---|
| 61 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|---|
| 62 |
|
|---|
| 63 | class G4hMultipleScattering : public G4VMultipleScattering
|
|---|
| 64 |
|
|---|
| 65 | {
|
|---|
| 66 | public: // with description
|
|---|
| 67 |
|
|---|
| 68 | G4hMultipleScattering(const G4String& processName="msc");
|
|---|
| 69 |
|
|---|
| 70 | virtual ~G4hMultipleScattering();
|
|---|
| 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 | protected:
|
|---|
| 79 |
|
|---|
| 80 | // This function initialise models
|
|---|
| 81 | void InitialiseProcess(const G4ParticleDefinition*);
|
|---|
| 82 |
|
|---|
| 83 | private: // data members
|
|---|
| 84 |
|
|---|
| 85 | G4bool isInitialized;
|
|---|
| 86 |
|
|---|
| 87 | };
|
|---|
| 88 |
|
|---|
| 89 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|---|
| 90 |
|
|---|
| 91 | #endif
|
|---|