Public Member Functions | |
void | beginRun (edm::EventSetup const &) override |
PrintGeomSummary (edm::ParameterSet const &p) | |
void | registerConsumes (edm::ConsumesCollector) override |
~PrintGeomSummary () override=default | |
Public Member Functions inherited from SimWatcher | |
bool | isMT () const |
const SimWatcher & | operator= (const SimWatcher &)=delete |
SimWatcher () | |
SimWatcher (const SimWatcher &)=delete | |
virtual | ~SimWatcher () |
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 BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
edm::ESGetToken< DDCompactView, IdealGeometryRecord > | ddcompToken_ |
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 | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 37 of file PrintGeomSummary.cc.
PrintGeomSummary::PrintGeomSummary | ( | edm::ParameterSet const & | p | ) |
Definition at line 67 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_.
|
overridedefault |
|
private |
Definition at line 230 of file PrintGeomSummary.cc.
References dd_not_init, dqmdumpme::first, kount_, genParticles_cff::map, Skims_PA_cff::name, truncPyr::refl(), edm::second(), and solidMap_.
Referenced by dumpSummary().
|
private |
Definition at line 165 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 beginRun().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 101 of file PrintGeomSummary.cc.
References addSolid(), ddcompToken_, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, edm::EventSetup::getData(), DDCompactView::graph(), mps_fire::i, and solidMap_.
|
private |
Definition at line 194 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 176 of file PrintGeomSummary.cc.
References spr::find(), cuy::ii, createfilelist::int, lvs_, sls_, and touch_.
Referenced by update().
|
private |
Definition at line 187 of file PrintGeomSummary.cc.
References spr::find(), cuy::ii, createfilelist::int, MetAnalyzer::pv(), and pvs_.
Referenced by update().
|
private |
Definition at line 226 of file PrintGeomSummary.cc.
Referenced by update().
|
private |
Definition at line 247 of file PrintGeomSummary.cc.
References dqmdumpme::first, dqmdumpme::k, kount_, genParticles_cff::map, MillePedeFileConverter_cfg::out, solidShape_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpSummary().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 96 of file PrintGeomSummary.cc.
References edm::BeginRun, gpuPixelDoublets::cc, ddcompToken_, and ecalTB2006H4_GenSimDigiReco_cfg::G4cout.
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 126 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 56 of file PrintGeomSummary.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 64 of file PrintGeomSummary.cc.
Referenced by addName(), dumpSummary(), and printSummary().
|
private |
Definition at line 61 of file PrintGeomSummary.cc.
Referenced by dumpSummary(), fillLV(), and update().
|
private |
Definition at line 57 of file PrintGeomSummary.cc.
Referenced by PrintGeomSummary(), and update().
|
private |
Definition at line 63 of file PrintGeomSummary.cc.
|
private |
Definition at line 62 of file PrintGeomSummary.cc.
Referenced by dumpSummary(), fillLV(), and update().
|
private |
Definition at line 59 of file PrintGeomSummary.cc.
Referenced by addName(), addSolid(), and beginRun().
|
private |
Definition at line 58 of file PrintGeomSummary.cc.
Referenced by addSolid(), PrintGeomSummary(), and printSummary().
|
private |
Definition at line 60 of file PrintGeomSummary.cc.
Referenced by update().
|
private |
Definition at line 61 of file PrintGeomSummary.cc.
Referenced by dumpSummary(), fillLV(), and update().