CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhysicsList.cc
Go to the documentation of this file.
4 
5 #include "G4LossTableManager.hh"
6 #include "G4SystemOfUnits.hh"
7 
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);
15 }
16 
18  delete prodCuts;
19 }
20 
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 
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
int m_Verbosity
Definition: PhysicsList.h:28
HepPDT::ParticleDataTable ParticleDataTable
return((rh^lh)&mask)
const edm::ParameterSet m_pPhysics
Definition: PhysicsList.h:26
virtual void SetCuts()
Definition: PhysicsList.cc:21
PhysicsList(G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p)
Definition: PhysicsList.cc:8
virtual ~PhysicsList()
Definition: PhysicsList.cc:17
DDG4ProductionCuts * prodCuts
Definition: PhysicsList.h:27
Table table_