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_EML.cc
Go to the documentation of this file.
1
#include "QGSPCMS_BERT_EML.hh"
2
#include "
SimG4Core/PhysicsLists/interface/CMSEmStandardPhysics95msc93.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 "G4StoppingPhysics.hh"
10
#include "G4HadronElasticPhysics.hh"
11
#include "G4NeutronTrackingCut.hh"
12
#include "G4HadronicProcessStore.hh"
13
14
#include "G4DataQuestionaire.hh"
15
#include "HadronPhysicsQGSP_BERT.hh"
16
17
QGSPCMS_BERT_EML::QGSPCMS_BERT_EML(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
18
const
HepPDT::ParticleDataTable
*
table_
,
19
sim::FieldBuilder
*fieldBuilder_,
20
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, fieldBuilder_, p) {
21
22
G4DataQuestionaire it(photon);
23
24
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
25
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
26
bool
hadPhys = p.
getUntrackedParameter
<
bool
>(
"HadPhysics"
,
true
);
27
bool
tracking= p.
getParameter
<
bool
>(
"TrackingCut"
);
28
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
29
<<
"QGSP_BERT_EML with Flags for EM Physics "
30
<< emPhys <<
", for Hadronic Physics "
31
<< hadPhys <<
" and tracking cut "
<< tracking;
32
33
if
(emPhys) {
34
// EM Physics
35
RegisterPhysics(
new
CMSEmStandardPhysics95msc93
(
"EM standard msc93"
,ver,
""
));
36
37
// Synchroton Radiation & GN Physics
38
RegisterPhysics(
new
G4EmExtraPhysics(ver));
39
}
40
41
// Decays
42
this->RegisterPhysics(
new
G4DecayPhysics(ver) );
43
44
if
(hadPhys) {
45
G4HadronicProcessStore::Instance()->SetVerbose(ver);
46
47
// Hadron Elastic scattering
48
RegisterPhysics(
new
G4HadronElasticPhysics(ver));
49
50
// Hadron Physics
51
RegisterPhysics(
new
HadronPhysicsQGSP_BERT(ver));
52
53
// Stopping Physics
54
RegisterPhysics(
new
G4StoppingPhysics(ver));
55
56
// Ion Physics
57
RegisterPhysics(
new
G4IonPhysics(ver));
58
59
// Neutron tracking cut
60
if
(tracking) {
61
RegisterPhysics(
new
G4NeutronTrackingCut(ver));
62
}
63
}
64
65
// Monopoles
66
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
67
}
68
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
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
edm::ParameterSet
Definition:
ParameterSet.h:35
table_
Table table_
Definition:
Actions.cc:22
Generated for CMSSW Reference Manual by
1.8.5