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_EMLNoDR.cc
Go to the documentation of this file.
1
#include "QGSPCMS_BERT_EMLNoDR.hh"
2
#include "
SimG4Core/PhysicsLists/interface/CMSEmNoDeltaRay.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_EMLNoDR::QGSPCMS_BERT_EMLNoDR(
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
std::string region = p.
getParameter
<std::string>(
"Region"
);
30
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
31
<<
"QGSP_BERT_EMLNoDR 3.3 with Flags for EM Physics "
32
<< emPhys <<
", for Hadronic Physics "
33
<< hadPhys <<
" and tracking cut "
<< tracking
34
<<
" with special region "
<< region;
35
36
if
(emPhys) {
37
// EM Physics
38
RegisterPhysics(
new
CMSEmNoDeltaRay
(
"standard EM EMLNoDR"
,ver,region));
39
40
// Synchroton Radiation & GN Physics
41
RegisterPhysics(
new
G4EmExtraPhysics(
"extra EM"
));
42
}
43
44
// Decays
45
RegisterPhysics(
new
G4DecayPhysics(
"decay"
,ver) );
46
47
if
(hadPhys) {
48
// Hadron Elastic scattering
49
RegisterPhysics(
new
G4HadronElasticPhysics(
"elastic"
,ver,
false
));
50
51
// Hadron Physics
52
G4bool quasiElastic=
true
;
53
RegisterPhysics(
new
HadronPhysicsQGSP_BERT(
"hadron"
,quasiElastic));
54
//RegisterPhysics( new HadronPhysicsQGSP_BERT("hadron"));
55
56
// Stopping Physics
57
RegisterPhysics(
new
G4QStoppingPhysics(
"stopping"
));
58
59
// Ion Physics
60
RegisterPhysics(
new
G4IonPhysics(
"ion"
));
61
62
// Neutron tracking cut
63
if
(tracking)
64
RegisterPhysics(
new
G4NeutronTrackingCut(
"Neutron tracking cut"
, ver));
65
}
66
67
// Monopoles
68
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
69
}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
CMSEmNoDeltaRay
Definition:
CMSEmNoDeltaRay.h:9
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
CMSEmNoDeltaRay.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