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 "G4DecayPhysics.hh"
19
#include "G4EmExtraPhysics.hh"
20
#include "G4HadronElasticPhysics.hh"
21
#include "G4HadronicProcessStore.hh"
22
#include "G4IonPhysics.hh"
23
#include "G4StoppingPhysics.hh"
24
25
LaserOpticalPhysics::LaserOpticalPhysics
(
const
edm::ParameterSet
&
p
) :
PhysicsList
(p) {
26
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
, 0);
27
std::cout
<<
"You are using the simulation engine: QGSP together with "
28
"optical physics"
29
<< std::endl;
30
31
// EM Physics
32
RegisterPhysics(
new
CMSEmStandardPhysics
(ver));
33
// Synchroton Radiation & GN Physics
34
RegisterPhysics(
new
G4EmExtraPhysics(ver));
35
// Decays
36
RegisterPhysics(
new
G4DecayPhysics(ver));
37
// Hadron Elastic scattering
38
G4HadronicProcessStore::Instance()->SetVerbose(ver);
39
RegisterPhysics(
new
G4HadronElasticPhysics(ver));
40
// Hadron Physics
41
RegisterPhysics(
new
G4HadronPhysicsQGSP_FTFP_BERT(ver));
42
// Stopping Physics
43
RegisterPhysics(
new
G4StoppingPhysics(ver));
44
// Ion Physics
45
RegisterPhysics(
new
G4IonPhysics(ver));
46
// Optical physics
47
RegisterPhysics(
new
LaserOpticalPhysicsList
(
"optical"
));
48
}
49
50
// define the custom physics list
51
52
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:25
LaserOpticalPhysicsList.h
CMSEmStandardPhysics
Definition:
CMSEmStandardPhysics.h:7
PhysicsList
Definition:
PhysicsList.h:7
CMSEmStandardPhysics.h
LaserOpticalPhysicsList
Definition:
LaserOpticalPhysicsList.h:24
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