Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PAIModelData.hh
Go to the documentation of this file.
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// -------------------------------------------------------------------
28//
29// GEANT4 Class header file
30//
31//
32// File name: G4PAIModelData
33//
34// Author: V. Ivanchenko based on V.Grichine code of G4PAIModel
35//
36// Creation date: 16.08.2013
37//
38// Modifications:
39//
40// 04.10.13 V. Grichine add cut of dE/dx, redirect <dE/dx> to std::vector<G4PhysicsLogVector*> fdEdxTable;
41//
42//
43// Class Description:
44//
45// Implementation of PAI model internal data class.
46// This class is extracted from G4PAIModel in order to provide sharing
47// of these data between threads.
48//
49// Internal data tables are computed for proton.
50
51// -------------------------------------------------------------------
52//
53
54#ifndef G4PAIModelData_h
55#define G4PAIModelData_h 1
56
57#include <vector>
58#include "globals.hh"
59#include "G4PAIySection.hh"
60#include "G4SandiaTable.hh"
61
63class G4PhysicsTable;
65class G4PAIModel;
66
68{
69
70public:
71
72 explicit G4PAIModelData(G4double tmin, G4double tmax, G4int verbose);
73
75
77
78 G4double DEDXPerVolume(G4int coupleIndex, G4double scaledTkin,
79 G4double cut) const;
80
81 G4double CrossSectionPerVolume(G4int coupleIndex, G4double scaledTkin,
82 G4double tcut, G4double tmax) const;
83
84 G4double SampleAlongStepTransfer(G4int coupleIndex, G4double kinEnergy,
85 G4double scaledTkin,
86 G4double tmax,
87 G4double stepFactor) const;
88
90 G4double scaledTkin,
91 G4double tmin, G4double tmax) const;
92
93 // hide assignment operator
94 G4PAIModelData & operator=(const G4PAIModelData &right) = delete;
96
97private:
98
99 G4double GetEnergyTransfer(G4int coupleIndex, size_t iPlace,
100 G4double position) const;
101
102 G4int fTotBin;
103 G4double fLowestKineticEnergy;
104 G4double fHighestKineticEnergy;
105
106 G4PhysicsLogVector* fParticleEnergyVector;
107
108 G4PAIySection fPAIySection;
109 G4SandiaTable fSandia;
110
111 std::vector<G4PhysicsTable*> fPAIxscBank;
112 std::vector<G4PhysicsTable*> fPAIdEdxBank;
113 std::vector<G4PhysicsLogVector*> fdEdxTable;
114};
115
116#endif
117
double G4double
Definition G4Types.hh:83
int G4int
Definition G4Types.hh:85
G4double DEDXPerVolume(G4int coupleIndex, G4double scaledTkin, G4double cut) const
void Initialise(const G4MaterialCutsCouple *, G4PAIModel *)
G4double SamplePostStepTransfer(G4int coupleIndex, G4double scaledTkin, G4double tmin, G4double tmax) const
G4PAIModelData(G4double tmin, G4double tmax, G4int verbose)
G4double SampleAlongStepTransfer(G4int coupleIndex, G4double kinEnergy, G4double scaledTkin, G4double tmax, G4double stepFactor) const
G4double CrossSectionPerVolume(G4int coupleIndex, G4double scaledTkin, G4double tcut, G4double tmax) const
G4PAIModelData & operator=(const G4PAIModelData &right)=delete
G4PAIModelData(const G4PAIModelData &)=delete