Public Member Functions | |
PrintG4Touch (edm::ParameterSet const &p) | |
~PrintG4Touch () override=default | |
Public Member Functions inherited from SimWatcher | |
virtual void | beginRun (edm::EventSetup const &) |
bool | isMT () const |
const SimWatcher & | operator= (const SimWatcher &)=delete |
virtual void | registerConsumes (edm::ConsumesCollector) |
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 | 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) |
void | update (const BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
bool | dd4hep_ |
G4NavigationHistory | fHistory_ |
G4VPhysicalVolume * | theTopPV_ |
bool | verbosity_ |
Additional Inherited Members | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 35 of file PrintG4Touch.cc.
PrintG4Touch::PrintG4Touch | ( | edm::ParameterSet const & | p | ) |
Definition at line 56 of file PrintG4Touch.cc.
References dd4hep_, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, AlCaHLTBitMon_ParallelJobs::p, and verbosity_.
|
overridedefault |
|
private |
Definition at line 112 of file PrintG4Touch.cc.
References cuy::ii.
Referenced by countNoTouchables().
|
private |
Definition at line 105 of file PrintG4Touch.cc.
References add1touchable(), and getTopLV().
Referenced by dumpSummary().
|
private |
Definition at line 79 of file PrintG4Touch.cc.
References countNoTouchables(), dd4hep_, DD4hep2DDDName::namePV(), MillePedeFileConverter_cfg::out, FSQDQM_cfi::pvs, and theTopPV_.
Referenced by update().
|
private |
Definition at line 118 of file PrintG4Touch.cc.
References angle_units::operators::convertRadToDeg(), dd4hep_, fHistory_, DD4hep2DDDName::nameSolid(), MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by update().
|
private |
Definition at line 185 of file PrintG4Touch.cc.
References theTopPV_.
Referenced by countNoTouchables().
|
private |
Definition at line 181 of file PrintG4Touch.cc.
Referenced by update().
|
private |
Definition at line 147 of file PrintG4Touch.cc.
References filterCSVwithJSON::copy, dd4hep_, fHistory_, Skims_PA_cff::name, DD4hep2DDDName::nameSolid(), AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
Referenced by update().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 62 of file PrintG4Touch.cc.
References dumpSummary(), dumpTouch(), ecalTB2006H4_GenSimDigiReco_cfg::G4cout, getTopPV(), getTouch(), jetUpdater_cfi::sort, theTopPV_, and verbosity_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 51 of file PrintG4Touch.cc.
Referenced by dumpSummary(), dumpTouch(), getTouch(), and PrintG4Touch().
|
private |
Definition at line 53 of file PrintG4Touch.cc.
Referenced by dumpTouch(), and getTouch().
|
private |
Definition at line 52 of file PrintG4Touch.cc.
Referenced by dumpSummary(), getTopLV(), and update().
|
private |
Definition at line 51 of file PrintG4Touch.cc.
Referenced by PrintG4Touch(), and update().