Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4EmLivermorePolarizedPhysics.cc
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
#include "
G4EmLivermorePolarizedPhysics.hh
"
28
#include "
G4ParticleDefinition.hh
"
29
#include "
G4SystemOfUnits.hh
"
30
31
// *** Processes and models
32
33
// gamma
34
#include "
G4LivermorePolarizedPhotoElectricModel.hh
"
35
#include "
G4LivermorePolarizedComptonModel.hh
"
36
#include "
G4LivermorePolarizedGammaConversionModel.hh
"
37
38
#include "
G4LivermorePolarizedRayleighModel.hh
"
39
#include "
G4LivermorePhotoElectricModel.hh
"
40
#include "
G4PhotoElectricAngularGeneratorPolarized.hh
"
41
42
#include "
G4PEEffectFluoModel.hh
"
43
#include "
G4KleinNishinaModel.hh
"
44
45
// interfaces
46
#include "
G4EmParameters.hh
"
47
#include "
G4LossTableManager.hh
"
48
#include "
G4EmConfigurator.hh
"
49
50
// particles
51
#include "
G4Gamma.hh
"
52
53
//
54
#include "
G4PhysicsListHelper.hh
"
55
#include "
G4BuilderType.hh
"
56
57
// factory
58
#include "
G4PhysicsConstructorFactory.hh
"
59
//
60
G4_DECLARE_PHYSCONSTR_FACTORY
(
G4EmLivermorePolarizedPhysics
);
61
62
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
63
64
G4EmLivermorePolarizedPhysics::G4EmLivermorePolarizedPhysics
(
G4int
ver,
65
const
G4String
&)
66
:
G4EmLivermorePhysics
(ver,
"G4EmLivermorePolarized"
), verbose(ver)
67
{
68
G4EmParameters
* param =
G4EmParameters::Instance
();
69
param->
SetEnablePolarisation
(
true
);
70
SetPhysicsType
(
bElectromagnetic
);
71
}
72
73
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
74
75
G4EmLivermorePolarizedPhysics::~G4EmLivermorePolarizedPhysics
()
76
{}
77
78
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
79
80
void
G4EmLivermorePolarizedPhysics::ConstructProcess
()
81
{
82
if
(verbose > 1) {
83
G4cout
<<
"### "
<<
GetPhysicsName
() <<
" Construct Processes "
<<
G4endl
;
84
}
85
G4EmLivermorePhysics::ConstructProcess
();
86
87
G4LossTableManager
* man =
G4LossTableManager::Instance
();
88
G4EmConfigurator
* em_config = man->
EmConfigurator
();
89
G4double
livEnergyLimit = 1*GeV;
90
91
// Add Livermore EM Processes
92
G4VEmModel
* mod =
new
G4LivermorePhotoElectricModel
();
93
mod->
SetAngularDistribution
(
new
G4PhotoElectricAngularGeneratorPolarized
());
94
em_config->
SetExtraEmModel
(
"gamma"
,
"phot"
, mod);
95
96
G4VEmModel
* comptLiv =
new
G4LivermorePolarizedComptonModel
();
97
comptLiv->
SetHighEnergyLimit
(livEnergyLimit);
98
em_config->
SetExtraEmModel
(
"gamma"
,
"compt"
, comptLiv);
99
100
G4VEmModel
* convLiv =
new
G4LivermorePolarizedGammaConversionModel
();
101
convLiv->
SetHighEnergyLimit
(livEnergyLimit);
102
em_config->
SetExtraEmModel
(
"gamma"
,
"conv"
, convLiv);
103
104
G4VEmModel
* theRay =
new
G4LivermorePolarizedRayleighModel
();
105
em_config->
SetExtraEmModel
(
"gamma"
,
"Rayl"
, theRay);
106
107
}
108
109
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4BuilderType.hh
bElectromagnetic
@ bElectromagnetic
Definition:
G4BuilderType.hh:47
G4EmConfigurator.hh
G4EmLivermorePolarizedPhysics.hh
G4EmParameters.hh
G4Gamma.hh
G4KleinNishinaModel.hh
G4LivermorePhotoElectricModel.hh
G4LivermorePolarizedComptonModel.hh
G4LivermorePolarizedGammaConversionModel.hh
G4LivermorePolarizedPhotoElectricModel.hh
G4LivermorePolarizedRayleighModel.hh
G4LossTableManager.hh
G4PEEffectFluoModel.hh
G4ParticleDefinition.hh
G4PhotoElectricAngularGeneratorPolarized.hh
G4PhysicsConstructorFactory.hh
G4_DECLARE_PHYSCONSTR_FACTORY
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
Definition:
G4PhysicsConstructorFactory.hh:59
G4PhysicsListHelper.hh
G4SystemOfUnits.hh
G4double
double G4double
Definition:
G4Types.hh:83
G4int
int G4int
Definition:
G4Types.hh:85
G4endl
#define G4endl
Definition:
G4ios.hh:57
G4cout
G4GLOB_DLL std::ostream G4cout
G4EmConfigurator
Definition:
G4EmConfigurator.hh:63
G4EmConfigurator::SetExtraEmModel
void SetExtraEmModel(const G4String &particleName, const G4String &processName, G4VEmModel *, const G4String ®ionName="", G4double emin=0.0, G4double emax=DBL_MAX, G4VEmFluctuationModel *fm=nullptr)
Definition:
G4EmConfigurator.cc:76
G4EmLivermorePhysics
Definition:
G4EmLivermorePhysics.hh:36
G4EmLivermorePhysics::ConstructProcess
void ConstructProcess() override
Definition:
G4EmLivermorePhysics.cc:146
G4EmLivermorePolarizedPhysics
Definition:
G4EmLivermorePolarizedPhysics.hh:35
G4EmLivermorePolarizedPhysics::G4EmLivermorePolarizedPhysics
G4EmLivermorePolarizedPhysics(G4int ver=1, const G4String &name="")
Definition:
G4EmLivermorePolarizedPhysics.cc:64
G4EmLivermorePolarizedPhysics::ConstructProcess
void ConstructProcess() override
Definition:
G4EmLivermorePolarizedPhysics.cc:80
G4EmLivermorePolarizedPhysics::~G4EmLivermorePolarizedPhysics
~G4EmLivermorePolarizedPhysics() override
Definition:
G4EmLivermorePolarizedPhysics.cc:75
G4EmParameters
Definition:
G4EmParameters.hh:81
G4EmParameters::SetEnablePolarisation
void SetEnablePolarisation(G4bool val)
Definition:
G4EmParameters.cc:374
G4EmParameters::Instance
static G4EmParameters * Instance()
Definition:
G4EmParameters.cc:67
G4LivermorePhotoElectricModel
Definition:
G4LivermorePhotoElectricModel.hh:51
G4LivermorePolarizedComptonModel
Definition:
G4LivermorePolarizedComptonModel.hh:53
G4LivermorePolarizedGammaConversionModel
Definition:
G4LivermorePolarizedGammaConversionModel.hh:43
G4LivermorePolarizedRayleighModel
Definition:
G4LivermorePolarizedRayleighModel.hh:50
G4LossTableManager
Definition:
G4LossTableManager.hh:77
G4LossTableManager::Instance
static G4LossTableManager * Instance()
Definition:
G4LossTableManager.cc:87
G4LossTableManager::EmConfigurator
G4EmConfigurator * EmConfigurator()
Definition:
G4LossTableManager.cc:1016
G4PhotoElectricAngularGeneratorPolarized
Definition:
G4PhotoElectricAngularGeneratorPolarized.hh:53
G4String
Definition:
G4String.hh:53
G4VEmModel
Definition:
G4VEmModel.hh:103
G4VEmModel::SetHighEnergyLimit
void SetHighEnergyLimit(G4double)
Definition:
G4VEmModel.hh:757
G4VEmModel::SetAngularDistribution
void SetAngularDistribution(G4VEmAngularDistribution *)
Definition:
G4VEmModel.hh:618
G4VPhysicsConstructor::GetPhysicsName
const G4String & GetPhysicsName() const
Definition:
G4VPhysicsConstructor.hh:206
G4VPhysicsConstructor::SetPhysicsType
void SetPhysicsType(G4int)
Definition:
G4VPhysicsConstructor.hh:211
geant4-v10.7.0
source
physics_lists
constructors
electromagnetic
src
G4EmLivermorePolarizedPhysics.cc
Generated by
1.9.6