Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4Core
PhysicsLists
plugins
QGSPCMS_FTFP_BERT_EMLHCB.cc
Go to the documentation of this file.
1
#include "QGSPCMS_FTFP_BERT_EMLHCB.hh"
2
#include "SimG4Core/PhysicsLists/interface/G4EmStandardPhysics_option1LHCB.hh"
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_FTFP_BERT.hh"
15
16
#include <string>
17
18
QGSPCMS_FTFP_BERT_EMLHCB::QGSPCMS_FTFP_BERT_EMLHCB(
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
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
30
<<
"QGSP_FTFP_BERT_EMLHCB 3.3 with Flags for EM Physics "
31
<< emPhys <<
", for Hadronic Physics "
32
<< hadPhys <<
" and tracking cut "
<< tracking;
33
34
if
(emPhys) {
35
// EM Physics
36
RegisterPhysics(
new
G4EmStandardPhysics_option1LHCB(ver));
37
38
// Synchroton Radiation & GN Physics
39
RegisterPhysics(
new
G4EmExtraPhysics(
"extra EM"
));
40
}
41
42
// Decays
43
RegisterPhysics(
new
G4DecayPhysics(
"decay"
,ver) );
44
45
if
(hadPhys) {
46
// Hadron Elastic scattering
47
RegisterPhysics(
new
G4HadronElasticPhysics(
"elastic"
,ver,
false
));
48
49
// Hadron Physics
50
G4bool quasiElastic=
true
;
51
// RegisterPhysics( new HadronPhysicsQGSPCMS_FTFP_BERT("hadron",quasiElastic));
52
RegisterPhysics(
new
HadronPhysicsQGSP_FTFP_BERT(
"hadron"
,quasiElastic));
53
54
// Stopping Physics
55
RegisterPhysics(
new
G4QStoppingPhysics(
"stopping"
));
56
57
// Ion Physics
58
RegisterPhysics(
new
G4IonPhysics(
"ion"
));
59
60
// Neutron tracking cut
61
if
(tracking)
62
RegisterPhysics(
new
G4NeutronTrackingCut(
"Neutron tracking cut"
, ver));
63
}
64
65
// Monopoles
66
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
67
}
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
PhysicsList
Definition:
PhysicsList.h:13
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
DDMapper< G4LogicalVolume *, DDLogicalPart >
edm::LogInfo
Definition:
MessageLogger.h:214
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