#include <PrintGeomSummary.h>
Public Member Functions | |
PrintGeomSummary (edm::ParameterSet const &p) | |
~PrintGeomSummary () override | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
virtual | ~SimWatcher () |
Public Member Functions inherited from Observer< const BeginOfJob * > | |
Observer () | |
void | slotForUpdate (const BeginOfJob * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfRun * > | |
Observer () | |
void | slotForUpdate (const BeginOfRun * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | addName (std::string name) |
void | addSolid (const DDLogicalPart &part) |
void | dumpSummary (std::ostream &out, std::string name) |
void | fillLV (G4LogicalVolume *lv) |
void | fillPV (G4VPhysicalVolume *pv) |
G4VPhysicalVolume * | getTopPV () |
void | printSummary (std::ostream &out) |
void | update (const BeginOfJob *job) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
std::map< DDSolidShape, std::pair< int, int > > | kount_ |
std::vector< G4LogicalVolume * > | lvs_ |
std::vector< std::string > | nodeNames_ |
std::vector< G4VPhysicalVolume * > | pvs_ |
std::vector< G4VSolid * > | sls_ |
std::map< std::string, DDSolidShape > | solidMap_ |
std::map< DDSolidShape, std::string > | solidShape_ |
G4VPhysicalVolume * | theTopPV_ |
std::vector< G4LogicalVolume * > | touch_ |
Additional Inherited Members |
Definition at line 24 of file PrintGeomSummary.h.
PrintGeomSummary::PrintGeomSummary | ( | edm::ParameterSet const & | p | ) |
Definition at line 32 of file PrintGeomSummary.cc.
References dd_not_init, ddbox, ddcons, ddcuttubs, ddellipticaltube, ddextrudedpolygon, ddintersection, ddpolycone_rrz, ddpolycone_rz, ddpolyhedra_rrz, ddpolyhedra_rz, ddpseudotrap, ddshapeless, ddsphere, ddsubtraction, ddtorus, ddtrap, ddtrunctubs, ddtubs, ddunion, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, cuy::ii, nodeNames_, AlCaHLTBitMon_ParallelJobs::p, and solidShape_.
|
override |
Definition at line 61 of file PrintGeomSummary.cc.
|
private |
Definition at line 194 of file PrintGeomSummary.cc.
References dd_not_init, kount_, genParticles_cff::map, Skims_PA_cff::name, truncPyr::refl(), edm::second(), and solidMap_.
Referenced by dumpSummary().
|
private |
Definition at line 90 of file PrintGeomSummary.cc.
References dd_not_init, Skims_PA_cff::name, DDName::name(), DDBase< N, C >::name(), DDSolid::shape(), solidMap_, solidShape_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by update().
|
private |
Definition at line 158 of file PrintGeomSummary.cc.
References addName(), kount_, lvs_, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, printSummary(), sls_, AlCaHLTBitMon_QueryRunRegistry::string, and touch_.
Referenced by update().
|
private |
Definition at line 140 of file PrintGeomSummary.cc.
References spr::find(), cuy::ii, createfilelist::int, lvs_, sls_, and touch_.
Referenced by update().
|
private |
Definition at line 151 of file PrintGeomSummary.cc.
References spr::find(), cuy::ii, createfilelist::int, MetAnalyzer::pv(), and pvs_.
Referenced by update().
|
private |
Definition at line 190 of file PrintGeomSummary.cc.
Referenced by update().
|
private |
Definition at line 211 of file PrintGeomSummary.cc.
References dqmdumpme::first, dqmdumpme::k, kount_, genParticles_cff::map, MillePedeFileConverter_cfg::out, solidShape_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpSummary().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 63 of file PrintGeomSummary.cc.
References addSolid(), ecalTB2006H4_GenSimDigiReco_cfg::G4cout, DDCompactView::graph(), mps_fire::i, and solidMap_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 101 of file PrintGeomSummary.cc.
References dumpSummary(), fillLV(), fillPV(), ecalTB2006H4_GenSimDigiReco_cfg::G4cout, getTopPV(), dqmdumpme::k, lvs_, Skims_PA_cff::name, nodeNames_, FSQDQM_cfi::pvs, pvs_, sls_, AlCaHLTBitMon_QueryRunRegistry::string, theTopPV_, and touch_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 48 of file PrintGeomSummary.h.
Referenced by addName(), dumpSummary(), and printSummary().
|
private |
Definition at line 45 of file PrintGeomSummary.h.
Referenced by dumpSummary(), fillLV(), and update().
|
private |
Definition at line 41 of file PrintGeomSummary.h.
Referenced by PrintGeomSummary(), and update().
|
private |
Definition at line 47 of file PrintGeomSummary.h.
|
private |
Definition at line 46 of file PrintGeomSummary.h.
Referenced by dumpSummary(), fillLV(), and update().
|
private |
Definition at line 43 of file PrintGeomSummary.h.
Referenced by addName(), addSolid(), and update().
|
private |
Definition at line 42 of file PrintGeomSummary.h.
Referenced by addSolid(), PrintGeomSummary(), and printSummary().
|
private |
Definition at line 44 of file PrintGeomSummary.h.
Referenced by update().
|
private |
Definition at line 45 of file PrintGeomSummary.h.
Referenced by dumpSummary(), fillLV(), and update().