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_EMLSN.cc
Go to the documentation of this file.
1
#include "QGSPCMS_BERT_EMLSN.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 "
FWCore/MessageLogger/interface/MessageLogger.h
"
7
8
#include "globals.hh"
9
#include "G4ParticleDefinition.hh"
10
#include "G4ParticleWithCuts.hh"
11
#include "G4ProcessManager.hh"
12
#include "G4ProcessVector.hh"
13
#include "G4ParticleTypes.hh"
14
#include "G4ParticleTable.hh"
15
16
#include "G4Material.hh"
17
#include "G4MaterialTable.hh"
18
#include "G4ios.hh"
19
#include <iomanip>
20
21
#include "G4DecayPhysics.hh"
22
#include "G4EmStandardPhysics_option1.hh"
23
#include "G4EmExtraPhysics.hh"
24
#include "G4IonPhysics.hh"
25
#include "G4QStoppingPhysics.hh"
26
#include "G4HadronElasticPhysics.hh"
27
#include "G4NeutronTrackingCut.hh"
28
29
#include "G4DataQuestionaire.hh"
30
#include "HadronPhysicsQGSP_BERT.hh"
31
32
33
QGSPCMS_BERT_EMLSN::QGSPCMS_BERT_EMLSN(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
34
const
HepPDT::ParticleDataTable
*
table_
,
35
sim::FieldBuilder
*fieldBuilder_,
36
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, fieldBuilder_, p) {
37
38
G4DataQuestionaire it(photon);
39
40
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
41
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
42
bool
hadPhys = p.
getUntrackedParameter
<
bool
>(
"HadPhysics"
,
true
);
43
bool
tracking= p.
getParameter
<
bool
>(
"TrackingCut"
);
44
std::string region = p.
getParameter
<std::string>(
"Region"
);
45
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
46
<<
"QGSP_BERT_EMLSN 3.3 with Flags for EM Physics "
47
<< emPhys <<
", for Hadronic Physics "
48
<< hadPhys <<
" and tracking cut "
<< tracking
49
<<
" with special region "
<< region;
50
51
if
(emPhys) {
52
// EM Physics
53
RegisterPhysics(
new
CMSEmStandardPhysics92
(
"emstandard_eml"
,ver,region));
54
55
// Synchroton Radiation & GN Physics
56
RegisterPhysics(
new
G4EmExtraPhysics(
"extra EM"
));
57
}
58
59
// Decays
60
RegisterPhysics(
new
G4DecayPhysics(
"decay"
,ver) );
61
62
if
(hadPhys) {
63
// Hadron Elastic scattering
64
RegisterPhysics(
new
G4HadronElasticPhysics(
"elastic"
,ver,
false
));
65
66
// Hadron Physics
67
G4bool quasiElastic=
true
;
68
RegisterPhysics(
new
HadronPhysicsQGSP_BERT(
"hadron"
,quasiElastic));
69
70
// Stopping Physics
71
RegisterPhysics(
new
G4QStoppingPhysics(
"stopping"
));
72
73
// Ion Physics
74
RegisterPhysics(
new
G4IonPhysics(
"ion"
));
75
76
// Neutron tracking cut
77
if
(tracking)
78
RegisterPhysics(
new
G4NeutronTrackingCut(
"Neutron tracking cut"
, ver));
79
80
// Neutron x-section
81
RegisterPhysics(
new
CMSNeutronXS
(
"neutronXS"
,ver));
82
83
// Glauber Griboc Cross Section
84
RegisterPhysics(
new
CMSGlauberGribovXS
(ver));
85
}
86
87
// Monopoles
88
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
89
}
90
91
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
sim::FieldBuilder
Definition:
FieldBuilder.h:19
Association.map
dictionary map
Definition:
Association.py:205
PhysicsList
Definition:
PhysicsList.h:13
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