source: trunk/source/processes/electromagnetic/highenergy/include/G4BraggNoDeltaModel.hh@ 1036

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

update to geant4.9.2

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// $Id: G4BraggNoDeltaModel.hh,v 1.6 2006/06/29 19:32:16 gunter Exp $
27// GEANT4 tag $Name: geant4-09-02 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name: G4BraggNoDeltaModel
35//
36// Author: Vladimir Ivanchenko
37//
38// Creation date: 18.05.2005
39//
40// Modifications:
41//
42//
43// Class Description:
44//
45// Implementation of Bethe-Bloch model of energy loss without delta-ray
46
47// -------------------------------------------------------------------
48//
49
50#ifndef G4BraggNoDeltaModel_h
51#define G4BraggNoDeltaModel_h 1
52
53#include "G4BraggIonModel.hh"
54
55class G4BraggNoDeltaModel : public G4BraggIonModel
56{
57
58public:
59
60 G4BraggNoDeltaModel(const G4ParticleDefinition* p = 0,
61 const G4String& nam = "BraggNoD");
62
63 virtual ~G4BraggNoDeltaModel();
64
65 virtual G4double ComputeDEDXPerVolume(const G4Material*,
66 const G4ParticleDefinition*,
67 G4double kineticEnergy,
68 G4double cutEnergy);
69
70 virtual G4double ComputeCrossSectionPerElectron(
71 const G4ParticleDefinition*,
72 G4double kineticEnergy,
73 G4double cutEnergy,
74 G4double maxEnergy);
75
76private:
77
78 // hide assignment operator
79 G4BraggNoDeltaModel & operator=(const G4BraggNoDeltaModel &right);
80 G4BraggNoDeltaModel(const G4BraggNoDeltaModel&);
81
82};
83
84//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
85
86inline G4double G4BraggNoDeltaModel::ComputeDEDXPerVolume(
87 const G4Material* material,
88 const G4ParticleDefinition* pd,
89 G4double kinEnergy, G4double)
90{
91 G4double dedx = G4BraggIonModel::ComputeDEDXPerVolume(material, pd, kinEnergy, DBL_MAX);
92 return dedx;
93}
94
95inline G4double G4BraggNoDeltaModel::ComputeCrossSectionPerElectron(
96 const G4ParticleDefinition*,
97 G4double, G4double, G4double)
98{
99 return 0.0;
100}
101
102//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
103
104#endif
Note: See TracBrowser for help on using the repository browser.