ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
tree
geant4-10.6-release
config
environments
examples
source
analysis
digits_hits
error_propagation
event
externals
g3tog4
geometry
global
graphics_reps
intercoms
interfaces
materials
parameterisations
particles
persistency
physics_lists
processes
biasing
cuts
decay
electromagnetic
adjoint
dna
management
models
include
G4DNABornAngle.hh
G4DNABornExcitationModel.hh
G4DNABornExcitationModel1.hh
G4DNABornExcitationModel2.hh
G4DNABornIonisationModel.hh
G4DNABornIonisationModel1.hh
G4DNABornIonisationModel2.hh
G4DNAChampionElasticModel.hh
G4DNACPA100ElasticModel.hh
G4DNACPA100ExcitationModel.hh
G4DNACPA100IonisationModel.hh
G4DNADingfelderChargeDecreaseModel.hh
G4DNADingfelderChargeIncreaseModel.hh
G4DNADummyModel.hh
G4DNAELSEPAElasticModel.hh
G4DNAEmfietzoglouExcitationModel.hh
G4DNAEmfietzoglouIonisationModel.hh
G4DNAIonElasticModel.hh
G4DNAMeltonAttachmentModel.hh
G4DNAMillerGreenExcitationModel.hh
G4DNAModelInterface.hh
G4DNAMolecularReaction.hh
G4DNAMolecularStepByStepModel.hh
G4DNAMoleculeEncounterStepper.hh
G4DNAOneStepThermalizationModel.hh
G4DNAOneStepThermalizationModel.hpp
G4DNAPTBAugerModel.hh
G4DNAPTBElasticModel.hh
G4DNAPTBExcitationModel.hh
G4DNAPTBIonisationModel.hh
G4DNARuddAngle.hh
G4DNARuddIonisationExtendedModel.hh
G4DNARuddIonisationModel.hh
G4DNASancheExcitationModel.hh
G4DNAScreenedRutherfordElasticModel.hh
G4DNASmoluchowskiDiffusion.hh
G4DNASmoluchowskiReactionModel.hh
G4DNATransformElectronModel.hh
G4DNAUeharaScreenedRutherfordElasticModel.hh
G4DNAVacuumModel.hh
G4LEPTSAttachmentModel.hh
G4LEPTSDiffXS.hh
G4LEPTSDissociationModel.hh
G4LEPTSDistribution.hh
G4LEPTSElasticModel.hh
G4LEPTSElossDistr.hh
G4LEPTSExcitationModel.hh
G4LEPTSIonisationModel.hh
G4LEPTSPositroniumModel.hh
G4LEPTSRotExcitationModel.hh
G4LEPTSVibExcitationModel.hh
G4VDNAModel.hh
G4VLEPTSModel.hh
src
molecules
processes
utils
highenergy
lowenergy
muons
pii
polarisation
standard
utils
xrays
hadronic
management
optical
parameterisation
scoring
solidstate
transportation
readout
run
track
tracking
visualization
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4VLEPTSModel.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4VLEPTSModel.hh
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
#ifndef G4VLEPTSModel_hh
27
#define G4VLEPTSModel_hh
28
29
#include "
G4ios.hh
"
30
#include "
globals.hh
"
31
#include "
Randomize.hh
"
32
#include "
G4VEmModel.hh
"
33
#include "
G4PhysicsTable.hh
"
34
#include "
G4PhysicsLogVector.hh
"
35
#include "
G4Element.hh
"
36
#include "
G4Electron.hh
"
37
#include "
G4Positron.hh
"
38
#include "
G4Gamma.hh
"
39
#include "
G4Step.hh
"
40
41
#include "
G4EnergyLossTables.hh
"
42
#include "
G4UnitsTable.hh
"
43
#include <iostream>
44
45
#include "
G4LEPTSDiffXS.hh
"
46
#include "
G4LEPTSDistribution.hh
"
47
#include "
G4LEPTSElossDistr.hh
"
48
#include "
G4ForceCondition.hh
"
49
#include <map>
50
#include <vector>
51
52
enum
XSType
{
XSEnergy
=0,
53
XSTotal
=1,
XSElastic
=2,
XSInelastic
=3,
54
XSIonisation
=4,
XSExcitation
=5,
XSDissociation
=6,
55
XSVibration
=7,
XSAttachment
=8,
XSRotation
=9,
XSPositronium
=8
56
};
57
58
59
class
G4VLEPTSModel
:
public
G4VEmModel
60
{
61
62
public
:
63
64
G4VLEPTSModel
(
const
G4String
& processName);
65
~G4VLEPTSModel
();
66
67
void
BuildPhysicsTable
(
const
G4ParticleDefinition
& aParticleType);
//G4ParticleWithCuts::SetCut()
68
G4double
GetMeanFreePath
(
const
G4Material
* mate,
69
const
G4ParticleDefinition
* aParticle,
70
G4double
kineticEnergy );
71
72
G4ThreeVector
SampleNewDirection
(
const
G4Material
* aMaterial,
G4ThreeVector
Dir,
G4double
e
,
G4double
el);
73
G4double
SampleAngle
(
const
G4Material
* aMaterial,
G4double
e,
G4double
el);
74
G4ThreeVector
SampleNewDirection
(
G4ThreeVector
Dir,
G4double
ang);
75
76
G4VLEPTSModel
&
operator=
(
const
G4VLEPTSModel
&
right
);
//hide assignment operator
77
G4VLEPTSModel
(
const
G4VLEPTSModel
& );
78
79
protected
:
80
void
Init
();
81
G4bool
ReadParam
(
G4String
fileName,
const
G4Material
* aMaterial);
82
virtual
std::map<G4int,std::vector<G4double> >
ReadIXS
(
G4String
fileName,
const
G4Material
* aMaterial);
83
G4double
SampleEnergyLoss
(
const
G4Material
* aMaterial,
G4double
eMin,
G4double
eMax);
84
void
BuildMeanFreePathTable
(
const
G4Material
* aMaterial, std::map<
G4int
, std::vector<G4double> >& integralXS );
85
86
protected
:
87
G4PhysicsTable
*
theMeanFreePathTable
;
88
89
G4double
theLowestEnergyLimit
;
90
G4double
theHighestEnergyLimit
;
91
G4int
theNumbBinTable
;
92
93
std::map<const G4Material*, G4double >
theIonisPot
;
94
std::map<const G4Material*, G4double >
theIonisPotInt
;
95
std::map<const G4Material*, G4double >
theMolecularMass
;
96
97
std::map<const G4Material*, G4LEPTSDiffXS*>
theDiffXS
;
98
std::map<const G4Material*, G4LEPTSDistribution*>
theRMTDistr
;
99
100
std::map<const G4Material*, G4LEPTSElossDistr*>
theElostDistr
;
101
std::map<const G4Material*, G4LEPTSDistribution*>
theElostDistr2
;
102
103
std::map<const G4Material*, G4int>
theNXSdat
;
104
std::map<const G4Material*, G4int>
theNXSsub
;
105
106
G4bool
isInitialised
;
107
XSType
theXSType
;
108
109
G4int
verboseLevel
;
110
};
111
112
113
#endif // G4VLEPTSModel_hh
geant4
tree
geant4-10.6-release
source
processes
electromagnetic
dna
models
include
G4VLEPTSModel.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:29
using
1.8.2 with
ECCE GitHub integration