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_EMLSYNC.cc
Go to the documentation of this file.
1
#include "QGSPCMS_BERT_EMLSYNC.hh"
2
#include "
SimG4Core/PhysicsLists/interface/CMSEmStandardPhysicsSync.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
#include "G4NeutronTrackingCut.hh"
12
13
#include "G4DataQuestionaire.hh"
14
#include "HadronPhysicsQGSP_BERT.hh"
15
16
#include <string>
17
18
QGSPCMS_BERT_EMLSYNC::QGSPCMS_BERT_EMLSYNC(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
19
const
HepPDT::ParticleDataTable
*
table_
,
20
sim::FieldBuilder
*fieldBuilder_,
21
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, fieldBuilder_, p) {
22
23
G4DataQuestionaire it(photon);
24
25
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
26
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
27
bool
hadPhys = p.
getUntrackedParameter
<
bool
>(
"HadPhysics"
,
true
);
28
bool
tracking= p.
getParameter
<
bool
>(
"TrackingCut"
);
29
bool
srType = p.
getParameter
<
bool
>(
"SRType"
);
30
std::string region = p.
getParameter
<std::string>(
"Region"
);
31
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
32
<<
"QGSP_BERT_EMLSYNC 3.3 with Flags for EM Physics "
33
<< emPhys <<
", for Hadronic Physics "
34
<< hadPhys <<
", S.R. Type "
<< srType
35
<<
" and tracking cut "
<< tracking
36
<<
" with special region "
<< region;
37
38
if
(emPhys) {
39
// EM Physics
40
RegisterPhysics(
new
CMSEmStandardPhysicsSync
(
"standard EM EMLSYNC"
,ver,srType,region));
41
42
// Synchroton Radiation & GN Physics
43
RegisterPhysics(
new
G4EmExtraPhysics(
"extra EM"
));
44
}
45
46
// Decays
47
RegisterPhysics(
new
G4DecayPhysics(
"decay"
,ver) );
48
49
if
(hadPhys) {
50
// Hadron Elastic scattering
51
RegisterPhysics(
new
G4HadronElasticPhysics(
"elastic"
,ver,
false
));
52
53
// Hadron Physics
54
G4bool quasiElastic=
true
;
55
RegisterPhysics(
new
HadronPhysicsQGSP_BERT(
"hadron"
,quasiElastic));
56
//RegisterPhysics( new HadronPhysicsQGSP_BERT("hadron"));
57
58
// Stopping Physics
59
RegisterPhysics(
new
G4QStoppingPhysics(
"stopping"
));
60
61
// Ion Physics
62
RegisterPhysics(
new
G4IonPhysics(
"ion"
));
63
64
// Neutron tracking cut
65
if
(tracking)
66
RegisterPhysics(
new
G4NeutronTrackingCut(
"Neutron tracking cut"
, ver));
67
}
68
69
// Monopoles
70
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
71
}
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
sim::FieldBuilder
Definition:
FieldBuilder.h:19
Association.map
dictionary map
Definition:
Association.py:205
PhysicsList
Definition:
PhysicsList.h:13
CMSEmStandardPhysicsSync
Definition:
CMSEmStandardPhysicsSync.h:9
DDMapper< G4LogicalVolume *, DDLogicalPart >
edm::LogInfo
Definition:
MessageLogger.h:214
CMSEmStandardPhysicsSync.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