#include <DoCastorAnalysis.h>
Public Member Functions | |
DoCastorAnalysis (const edm::ParameterSet &p) | |
~DoCastorAnalysis () override | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
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 BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
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 EndOfEvent *evt) 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 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 |
Definition at line 62 of file DoCastorAnalysis.h.
DoCastorAnalysis::DoCastorAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 28 of file DoCastorAnalysis.cc.
References CastorOutputEventFile, CastorTree, gather_cfg::cout, debug, 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 69 of file DoCastorAnalysis.cc.
References CastorOutputEventFile, CastorTree, gather_cfg::cout, debug, and verbosity.
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 106 of file DoCastorAnalysis.cc.
References gather_cfg::cout, and 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 BeginOfJob * >.
Definition at line 92 of file DoCastorAnalysis.cc.
References gather_cfg::cout.
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 96 of file DoCastorAnalysis.cc.
References gather_cfg::cout, and 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 113 of file DoCastorAnalysis.cc.
References CastorTree, gather_cfg::cout, debug, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getUnitID(), GeV, dqm-mbProfile::log, phi, psimhit_energy, psimhit_eta, psimhit_module, psimhit_phi, psimhit_sector, psimhit_x, psimhit_y, psimhit_z, simhit_energy, simhit_eta, simhit_etot, simhit_module, simhit_phi, simhit_sector, simhit_x, simhit_y, simhit_z, funct::tan(), 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 EndOfRun * >.
Definition at line 217 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 G4Step * >.
Definition at line 219 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 87 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and ~DoCastorAnalysis().
|
private |
Definition at line 88 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), update(), and ~DoCastorAnalysis().
|
private |
Definition at line 90 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 98 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 98 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 99 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 98 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 99 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 97 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 97 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 97 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 93 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 93 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 102 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and update().
|
private |
Definition at line 94 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 93 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 94 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 92 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 92 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 92 of file DoCastorAnalysis.h.
Referenced by update().
|
private |
Definition at line 85 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis().
|
private |
Definition at line 83 of file DoCastorAnalysis.h.
Referenced by DoCastorAnalysis(), and ~DoCastorAnalysis().