Public Member Functions | |
CastorTestAnalysis (const edm::ParameterSet &p) | |
~CastorTestAnalysis () 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 | Finish () |
void | getCastorBranchData (const CaloG4HitCollection *hc) |
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 | |
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 | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 65 of file CastorTestAnalysis.cc.
CastorTestAnalysis::CastorTestAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 142 of file CastorTestAnalysis.cc.
References castoreventntuple, castorstepntuple, doNTcastorevent, doNTcastorstep, eventNtFileName, edm::ParameterSet::getParameter(), AlCaHLTBitMon_ParallelJobs::p, stepNtFileName, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
override |
|
private |
Definition at line 457 of file CastorTestAnalysis.cc.
References castoreventntuple, castorOutputEventFile, castorOutputStepFile, castorstepntuple, doNTcastorevent, and doNTcastorstep.
Referenced by ~CastorTestAnalysis().
|
private |
Definition at line 402 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 BeginOfJob *>.
Definition at line 186 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 BeginOfRun *>.
Definition at line 189 of file CastorTestAnalysis.cc.
References castorOutputEventFile, castorOutputStepFile, 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 EndOfRun *>.
Definition at line 399 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 BeginOfEvent *>.
Definition at line 206 of file CastorTestAnalysis.cc.
References 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 EndOfEvent *>.
Definition at line 294 of file CastorTestAnalysis.cc.
References doNTcastorevent, PVValHelper::eta, eventGlobalHit, getCastorBranchData(), mps_fire::i, dqm-mbProfile::log, SiStripPI::max, SiStripPI::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 G4Step *>.
Definition at line 212 of file CastorTestAnalysis.cc.
References castorsteparray, castorstepntuple, doNTcastorstep, PVValHelper::eta, eventIndex, dqmMemoryStats::float, dqm-mbProfile::log, 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.cc.
Referenced by getCastorBranchData().
|
private |
Definition at line 99 of file CastorTestAnalysis.cc.
Referenced by CastorTestAnalysis(), Finish(), and getCastorBranchData().
|
private |
Definition at line 95 of file CastorTestAnalysis.cc.
|
private |
Definition at line 96 of file CastorTestAnalysis.cc.
|
private |
Definition at line 107 of file CastorTestAnalysis.cc.
Referenced by update().
|
private |
Definition at line 98 of file CastorTestAnalysis.cc.
Referenced by CastorTestAnalysis(), Finish(), and update().
|
private |
Definition at line 91 of file CastorTestAnalysis.cc.
Referenced by CastorTestAnalysis(), Finish(), and update().
|
private |
Definition at line 90 of file CastorTestAnalysis.cc.
Referenced by CastorTestAnalysis(), Finish(), and update().
|
private |
Definition at line 105 of file CastorTestAnalysis.cc.
Referenced by getCastorBranchData(), and update().
|
private |
Definition at line 103 of file CastorTestAnalysis.cc.
Referenced by getCastorBranchData(), and update().
|
private |
Definition at line 93 of file CastorTestAnalysis.cc.
Referenced by CastorTestAnalysis(), and update().
|
private |
Definition at line 104 of file CastorTestAnalysis.cc.
Referenced by update().
|
private |
Definition at line 92 of file CastorTestAnalysis.cc.
Referenced by CastorTestAnalysis(), and update().
|
private |
Definition at line 101 of file CastorTestAnalysis.cc.
Referenced by getCastorBranchData(), and update().
|
private |
Definition at line 89 of file CastorTestAnalysis.cc.
Referenced by CastorTestAnalysis(), update(), and ~CastorTestAnalysis().