Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4Core
PhysicsLists
plugins
LHEPCMS_EMV.cc
Go to the documentation of this file.
1
#include "LHEPCMS_EMV.hh"
2
#include "
SimG4Core/PhysicsLists/interface/CMSMonopolePhysics.h
"
3
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
4
5
#include "G4EmStandardPhysics_option1.hh"
6
#include "G4DecayPhysics.hh"
7
#include "G4EmExtraPhysics.hh"
8
#include "G4IonPhysics.hh"
9
#include "G4HadronElasticPhysicsLHEP.hh"
10
#include "G4HadronicProcessStore.hh"
11
12
#include "G4DataQuestionaire.hh"
13
#include "HadronPhysicsLHEP.hh"
14
15
LHEPCMS_EMV::LHEPCMS_EMV(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
16
const
HepPDT::ParticleDataTable
*
table_
,
17
sim::FieldBuilder
*fieldBuilder_,
18
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, fieldBuilder_, p) {
19
20
G4DataQuestionaire it(photon);
21
22
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
23
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
24
bool
hadPhys = p.
getUntrackedParameter
<
bool
>(
"HadPhysics"
,
true
);
25
edm::LogInfo
(
"PhysicsList"
) <<
"You are using the simulation engine: "
26
<<
"LHEP_EMV with Flags for EM Physics "
27
<< emPhys <<
" and for Hadronic Physics "
28
<< hadPhys <<
"\n"
;
29
30
if
(emPhys) {
31
// EM Physics
32
RegisterPhysics(
new
G4EmStandardPhysics_option1(ver));
33
34
// Synchroton Radiation & GN Physics
35
RegisterPhysics(
new
G4EmExtraPhysics(ver));
36
}
37
38
// General Physics - i.e. decay
39
RegisterPhysics(
new
G4DecayPhysics(ver));
40
41
if
(hadPhys) {
42
G4HadronicProcessStore::Instance()->SetVerbose(ver);
43
44
// Hadron Elastic scattering
45
RegisterPhysics(
new
G4HadronElasticPhysicsLHEP(ver));
46
47
// Hadron Physics
48
RegisterPhysics(
new
HadronPhysicsLHEP(ver));
49
50
// Ion Physics
51
RegisterPhysics(
new
G4IonPhysics(ver));
52
}
53
54
// Monopoles
55
RegisterPhysics(
new
CMSMonopolePhysics
(table_,fieldBuilder_,p));
56
}
57
58
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
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