source: trunk/source/processes/electromagnetic/utils/include/G4LossTableBuilder.hh@ 1315

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

update geant4.9.3 tag

File size: 3.2 KB
RevLine 
[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//
[961]26// $Id: G4LossTableBuilder.hh,v 1.8 2008/07/22 15:55:15 vnivanch Exp $
[1228]27// GEANT4 tag $Name: geant4-09-03 $
[819]28//
29//
30// -------------------------------------------------------------------
31//
32// GEANT4 Class header file
33//
34//
35// File name: G4LossTableBuilder
36//
37// Author: Vladimir Ivanchenko on base of Laszlo Urban code
38//
39// Creation date: 03.01.2002
40//
41// Modifications:
[961]42// 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivanchenko)
43// 17-07-08 Added splineFlag (V.Ivanchenko)
[819]44//
45// Class Description:
46//
47// Provide building of dE/dx, range, and inverse range tables.
48
49// -------------------------------------------------------------------
50//
51
52#ifndef G4LossTableBuilder_h
53#define G4LossTableBuilder_h 1
54
55#include <vector>
56#include "globals.hh"
57#include "G4PhysicsTable.hh"
58
59class G4LossTableBuilder
60{
61
62public:
63
64 G4LossTableBuilder();
65
66 virtual ~G4LossTableBuilder();
67
68 void BuildDEDXTable(G4PhysicsTable* dedxTable, const std::vector<G4PhysicsTable*>&);
69
70 void BuildRangeTable(const G4PhysicsTable* dedxTable, G4PhysicsTable* rangeTable,
71 G4bool isIonisation = false);
72
73 void BuildInverseRangeTable(const G4PhysicsTable* rangeTable,
74 G4PhysicsTable* invRangeTable,
75 G4bool isIonisation = false);
[961]76
77 inline void SetSplineFlag(G4bool flag);
[819]78
79private:
80
81 G4LossTableBuilder & operator=(const G4LossTableBuilder &right);
82 G4LossTableBuilder(const G4LossTableBuilder&);
83
[961]84 G4bool splineFlag;
85
[819]86};
87
[961]88inline void G4LossTableBuilder::SetSplineFlag(G4bool flag)
89{
90 splineFlag = flag;
91}
92
[819]93//....oooOO0OOooo.......oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
94
95#endif
Note: See TracBrowser for help on using the repository browser.