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_EMLGG.cc
Go to the documentation of this file.
1
#include "QGSPCMS_BERT_EMLGG.hh"
2
#include "
SimG4Core/PhysicsLists/interface/CMSEmStandardPhysics92.h
"
3
#include "
SimG4Core/PhysicsLists/interface/CMSMonopolePhysics.h
"
4
#include "
SimG4Core/PhysicsLists/interface/CMSGlauberGribovXS.h
"
5
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
6
7
#include "G4DecayPhysics.hh"
8
#include "G4EmExtraPhysics.hh"
9
#include "G4IonPhysics.hh"
10
#include "G4QStoppingPhysics.hh"
11
#include "G4HadronElasticPhysics.hh"
12
#include "G4NeutronTrackingCut.hh"
13
14
#include "G4DataQuestionaire.hh"
15
#include "HadronPhysicsQGSP_BERT.hh"
16
17
#include <string>
18
19
QGSPCMS_BERT_EMLGG::QGSPCMS_BERT_EMLGG(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
20
const
HepPDT::ParticleDataTable
*
table_
,
21
sim::FieldBuilder
*fieldBuilder_,
22
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, fieldBuilder_, p) {
23
24
G4DataQuestionaire it(photon);
25
26
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
27
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
28
bool
hadPhys = p.
getUntrackedParameter
<
bool
>(
"HadPhysics"
,
true
);
29
bool
tracking= p.
getParameter
<
bool
>(
"TrackingCut"
);
30
std::string region = p.
getParameter
<std::string>(
"Region"
);
31
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
32
<<
"QGSP_BERT_EMLGG 3.3 with Flags for EM Physics "
33
<< emPhys <<
", for Hadronic Physics "
34
<< hadPhys <<
" and tracking cut "
<< tracking
35
<<
" with special region "
<< region;
36
37
if
(emPhys) {
38
// EM Physics
39
RegisterPhysics(
new
CMSEmStandardPhysics92
(
"standard EM EML"
,ver,region));
40
41
// Synchroton Radiation & GN Physics
42
RegisterPhysics(
new
G4EmExtraPhysics(
"extra EM"
));
43
}
44
45
// Decays
46
RegisterPhysics(
new
G4DecayPhysics(
"decay"
,ver) );
47
48
if
(hadPhys) {
49
// Hadron Elastic scattering
50
RegisterPhysics(
new
G4HadronElasticPhysics(
"elastic"
,ver,
false
));
51
52
// Hadron Physics
53
G4bool quasiElastic=
true
;
54
RegisterPhysics(
new
HadronPhysicsQGSP_BERT(
"hadron"
,quasiElastic));
55
//RegisterPhysics( new HadronPhysicsQGSP_BERT("hadron"));
56
57
// Stopping Physics
58
RegisterPhysics(
new
G4QStoppingPhysics(
"stopping"
));
59
60
// Ion Physics
61
RegisterPhysics(
new
G4IonPhysics(
"ion"
));
62
63
// Neutron tracking cut
64
if
(tracking)
65
RegisterPhysics(
new
G4NeutronTrackingCut(
"Neutron tracking cut"
, ver));
66
67
// Glauber Griboc Cross Section
68
RegisterPhysics(
new
CMSGlauberGribovXS
(ver));
69
}
70
71
// Monopoles
72
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
73
}
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
table_
Table table_
Definition:
Actions.cc:22
Generated for CMSSW Reference Manual by
1.8.5