Public Member Functions | |
void | beginRun (edm::EventSetup const &) override |
PrintGeomInfoAction (edm::ParameterSet const &p) | |
void | registerConsumes (edm::ConsumesCollector) override |
~PrintGeomInfoAction () 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 | add1touchable (G4LogicalVolume *lv, int &nTouch) |
int | countNoTouchables () |
void | dumpG4LVLeaf (G4LogicalVolume *lv, unsigned int leafDepth, unsigned int count, std::ostream &out=G4cout) |
void | dumpG4LVList (std::ostream &out=G4cout) |
void | dumpG4LVTree (std::ostream &out=G4cout) |
void | dumpHierarchyLeafPVLV (G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &out=G4cout) |
void | dumpHierarchyTreePVLV (std::ostream &out=G4cout) |
void | dumpInFile () |
void | dumpLV (G4LogicalVolume *lv, unsigned int leafDepth, std::ostream &out=G4cout) |
void | dumpMaterialList (std::ostream &out=G4cout) |
void | dumpPV (G4VPhysicalVolume *pv, unsigned int leafDepth, std::ostream &out=G4cout) |
void | dumpSolid (G4VSolid *sol, unsigned int leafDepth, std::ostream &out=G4cout) |
void | dumpSummary (std::ostream &out=G4cout) |
void | dumpTouch (G4VPhysicalVolume *pv, unsigned int leafDepth, std::ostream &out=G4cout) |
G4LogicalVolume * | getTopLV () |
G4VPhysicalVolume * | getTopPV () |
void | getTouch (G4VPhysicalVolume *pv, unsigned int leafDepth, unsigned int copym, std::vector< std::string > &touches) |
std::string | spacesFromLeafDepth (unsigned int leafDepth) |
void | update (const BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
bool | dd4hep_ |
edm::ESGetToken < cms::DDCompactView, IdealGeometryRecord > | dd4hepToken_ |
edm::ESGetToken< DDCompactView, IdealGeometryRecord > | dddToken_ |
bool | dumpAtts_ |
bool | dumpLV_ |
bool | dumpLVList_ |
bool | dumpLVTree_ |
bool | dumpMaterial_ |
bool | dumpPV_ |
bool | dumpReplica_ |
bool | dumpRotation_ |
bool | dumpSense_ |
bool | dumpSolid_ |
bool | dumpSummary_ |
bool | dumpTouch_ |
G4NavigationHistory | fHistory_ |
bool | fileDetail_ |
std::string | fileLV_ |
std::string | fileMat_ |
std::string | filePV_ |
std::string | fileSolid_ |
std::string | fileTouch_ |
std::string | name_ |
std::vector< std::string > | names_ |
int | nchar_ |
G4VPhysicalVolume * | theTopPV_ |
Additional Inherited Members | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 45 of file PrintGeomInfoAction.cc.
PrintGeomInfoAction::PrintGeomInfoAction | ( | edm::ParameterSet const & | p | ) |
Definition at line 91 of file PrintGeomInfoAction.cc.
References dd4hep_, dumpAtts_, dumpLV_, dumpLVList_, dumpLVTree_, dumpMaterial_, dumpPV_, dumpReplica_, dumpRotation_, dumpSense_, dumpSolid_, dumpSummary_, dumpTouch_, fileDetail_, fileLV_, fileMat_, filePV_, fileSolid_, fileTouch_, edm::ParameterSet::getUntrackedParameter(), mps_fire::i, name_, names_, nchar_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
private |
Definition at line 302 of file PrintGeomInfoAction.cc.
References cuy::ii.
Referenced by countNoTouchables().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 142 of file PrintGeomInfoAction.cc.
References angle_units::operators::convertRadToDeg(), filterCSVwithJSON::copy, cms::DDFilteredView::copyNos(), DDFilteredView::copyNumbers(), dd4hep_, dd4hepToken_, dddToken_, dumpSense_, alcazmumu_cfi::filter, DDFilteredView::firstChild(), cms::DDFilteredView::firstChild(), edm::EventSetup::getData(), mps_fire::i, isotrackApplyRegressor::k, log, DDFilteredView::logicalPart(), DDName::name(), DDBase< N, C >::name(), cms::DDFilteredView::name(), names_, DDFilteredView::next(), sd, spacesFromLeafDepth(), AlCaHLTBitMon_QueryRunRegistry::string, DDFilteredView::translation(), and cms::DDFilteredView::translation().
|
private |
Definition at line 295 of file PrintGeomInfoAction.cc.
References add1touchable(), and getTopLV().
Referenced by dumpSummary().
|
private |
Definition at line 273 of file PrintGeomInfoAction.cc.
References cuy::ii.
Referenced by dumpG4LVTree().
|
private |
Definition at line 250 of file PrintGeomInfoAction.cc.
Referenced by update().
|
private |
Definition at line 258 of file PrintGeomInfoAction.cc.
References dumpG4LVLeaf(), and getTopLV().
Referenced by update().
|
private |
Definition at line 326 of file PrintGeomInfoAction.cc.
References dumpLV(), and dumpPV().
Referenced by dumpHierarchyTreePVLV().
|
private |
Definition at line 308 of file PrintGeomInfoAction.cc.
References dumpHierarchyLeafPVLV(), dumpPV(), dumpTouch(), dumpTouch_, getTopLV(), and theTopPV_.
Referenced by update().
|
private |
Definition at line 486 of file PrintGeomInfoAction.cc.
References dd4hep_, fileDetail_, fileLV_, fileMat_, filePV_, fileSolid_, fileTouch_, groupFilesInBlocks::fout, getTouch(), and theTopPV_.
Referenced by update().
|
private |
Definition at line 354 of file PrintGeomInfoAction.cc.
References dumpAtts_, dumpLV_, dumpSolid(), dumpSolid_, submitPVResolutionJobs::out, spacesFromLeafDepth(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHierarchyLeafPVLV().
|
private |
|
private |
Definition at line 409 of file PrintGeomInfoAction.cc.
References dumpPV_, dumpReplica_, dumpRotation_, hltrates_dqm_sourceclient-live_cfg::offset, spacesFromLeafDepth(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHierarchyLeafPVLV(), and dumpHierarchyTreePVLV().
|
private |
Definition at line 450 of file PrintGeomInfoAction.cc.
References mkfit::Const::sol, spacesFromLeafDepth(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpLV().
|
private |
Definition at line 227 of file PrintGeomInfoAction.cc.
References countNoTouchables(), and theTopPV_.
Referenced by update().
|
private |
Definition at line 455 of file PrintGeomInfoAction.cc.
References angle_units::operators::convertRadToDeg(), fHistory_, name_, nchar_, spacesFromLeafDepth(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHierarchyTreePVLV().
|
private |
Definition at line 596 of file PrintGeomInfoAction.cc.
References theTopPV_.
Referenced by countNoTouchables(), dumpG4LVTree(), and dumpHierarchyTreePVLV().
|
private |
Definition at line 592 of file PrintGeomInfoAction.cc.
Referenced by update().
|
private |
Definition at line 552 of file PrintGeomInfoAction.cc.
References filterCSVwithJSON::copy, fHistory_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_QueryRunRegistry::string, and cond::impl::to_string().
Referenced by dumpInFile().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 132 of file PrintGeomInfoAction.cc.
References edm::BeginRun, dd4hep_, dd4hepToken_, dddToken_, and edm::ConsumesCollector::esConsumes().
|
private |
Definition at line 583 of file PrintGeomInfoAction.cc.
References cuy::ii, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by beginRun(), dumpLV(), dumpPV(), dumpSolid(), and dumpTouch().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 205 of file PrintGeomInfoAction.cc.
References dumpG4LVList(), dumpG4LVTree(), dumpHierarchyTreePVLV(), dumpInFile(), dumpLV_, dumpLVList_, dumpLVTree_, dumpMaterial_, dumpMaterialList(), dumpPV_, dumpSummary(), dumpSummary_, dumpTouch_, getTopPV(), and theTopPV_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 81 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), dumpInFile(), PrintGeomInfoAction(), and registerConsumes().
|
private |
Definition at line 75 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 76 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 79 of file PrintGeomInfoAction.cc.
Referenced by dumpLV(), and PrintGeomInfoAction().
|
private |
Definition at line 79 of file PrintGeomInfoAction.cc.
Referenced by dumpLV(), PrintGeomInfoAction(), and update().
|
private |
Definition at line 78 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 78 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 78 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 79 of file PrintGeomInfoAction.cc.
Referenced by dumpPV(), PrintGeomInfoAction(), and update().
|
private |
Definition at line 80 of file PrintGeomInfoAction.cc.
Referenced by dumpPV(), and PrintGeomInfoAction().
|
private |
Definition at line 80 of file PrintGeomInfoAction.cc.
Referenced by dumpPV(), and PrintGeomInfoAction().
|
private |
Definition at line 81 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and PrintGeomInfoAction().
|
private |
Definition at line 79 of file PrintGeomInfoAction.cc.
Referenced by dumpLV(), and PrintGeomInfoAction().
|
private |
Definition at line 78 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 80 of file PrintGeomInfoAction.cc.
Referenced by dumpHierarchyTreePVLV(), PrintGeomInfoAction(), and update().
|
private |
Definition at line 88 of file PrintGeomInfoAction.cc.
Referenced by dumpTouch(), and getTouch().
|
private |
Definition at line 85 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 82 of file PrintGeomInfoAction.cc.
Referenced by dumpTouch(), and PrintGeomInfoAction().
|
private |
Definition at line 86 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and PrintGeomInfoAction().
|
private |
Definition at line 83 of file PrintGeomInfoAction.cc.
Referenced by dumpTouch(), and PrintGeomInfoAction().
|
private |
Definition at line 87 of file PrintGeomInfoAction.cc.
Referenced by dumpHierarchyTreePVLV(), dumpInFile(), dumpSummary(), getTopLV(), and update().