test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
(
G4LogicalVolumeToDDLogicalPartMap
& map,
26
const
HepPDT::ParticleDataTable
*
table_
,
27
sim::ChordFinderSetter
*chordFinderSetter_,
28
const
edm::ParameterSet
&
p
)
29
:
PhysicsList
(map, table_, chordFinderSetter_, p)
30
{
31
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
32
G4DataQuestionaire it(photon);
33
std::cout
<<
"You are using the simulation engine: QGSP together with optical physics"
34
<< std::endl;
35
36
// EM Physics
37
RegisterPhysics(
new
CMSEmStandardPhysics
(ver));
38
// Synchroton Radiation & GN Physics
39
RegisterPhysics(
new
G4EmExtraPhysics(ver));
40
// Decays
41
RegisterPhysics(
new
G4DecayPhysics(ver));
42
// Hadron Elastic scattering
43
G4HadronicProcessStore::Instance()->SetVerbose(ver);
44
RegisterPhysics(
new
G4HadronElasticPhysics(ver));
45
// Hadron Physics
46
RegisterPhysics(
new
G4HadronPhysicsQGSP_FTFP_BERT(ver));
47
// Stopping Physics
48
RegisterPhysics(
new
G4StoppingPhysics(ver));
49
// Ion Physics
50
RegisterPhysics(
new
G4IonPhysics(ver));
51
// Optical physics
52
RegisterPhysics(
new
LaserOpticalPhysicsList
(
"optical"
));
53
54
}
55
56
// define the custom physics list
57
58
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
LaserOpticalPhysics::LaserOpticalPhysics
LaserOpticalPhysics(G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p)
constructor
Definition:
LaserOpticalPhysics.cc:25
sim::ChordFinderSetter
Definition:
ChordFinderSetter.h:8
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
LaserOpticalPhysicsList.h
CMSEmStandardPhysics
Definition:
CMSEmStandardPhysics.h:7
PhysicsList
Definition:
PhysicsList.h:14
DDMapper< G4LogicalVolume *, DDLogicalPart >
CMSEmStandardPhysics.h
LaserOpticalPhysicsList
Definition:
LaserOpticalPhysicsList.h:23
table_
Table table_
Definition:
ExceptionActions.cc:22
LaserOpticalPhysics
Definition:
LaserOpticalPhysics.h:15
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:145
PhysicsListFactory.h
Generated for CMSSW Reference Manual by
1.8.5