Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4Core
PhysicsLists
plugins
QGSPCMS_BERT_HP_EML.cc
Go to the documentation of this file.
1
#include "QGSPCMS_BERT_HP_EML.hh"
2
#include "
SimG4Core/PhysicsLists/interface/CMSEmStandardPhysics92.h
"
3
#include "
SimG4Core/PhysicsLists/interface/CMSMonopolePhysics.h
"
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
6
#include "G4DecayPhysics.hh"
7
#include "G4EmExtraPhysics.hh"
8
#include "G4IonPhysics.hh"
9
#include "G4QStoppingPhysics.hh"
10
#include "G4HadronElasticPhysics.hh"
11
12
#include "G4DataQuestionaire.hh"
13
#include "HadronPhysicsQGSP_BERT_HP.hh"
14
15
QGSPCMS_BERT_HP_EML::QGSPCMS_BERT_HP_EML(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
16
const
HepPDT::ParticleDataTable
*
table_
,
17
sim::FieldBuilder
*fieldBuilder_,
18
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, fieldBuilder_, p) {
19
20
G4DataQuestionaire it(photon);
21
22
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
23
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
24
bool
hadPhys = p.
getUntrackedParameter
<
bool
>(
"HadPhysics"
,
true
);
25
std::string region = p.
getParameter
<std::string>(
"Region"
);
26
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
27
<<
"QGSP_BERT_HP_EML 2.3 with Flags for EM Physics "
28
<< emPhys <<
" and for Hadronic Physics "
29
<< hadPhys <<
" and special region "
<< region
30
<<
"\n"
;
31
32
if
(emPhys) {
33
// EM Physics
34
RegisterPhysics(
new
CMSEmStandardPhysics92
(
"standard EM EML"
,ver,region));
35
36
// Synchroton Radiation & GN Physics
37
RegisterPhysics(
new
G4EmExtraPhysics(
"extra EM"
));
38
}
39
40
// Decays
41
RegisterPhysics(
new
G4DecayPhysics(
"decay"
,ver) );
42
43
if
(hadPhys) {
44
// Hadron Elastic scattering
45
RegisterPhysics(
new
G4HadronElasticPhysics(
"elastic"
,ver,
true
));
46
47
// Hadron Physics
48
G4bool quasiElastic=
true
;
49
RegisterPhysics(
new
HadronPhysicsQGSP_BERT_HP(
"hadron"
,quasiElastic));
50
51
// Stopping Physics
52
RegisterPhysics(
new
G4QStoppingPhysics(
"stopping"
));
53
54
// Ion Physics
55
RegisterPhysics(
new
G4IonPhysics(
"ion"
));
56
}
57
58
// Monopoles
59
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
60
}
61
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
sim::FieldBuilder
Definition:
FieldBuilder.h:19
PhysicsList
Definition:
PhysicsList.h:13
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
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
edm::ParameterSet
Definition:
ParameterSet.h:35
table_
Table table_
Definition:
Actions.cc:22
Generated for CMSSW Reference Manual by
1.8.5