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/CMSEmStandardPhysics95msc93.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 "G4StoppingPhysics.hh"
11
#include "G4HadronElasticPhysicsXS.hh"
12
#include "G4NeutronTrackingCut.hh"
13
#include "G4NeutronCrossSectionXS.hh"
14
#include "G4HadronicProcessStore.hh"
15
16
#include "G4DataQuestionaire.hh"
17
#include "HadronPhysicsQGSP_BERT.hh"
18
19
QGSPCMS_BERT_EMLSN::QGSPCMS_BERT_EMLSN(
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
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
31
<<
"QGSP_BERT_EMLSN with Flags for EM Physics "
32
<< emPhys <<
", for Hadronic Physics "
33
<< hadPhys <<
" and tracking cut "
<< tracking;
34
35
if
(emPhys) {
36
// EM Physics
37
RegisterPhysics(
new
CMSEmStandardPhysics95msc93
(
"EM standard msc93"
,ver,
""
));
38
39
// Synchroton Radiation & GN Physics
40
RegisterPhysics(
new
G4EmExtraPhysics(ver));
41
}
42
43
// Decays
44
this->RegisterPhysics(
new
G4DecayPhysics(ver) );
45
46
if
(hadPhys) {
47
G4HadronicProcessStore::Instance()->SetVerbose(ver);
48
49
// Hadron Elastic scattering
50
RegisterPhysics(
new
G4HadronElasticPhysicsXS(ver));
51
52
// Hadron Physics
53
RegisterPhysics(
new
HadronPhysicsQGSP_BERT(ver));
54
55
// Stopping Physics
56
RegisterPhysics(
new
G4StoppingPhysics(ver));
57
58
// Ion Physics
59
RegisterPhysics(
new
G4IonPhysics(ver));
60
61
// Neutron tracking cut
62
if
(tracking) {
63
RegisterPhysics(
new
G4NeutronTrackingCut(ver));
64
}
65
66
// Alternative x-section
67
RegisterPhysics(
new
CMSGlauberGribovXS
(ver));
68
RegisterPhysics(
new
G4NeutronCrossSectionXS(ver));
69
70
}
71
72
// Monopoles
73
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
74
}
75
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
CMSEmStandardPhysics95msc93.h
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.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
CMSEmStandardPhysics95msc93
Definition:
CMSEmStandardPhysics95msc93.h:9
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