Main Page
Namespaces
Classes
Package Documentation
Alignment
LaserAlignmentSimulation
plugins
LaserOpticalPhysics.cc
Go to the documentation of this file.
1
9
#include "
Alignment/LaserAlignmentSimulation/plugins/LaserOpticalPhysics.h
"
10
#include "
Alignment/LaserAlignmentSimulation/interface/LaserOpticalPhysicsList.h
"
11
12
#include "G4HadronPhysicsQGSP_FTFP_BERT.hh"
13
14
#include "
SimG4Core/Physics/interface/PhysicsListFactory.h
"
15
#include "
SimG4Core/PhysicsLists/interface/CMSEmStandardPhysics.h
"
16
17
#include "G4DecayPhysics.hh"
18
#include "G4EmExtraPhysics.hh"
19
#include "G4IonPhysics.hh"
20
#include "G4StoppingPhysics.hh"
21
#include "G4HadronElasticPhysics.hh"
22
#include "G4HadronicProcessStore.hh"
23
#include "G4DataQuestionaire.hh"
24
25
LaserOpticalPhysics::LaserOpticalPhysics
(
const
edm::ParameterSet
&
p
)
26
:
PhysicsList
(p)
27
{
28
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
29
G4DataQuestionaire it(
photon
);
30
std::cout
<<
"You are using the simulation engine: QGSP together with optical physics"
31
<< std::endl;
32
33
// EM Physics
34
RegisterPhysics(
new
CMSEmStandardPhysics
(ver));
35
// Synchroton Radiation & GN Physics
36
RegisterPhysics(
new
G4EmExtraPhysics(ver));
37
// Decays
38
RegisterPhysics(
new
G4DecayPhysics(ver));
39
// Hadron Elastic scattering
40
G4HadronicProcessStore::Instance()->SetVerbose(ver);
41
RegisterPhysics(
new
G4HadronElasticPhysics(ver));
42
// Hadron Physics
43
RegisterPhysics(
new
G4HadronPhysicsQGSP_FTFP_BERT(ver));
44
// Stopping Physics
45
RegisterPhysics(
new
G4StoppingPhysics(ver));
46
// Ion Physics
47
RegisterPhysics(
new
G4IonPhysics(ver));
48
// Optical physics
49
RegisterPhysics(
new
LaserOpticalPhysicsList
(
"optical"
));
50
51
}
52
53
// define the custom physics list
54
55
DEFINE_PHYSICSLIST
(
LaserOpticalPhysics
);
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
LaserOpticalPhysics.h
DEFINE_PHYSICSLIST
#define DEFINE_PHYSICSLIST(type)
Definition:
PhysicsListFactory.h:12
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
LaserOpticalPhysics::LaserOpticalPhysics
LaserOpticalPhysics(const edm::ParameterSet &p)
Definition:
LaserOpticalPhysics.cc:25
LaserOpticalPhysicsList.h
CMSEmStandardPhysics
Definition:
CMSEmStandardPhysics.h:7
PhysicsList
Definition:
PhysicsList.h:7
CMSEmStandardPhysics.h
LaserOpticalPhysicsList
Definition:
LaserOpticalPhysicsList.h:23
muons2muons_cfi.photon
photon
Definition:
muons2muons_cfi.py:28
LaserOpticalPhysics
Definition:
LaserOpticalPhysics.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
cout
Definition:
gather_cfg.py:143
PhysicsListFactory.h
Generated for CMSSW Reference Manual by
1.8.11