source: trunk/source/processes/electromagnetic/lowenergy/include/G4RayleighScattering.hh@ 992

Last change on this file since 992 was 966, checked in by garnier, 17 years ago

fichier ajoutes

File size: 3.5 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//
27// $Id: G4RayleighScattering.hh,v 1.1 2008/12/19 14:23:04 pandola Exp $
28// GEANT4 tag $Name: geant4-09-02-ref-02 $
29//
30//------------------ G4RayleighScattering physics process -----------------------
31//
32// 19-12-2008, first implementation, Luciano Pandola
33// -----------------------------------------------------------------------------
34
35// class description
36//
37// Class to implement Rayleigh scattering as a physics process. The default model
38// used for the process is G4LivermoreRayleighModel
39
40//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
41//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
42
43#ifndef G4RayleighScattering_h
44#define G4RayleighScattering_h 1
45
46#include "globals.hh"
47#include "G4VEmProcess.hh"
48#include "G4Gamma.hh"
49
50//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
51
52class G4ParticleDefinition;
53class G4VEmModel;
54class G4MaterialCutsCouple;
55class G4DynamicParticle;
56
57class G4RayleighScattering : public G4VEmProcess
58
59{
60public: // with description
61
62 G4RayleighScattering(const G4String& processName ="rayl",
63 G4ProcessType type = fElectromagnetic);
64
65 virtual ~G4RayleighScattering();
66
67 // true for Gamma only.
68 G4bool IsApplicable(const G4ParticleDefinition&);
69
70 // Print few lines of informations about the process: validity range,
71 virtual void PrintInfo();
72
73
74protected:
75
76 virtual void InitialiseProcess(const G4ParticleDefinition*);
77
78private:
79
80 G4bool isInitialised;
81};
82
83//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
84//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
85
86inline
87G4bool G4RayleighScattering::IsApplicable(const G4ParticleDefinition& p)
88{
89 return (&p == G4Gamma::Gamma());
90}
91
92//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
93
94#endif
95
Note: See TracBrowser for help on using the repository browser.