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 | dumpG4Region (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 | dumpParams_ |
bool | dumpPV_ |
bool | dumpRegion_ |
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 | fileRegion_ |
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 47 of file PrintGeomInfoAction.cc.
PrintGeomInfoAction::PrintGeomInfoAction | ( | edm::ParameterSet const & | p | ) |
Definition at line 94 of file PrintGeomInfoAction.cc.
References dd4hep_, dumpAtts_, dumpLV_, dumpLVList_, dumpLVTree_, dumpMaterial_, dumpParams_, dumpPV_, dumpRegion_, dumpReplica_, dumpRotation_, dumpSense_, dumpSolid_, dumpSummary_, dumpTouch_, fileDetail_, fileLV_, fileMat_, filePV_, fileRegion_, fileSolid_, fileTouch_, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, mps_fire::i, name_, names_, nchar_, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
private |
Definition at line 335 of file PrintGeomInfoAction.cc.
References cuy::ii.
Referenced by countNoTouchables().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 148 of file PrintGeomInfoAction.cc.
References funct::abs(), angle_units::operators::convertRadToDeg(), filterCSVwithJSON::copy, cms::DDFilteredView::copyNos(), DDFilteredView::copyNumbers(), dd4hep_, dd4hepToken_, dddToken_, dumpParams_, dumpSense_, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), cms::DDFilteredView::firstChild(), ecalTB2006H4_GenSimDigiReco_cfg::G4cout, edm::EventSetup::getData(), mps_fire::i, dqmdumpme::k, dqm-mbProfile::log, DDFilteredView::logicalPart(), cms::DDFilteredView::name(), names_, DDFilteredView::next(), cms::DDFilteredView::parameters(), spacesFromLeafDepth(), AlCaHLTBitMon_QueryRunRegistry::string, DDFilteredView::translation(), cms::DDFilteredView::translation(), and heppy_batch::val.
|
private |
Definition at line 328 of file PrintGeomInfoAction.cc.
References add1touchable(), and getTopLV().
Referenced by dumpSummary().
|
private |
Definition at line 306 of file PrintGeomInfoAction.cc.
References submitPVResolutionJobs::count, cuy::ii, and MillePedeFileConverter_cfg::out.
Referenced by dumpG4LVTree().
|
private |
Definition at line 274 of file PrintGeomInfoAction.cc.
References MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 282 of file PrintGeomInfoAction.cc.
References dumpG4LVLeaf(), getTopLV(), and MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 288 of file PrintGeomInfoAction.cc.
References MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 359 of file PrintGeomInfoAction.cc.
References dumpLV(), dumpPV(), and MillePedeFileConverter_cfg::out.
Referenced by dumpHierarchyTreePVLV().
|
private |
Definition at line 341 of file PrintGeomInfoAction.cc.
References dumpHierarchyLeafPVLV(), dumpPV(), dumpTouch(), dumpTouch_, getTopLV(), MillePedeFileConverter_cfg::out, and theTopPV_.
Referenced by update().
|
private |
Definition at line 519 of file PrintGeomInfoAction.cc.
References dd4hep_, fileDetail_, fileLV_, fileMat_, filePV_, fileRegion_, fileSolid_, fileTouch_, groupFilesInBlocks::fout, getTouch(), FSQDQM_cfi::pvs, jetsAK4_CHS_cff::sort, and theTopPV_.
Referenced by update().
|
private |
Definition at line 387 of file PrintGeomInfoAction.cc.
References dumpAtts_, dumpLV_, dumpSolid(), dumpSolid_, MillePedeFileConverter_cfg::out, spacesFromLeafDepth(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHierarchyLeafPVLV().
|
private |
Definition at line 297 of file PrintGeomInfoAction.cc.
References MillePedeFileConverter_cfg::out.
Referenced by update().
|
private |
Definition at line 442 of file PrintGeomInfoAction.cc.
References dumpPV_, dumpReplica_, dumpRotation_, hltrates_dqm_sourceclient-live_cfg::offset, MillePedeFileConverter_cfg::out, spacesFromLeafDepth(), AlCaHLTBitMon_QueryRunRegistry::string, and ApeEstimator_cff::width.
Referenced by dumpHierarchyLeafPVLV(), and dumpHierarchyTreePVLV().
|
private |
Definition at line 483 of file PrintGeomInfoAction.cc.
References MillePedeFileConverter_cfg::out, mkfit::Const::sol, spacesFromLeafDepth(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpLV().
|
private |
Definition at line 249 of file PrintGeomInfoAction.cc.
References countNoTouchables(), MillePedeFileConverter_cfg::out, FSQDQM_cfi::pvs, and theTopPV_.
Referenced by update().
|
private |
Definition at line 488 of file PrintGeomInfoAction.cc.
References angle_units::operators::convertRadToDeg(), fHistory_, name_, nchar_, MillePedeFileConverter_cfg::out, spacesFromLeafDepth(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHierarchyTreePVLV().
|
private |
Definition at line 641 of file PrintGeomInfoAction.cc.
References theTopPV_.
Referenced by countNoTouchables(), dumpG4LVTree(), and dumpHierarchyTreePVLV().
|
private |
Definition at line 637 of file PrintGeomInfoAction.cc.
Referenced by update().
|
private |
Definition at line 597 of file PrintGeomInfoAction.cc.
References filterCSVwithJSON::copy, fHistory_, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and cond::impl::to_string().
Referenced by dumpInFile().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 138 of file PrintGeomInfoAction.cc.
References edm::BeginRun, dd4hep_, dd4hepToken_, dddToken_, edm::ConsumesCollector::esConsumes(), and ecalTB2006H4_GenSimDigiReco_cfg::G4cout.
|
private |
Definition at line 628 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 223 of file PrintGeomInfoAction.cc.
References dumpG4LVList(), dumpG4LVTree(), dumpG4Region(), dumpHierarchyTreePVLV(), dumpInFile(), dumpLV_, dumpLVList_, dumpLVTree_, dumpMaterial_, dumpMaterialList(), dumpPV_, dumpRegion_, dumpSummary(), dumpSummary_, dumpTouch_, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, 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 84 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), dumpInFile(), PrintGeomInfoAction(), and registerConsumes().
|
private |
Definition at line 78 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 79 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 82 of file PrintGeomInfoAction.cc.
Referenced by dumpLV(), and PrintGeomInfoAction().
|
private |
Definition at line 82 of file PrintGeomInfoAction.cc.
Referenced by dumpLV(), PrintGeomInfoAction(), and update().
|
private |
Definition at line 81 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 81 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 81 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and PrintGeomInfoAction().
|
private |
Definition at line 82 of file PrintGeomInfoAction.cc.
Referenced by dumpPV(), PrintGeomInfoAction(), and update().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 83 of file PrintGeomInfoAction.cc.
Referenced by dumpPV(), and PrintGeomInfoAction().
|
private |
Definition at line 83 of file PrintGeomInfoAction.cc.
Referenced by dumpPV(), and PrintGeomInfoAction().
|
private |
Definition at line 84 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and PrintGeomInfoAction().
|
private |
Definition at line 82 of file PrintGeomInfoAction.cc.
Referenced by dumpLV(), and PrintGeomInfoAction().
|
private |
Definition at line 81 of file PrintGeomInfoAction.cc.
Referenced by PrintGeomInfoAction(), and update().
|
private |
Definition at line 83 of file PrintGeomInfoAction.cc.
Referenced by dumpHierarchyTreePVLV(), PrintGeomInfoAction(), and update().
|
private |
Definition at line 91 of file PrintGeomInfoAction.cc.
Referenced by dumpTouch(), and getTouch().
|
private |
Definition at line 88 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 87 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 87 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 87 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 87 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 87 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 87 of file PrintGeomInfoAction.cc.
Referenced by dumpInFile(), and PrintGeomInfoAction().
|
private |
Definition at line 85 of file PrintGeomInfoAction.cc.
Referenced by dumpTouch(), and PrintGeomInfoAction().
|
private |
Definition at line 89 of file PrintGeomInfoAction.cc.
Referenced by beginRun(), and PrintGeomInfoAction().
|
private |
Definition at line 86 of file PrintGeomInfoAction.cc.
Referenced by dumpTouch(), and PrintGeomInfoAction().
|
private |
Definition at line 90 of file PrintGeomInfoAction.cc.
Referenced by dumpHierarchyTreePVLV(), dumpInFile(), dumpSummary(), getTopLV(), and update().