Main Page
Namespaces
Classes
Package Documentation
Alignment
LaserAlignmentSimulation
plugins
LaserOpticalPhysics.cc
Go to the documentation of this file.
1
10
#include "
Alignment/LaserAlignmentSimulation/interface/LaserOpticalPhysicsList.h
"
11
#include "
Alignment/LaserAlignmentSimulation/plugins/LaserOpticalPhysics.h
"
12
13
#include "G4HadronPhysicsQGSP_FTFP_BERT.hh"
14
15
#include "
SimG4Core/Physics/interface/PhysicsListFactory.h
"
16
#include "
SimG4Core/PhysicsLists/interface/CMSEmStandardPhysics.h
"
17
18
#include "G4DataQuestionaire.hh"
19
#include "G4DecayPhysics.hh"
20
#include "G4EmExtraPhysics.hh"
21
#include "G4HadronElasticPhysics.hh"
22
#include "G4HadronicProcessStore.hh"
23
#include "G4IonPhysics.hh"
24
#include "G4StoppingPhysics.hh"
25
26
LaserOpticalPhysics::LaserOpticalPhysics
(
const
edm::ParameterSet
&
p
) :
PhysicsList
(p) {
27
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
, 0);
28
G4DataQuestionaire it(
photon
);
29
std::cout
<<
"You are using the simulation engine: QGSP together with "
30
"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
// define the custom physics list
53
54
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:153
LaserOpticalPhysics::LaserOpticalPhysics
LaserOpticalPhysics(const edm::ParameterSet &p)
Definition:
LaserOpticalPhysics.cc:26
LaserOpticalPhysicsList.h
CMSEmStandardPhysics
Definition:
CMSEmStandardPhysics.h:7
PhysicsList
Definition:
PhysicsList.h:7
CMSEmStandardPhysics.h
LaserOpticalPhysicsList
Definition:
LaserOpticalPhysicsList.h:24
muons2muons_cfi.photon
photon
Definition:
muons2muons_cfi.py:28
LaserOpticalPhysics
Definition:
LaserOpticalPhysics.h:16
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
PhysicsListFactory.h
Generated for CMSSW Reference Manual by
1.8.11