Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4Core
Physics
src
PhysicsList.cc
Go to the documentation of this file.
1
#include "
SimG4Core/Physics/interface/PhysicsList.h
"
2
#include "
SimG4Core/Physics/interface/DDG4ProductionCuts.h
"
3
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
4
5
#include "G4LossTableManager.hh"
6
#include "G4SystemOfUnits.hh"
7
8
PhysicsList::PhysicsList
(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
9
const
HepPDT::ParticleDataTable
*
table_
,
10
sim::ChordFinderSetter
*chordFinderSetter_,
11
const
edm::ParameterSet
&
p
)
12
: G4VModularPhysicsList(), m_pPhysics(p), prodCuts(0) {
13
m_Verbosity
=
m_pPhysics
.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
14
prodCuts
=
new
DDG4ProductionCuts
(map,
m_Verbosity
,
m_pPhysics
);
15
}
16
17
PhysicsList::~PhysicsList
() {
18
delete
prodCuts
;
19
}
20
21
void
PhysicsList::SetCuts
() {
22
23
SetDefaultCutValue(
m_pPhysics
.
getParameter
<
double
>(
"DefaultCutValue"
)*cm);
24
SetCutsWithDefault();
25
26
if
(
m_pPhysics
.
getParameter
<
bool
>(
"CutsPerRegion"
) ) {
27
prodCuts
->
update
();
28
}
29
30
if
(
m_Verbosity
> 1) {
31
G4VUserPhysicsList::DumpCutValuesTable();
32
}
33
34
return
;
35
36
}
37
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
PhysicsList.h
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
DDG4ProductionCuts.h
PhysicsList::m_Verbosity
int m_Verbosity
Definition:
PhysicsList.h:28
DDG4ProductionCuts::update
void update()
Definition:
DDG4ProductionCuts.cc:44
sim::ChordFinderSetter
Definition:
ChordFinderSetter.h:8
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
mathSSE::return
return((rh^lh)&mask)
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
PhysicsList::m_pPhysics
const edm::ParameterSet m_pPhysics
Definition:
PhysicsList.h:26
PhysicsList::SetCuts
virtual void SetCuts()
Definition:
PhysicsList.cc:21
PhysicsList::PhysicsList
PhysicsList(G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p)
Definition:
PhysicsList.cc:8
DDMapper< G4LogicalVolume *, DDLogicalPart >
PhysicsList::~PhysicsList
virtual ~PhysicsList()
Definition:
PhysicsList.cc:17
PhysicsList::prodCuts
DDG4ProductionCuts * prodCuts
Definition:
PhysicsList.h:27
table_
Table table_
Definition:
ExceptionActions.cc:22
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:35
DDG4ProductionCuts
Definition:
DDG4ProductionCuts.h:15
Generated for CMSSW Reference Manual by
1.8.5