Public Member Functions | |
DoCastorAnalysis (const edm::ParameterSet &p) | |
~DoCastorAnalysis () override | |
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 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 () |
Public Member Functions inherited from Observer< const EndOfRun *> | |
Observer () | |
void | slotForUpdate (const EndOfRun * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfEvent *> | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfEvent *> | |
Observer () | |
void | slotForUpdate (const EndOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step *> | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | update (const BeginOfJob *run) 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... | |
void | update (const EndOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *step) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
TFile * | CastorOutputEventFile |
TTree * | CastorTree |
int | eventIndex |
std::vector< double > * | psimhit_energy |
std::vector< double > * | psimhit_eta |
std::vector< int > * | psimhit_module |
std::vector< double > * | psimhit_phi |
std::vector< int > * | psimhit_sector |
std::vector< double > * | psimhit_x |
std::vector< double > * | psimhit_y |
std::vector< double > * | psimhit_z |
std::vector< double > | simhit_energy |
std::vector< double > | simhit_eta |
double | simhit_etot |
std::vector< int > | simhit_module |
std::vector< double > | simhit_phi |
std::vector< int > | simhit_sector |
std::vector< double > | simhit_x |
std::vector< double > | simhit_y |
std::vector< double > | simhit_z |
std::string | TreeFileName |
int | verbosity |
Additional Inherited Members | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 67 of file DoCastorAnalysis.cc.
DoCastorAnalysis::DoCastorAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 108 of file DoCastorAnalysis.cc.
References CastorOutputEventFile, CastorTree, edm::ParameterSet::getParameter(), AlCaHLTBitMon_ParallelJobs::p, psimhit_energy, psimhit_eta, psimhit_module, psimhit_phi, psimhit_sector, psimhit_x, psimhit_y, psimhit_z, simhit_etot, AlCaHLTBitMon_QueryRunRegistry::string, TreeFileName, and verbosity.
|
override |
Definition at line 148 of file DoCastorAnalysis.cc.
References CastorOutputEventFile, CastorTree, and verbosity.
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob *>.
Definition at line 174 of file DoCastorAnalysis.cc.
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 178 of file DoCastorAnalysis.cc.
References eventIndex.
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 EndOfRun *>.
Definition at line 297 of file DoCastorAnalysis.cc.
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 BeginOfEvent *>.
Definition at line 188 of file DoCastorAnalysis.cc.
References eventIndex.
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 EndOfEvent *>.
Definition at line 195 of file DoCastorAnalysis.cc.
References CastorTree, HBHEDarkening_cff::energy, PVValHelper::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getUnitID(), CrabHelper::log, phi, psimhit_energy, psimhit_eta, psimhit_module, psimhit_phi, psimhit_sector, psimhit_x, psimhit_y, psimhit_z, nano_mu_digi_cff::sector, simhit_energy, simhit_eta, simhit_etot, simhit_module, simhit_phi, simhit_sector, simhit_x, simhit_y, simhit_z, funct::tan(), tauSpinnerTable_cfi::theta, CastorNumberingScheme::unpackIndex(), and ecaldqm::zside().
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 G4Step *>.
Definition at line 299 of file DoCastorAnalysis.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 92 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and ~DoCastorAnalysis().
|
private |
Definition at line 93 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), update(), and ~DoCastorAnalysis().
|
private |
Definition at line 95 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 102 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 102 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 103 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 102 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 103 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 101 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 101 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 101 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 98 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 98 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 105 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 99 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 98 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 99 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 97 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 97 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 97 of file DoCastorAnalysis.cc.
Referenced by update().
|
private |
Definition at line 90 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis().
|
private |
Definition at line 88 of file DoCastorAnalysis.cc.
Referenced by DoCastorAnalysis(), and ~DoCastorAnalysis().