Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4Core
PhysicsLists
plugins
QGSPCMS_BERT_EMLSNX.cc
Go to the documentation of this file.
1
#include "QGSPCMS_BERT_EMLSNX.hh"
2
#include "
SimG4Core/PhysicsLists/interface/CMSEmStandardPhysics92.h
"
3
#include "
SimG4Core/PhysicsLists/interface/CMSMonopolePhysics.h
"
4
#include "
SimG4Core/PhysicsLists/interface/CMSGlauberGribovXS.h
"
5
#include "
SimG4Core/PhysicsLists/interface/CMSNeutronXS.h
"
6
#include "
SimG4Core/PhysicsLists/interface/CMSHadronElasticPhysicsXS.h
"
7
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
8
9
#include "globals.hh"
10
#include "G4ParticleDefinition.hh"
11
#include "G4ParticleWithCuts.hh"
12
#include "G4ProcessManager.hh"
13
#include "G4ProcessVector.hh"
14
#include "G4ParticleTypes.hh"
15
#include "G4ParticleTable.hh"
16
17
#include "G4Material.hh"
18
#include "G4MaterialTable.hh"
19
#include "G4ios.hh"
20
#include <iomanip>
21
22
#include "G4DecayPhysics.hh"
23
#include "G4EmStandardPhysics_option1.hh"
24
#include "G4EmExtraPhysics.hh"
25
#include "G4IonPhysics.hh"
26
#include "G4QStoppingPhysics.hh"
27
#include "G4HadronElasticPhysics.hh"
28
#include "G4NeutronTrackingCut.hh"
29
30
#include "G4DataQuestionaire.hh"
31
#include "HadronPhysicsQGSP_BERT.hh"
32
33
34
QGSPCMS_BERT_EMLSNX::QGSPCMS_BERT_EMLSNX(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
35
const
HepPDT::ParticleDataTable
*
table_
,
36
sim::FieldBuilder
*fieldBuilder_,
37
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, fieldBuilder_, p) {
38
39
G4DataQuestionaire it(photon);
40
41
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
42
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
43
bool
hadPhys = p.
getUntrackedParameter
<
bool
>(
"HadPhysics"
,
true
);
44
bool
tracking= p.
getParameter
<
bool
>(
"TrackingCut"
);
45
std::string region = p.
getParameter
<std::string>(
"Region"
);
46
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
47
<<
"QGSP_BERT_EMLSNX 3.3 with Flags for EM Physics "
48
<< emPhys <<
", for Hadronic Physics "
49
<< hadPhys <<
" and tracking cut "
<< tracking
50
<<
" with special region "
<< region;
51
52
if
(emPhys) {
53
// EM Physics
54
RegisterPhysics(
new
CMSEmStandardPhysics92
(
"emstandard_eml"
,ver,region));
55
56
// Synchroton Radiation & GN Physics
57
RegisterPhysics(
new
G4EmExtraPhysics(
"extra EM"
));
58
}
59
60
// Decays
61
RegisterPhysics(
new
G4DecayPhysics(
"decay"
,ver) );
62
63
if
(hadPhys) {
64
// Hadron Elastic scattering
65
RegisterPhysics(
new
G4HadronElasticPhysics(
"elastic"
,ver,
false
));
66
67
// Hadron Physics
68
G4bool quasiElastic=
true
;
69
RegisterPhysics(
new
HadronPhysicsQGSP_BERT(
"hadron"
,quasiElastic));
70
71
// Stopping Physics
72
RegisterPhysics(
new
G4QStoppingPhysics(
"stopping"
));
73
74
// Ion Physics
75
RegisterPhysics(
new
G4IonPhysics(
"ion"
));
76
77
// Neutron tracking cut
78
if
(tracking)
79
RegisterPhysics(
new
G4NeutronTrackingCut(
"Neutron tracking cut"
, ver));
80
81
// Neutron x-section
82
RegisterPhysics(
new
CMSNeutronXS
(
"neutronXS"
,ver));
83
84
// Neutron x-section
85
RegisterPhysics(
new
CMSHadronElasticPhysicsXS
(ver));
86
87
// Glauber Gribov Cross Section
88
RegisterPhysics(
new
CMSGlauberGribovXS
(ver));
89
}
90
91
// Monopoles
92
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
93
}
94
95
CMSNeutronXS.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:9
CMSEmStandardPhysics92
Definition:
CMSEmStandardPhysics92.h:9
CMSGlauberGribovXS.h
CMSHadronElasticPhysicsXS
Definition:
CMSHadronElasticPhysicsXS.h:7
sim::FieldBuilder
Definition:
FieldBuilder.h:19
Association.map
dictionary map
Definition:
Association.py:205
PhysicsList
Definition:
PhysicsList.h:13
CMSHadronElasticPhysicsXS.h
DDMapper< G4LogicalVolume *, DDLogicalPart >
edm::LogInfo
Definition:
MessageLogger.h:214
CMSEmStandardPhysics92.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
CMSMonopolePhysics
Definition:
CMSMonopolePhysics.h:15
CMSMonopolePhysics.h
CMSGlauberGribovXS
Definition:
CMSGlauberGribovXS.h:7
edm::ParameterSet
Definition:
ParameterSet.h:35
CMSNeutronXS
Definition:
CMSNeutronXS.h:7
table_
Table table_
Definition:
Actions.cc:22
Generated for CMSSW Reference Manual by
1.8.5