#include <CastorTestAnalysis.h>
Public Member Functions | |
CastorTestAnalysis (const edm::ParameterSet &p) | |
~CastorTestAnalysis () override | |
Public Member Functions inherited from SimWatcher | |
const SimWatcher & | operator= (const SimWatcher &)=delete |
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 | Finish () |
void | getCastorBranchData (const CaloG4HitCollection *hc) |
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 | |
Float_t | castoreventarray [11] |
TNtuple * | castoreventntuple |
TFile * | castorOutputEventFile |
TFile * | castorOutputStepFile |
Float_t | castorsteparray [14] |
TNtuple * | castorstepntuple |
int | doNTcastorevent |
int | doNTcastorstep |
int | eventGlobalHit |
int | eventIndex |
std::string | eventNtFileName |
int | stepIndex |
std::string | stepNtFileName |
CastorNumberingScheme * | theCastorNumScheme |
int | verbosity |
Additional Inherited Members |
Definition at line 65 of file CastorTestAnalysis.h.
CastorTestAnalysis::CastorTestAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 57 of file CastorTestAnalysis.cc.
References castoreventntuple, castorstepntuple, gather_cfg::cout, doNTcastorevent, doNTcastorstep, eventNtFileName, edm::ParameterSet::getParameter(), AlCaHLTBitMon_ParallelJobs::p, stepNtFileName, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
override |
Definition at line 89 of file CastorTestAnalysis.cc.
References gather_cfg::cout, Finish(), and verbosity.
|
private |
Definition at line 362 of file CastorTestAnalysis.cc.
References castoreventntuple, castorOutputEventFile, castorOutputStepFile, castorstepntuple, gather_cfg::cout, doNTcastorevent, and doNTcastorstep.
Referenced by ~CastorTestAnalysis().
|
private |
Definition at line 307 of file CastorTestAnalysis.cc.
References castoreventarray, castoreventntuple, eventGlobalHit, eventIndex, dqmMemoryStats::float, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getUnitID(), ntcastore_detector, ntcastore_enem, ntcastore_enhad, ntcastore_evt, ntcastore_hitenergy, ntcastore_ihit, ntcastore_module, ntcastore_sector, ntcastore_x, ntcastore_y, ntcastore_z, theCastorNumScheme, CastorNumberingScheme::unpackIndex(), and ecaldqm::zside().
Referenced by update().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 121 of file CastorTestAnalysis.cc.
References gather_cfg::cout, eventIndex, and stepIndex.
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 101 of file CastorTestAnalysis.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 104 of file CastorTestAnalysis.cc.
References castorOutputEventFile, castorOutputStepFile, gather_cfg::cout, doNTcastorevent, doNTcastorstep, eventIndex, eventNtFileName, and stepNtFileName.
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 209 of file CastorTestAnalysis.cc.
References gather_cfg::cout, doNTcastorevent, PVValHelper::eta, eventGlobalHit, getCastorBranchData(), mps_fire::i, dqm-mbProfile::log, LogDebug, SiStripPI::max, min(), npart, PbPb_ZMuSkimMuonDPG_cff::particleType, phi, funct::pow(), multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, mathSSE::sqrt(), funct::tan(), theCastorNumScheme, and theta().
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 304 of file CastorTestAnalysis.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 127 of file CastorTestAnalysis.cc.
References castorsteparray, castorstepntuple, gather_cfg::cout, doNTcastorstep, PVValHelper::eta, eventIndex, dqmMemoryStats::float, dqm-mbProfile::log, LogDebug, ntcastors_charge, ntcastors_eta, ntcastors_evt, ntcastors_pdgcode, ntcastors_phi, ntcastors_stepe, ntcastors_stepl, ntcastors_trackid, ntcastors_vpx, ntcastors_vpy, ntcastors_vpz, ntcastors_x, ntcastors_y, ntcastors_z, phi, stepIndex, AlignmentTrackSelector_cfi::theCharge, and verbosity.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 108 of file CastorTestAnalysis.h.
Referenced by getCastorBranchData().
|
private |
Definition at line 99 of file CastorTestAnalysis.h.
Referenced by CastorTestAnalysis(), Finish(), and getCastorBranchData().
|
private |
Definition at line 95 of file CastorTestAnalysis.h.
|
private |
Definition at line 96 of file CastorTestAnalysis.h.
|
private |
Definition at line 107 of file CastorTestAnalysis.h.
Referenced by update().
|
private |
Definition at line 98 of file CastorTestAnalysis.h.
Referenced by CastorTestAnalysis(), Finish(), and update().
|
private |
Definition at line 91 of file CastorTestAnalysis.h.
Referenced by CastorTestAnalysis(), Finish(), and update().
|
private |
Definition at line 90 of file CastorTestAnalysis.h.
Referenced by CastorTestAnalysis(), Finish(), and update().
|
private |
Definition at line 105 of file CastorTestAnalysis.h.
Referenced by getCastorBranchData(), and update().
|
private |
Definition at line 103 of file CastorTestAnalysis.h.
Referenced by getCastorBranchData(), and update().
|
private |
Definition at line 93 of file CastorTestAnalysis.h.
Referenced by CastorTestAnalysis(), and update().
|
private |
Definition at line 104 of file CastorTestAnalysis.h.
Referenced by update().
|
private |
Definition at line 92 of file CastorTestAnalysis.h.
Referenced by CastorTestAnalysis(), and update().
|
private |
Definition at line 101 of file CastorTestAnalysis.h.
Referenced by getCastorBranchData(), and update().
|
private |
Definition at line 89 of file CastorTestAnalysis.h.
Referenced by CastorTestAnalysis(), update(), and ~CastorTestAnalysis().