#include <HcalTestAnalysis.h>
Public Member Functions | |
HcalTestAnalysis (const edm::ParameterSet &p) | |
~HcalTestAnalysis () 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 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 | fill (const EndOfEvent *ev) |
void | layerAnalysis () |
std::vector< int > | layerGrouping (int) |
void | qieAnalysis (CLHEP::HepRandomEngine *) |
double | timeOfFlight (int det, int layer, double eta) |
std::vector< int > | towersToAdd (int centre, int nadd) |
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 G4Step *step) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
int | addTower_ |
std::vector< CaloHit > | caloHitCache_ |
int | centralTower_ |
unsigned int | count_ |
double | edepEB_ |
double | edepEE_ |
double | edepHB_ |
double | edepHE_ |
double | edepHO_ |
double | edepl_ [20] |
double | eta0_ |
std::string | fileName_ |
std::vector< int > | group_ |
const HcalDDDSimConstants * | hcons_ |
double | mudist_ [20] |
std::unique_ptr< HcalQie > | myqie_ |
std::vector< std::string > | names_ |
int | nGroup_ |
int | nTower_ |
std::unique_ptr< HcalNumberingFromDDD > | numberingFromDDD_ |
HcalTestNumberingScheme * | org_ |
double | phi0_ |
std::vector< int > | tower_ |
HcalTestHistoClass * | tuples_ |
std::unique_ptr< HcalTestHistoManager > | tuplesManager_ |
Additional Inherited Members |
Definition at line 34 of file HcalTestAnalysis.h.
HcalTestAnalysis::HcalTestAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 32 of file HcalTestAnalysis.cc.
References addTower_, centralTower_, count_, eta0_, fileName_, edm::ParameterSet::getParameter(), group_, mps_fire::i, layerGrouping(), myqie_, names_, nGroup_, nTower_, numberingFromDDD_, AlCaHLTBitMon_ParallelJobs::p, phi0_, AlCaHLTBitMon_QueryRunRegistry::string, tower_, towersToAdd(), and tuplesManager_.
|
override |
Definition at line 63 of file HcalTestAnalysis.cc.
|
private |
Definition at line 315 of file HcalTestAnalysis.cc.
References caloHitCache_, MillePedeFileConverter_cfg::e, PVValHelper::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), HcalTestNumberingScheme::getUnitID(), CaloG4Hit::getUnitID(), GeV, HcalEndcap, HcalForward, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, dqmiolumiharvest::j, phase1PixelTopology::layer, dqm-mbProfile::log, names_, numberingFromDDD_, org_, HcalTestNumberingScheme::packHcalIndex(), phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), protons_cff::time, timeOfFlight(), HcalTestNumberingScheme::unpackHcalIndex(), and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 569 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, HcalTestHistoClass::fillLayers(), mps_fire::i, MeV, mudist_, and tuples_.
Referenced by update().
|
private |
Definition at line 68 of file HcalTestAnalysis.cc.
References watchdog::group, mps_fire::i, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
private |
Definition at line 447 of file HcalTestAnalysis.cc.
References addTower_, caloHitCache_, hippyaddtobaddatafiles::cd(), centralTower_, eta0_, HcalTestHistoClass::fillHits(), HcalTestHistoClass::fillQie(), HcalTestNumberingScheme::getUnitID(), watchdog::group, group_, HcalBarrel, HcalEndcap, hfClusterShapes_cfi::hits, mps_fire::i, hit::id, heavyIonCSV_trainingSettings::idx, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, phase1PixelTopology::layer, myqie_, nGroup_, nt, nTower_, numberingFromDDD_, org_, phi0_, AlCaHLTBitMon_QueryRunRegistry::string, tower_, tuples_, HcalTestNumberingScheme::unpackHcalIndex(), and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 583 of file HcalTestAnalysis.cc.
References funct::cos(), PVValHelper::eta, JetChargeProducer_cfi::exp, HcalBarrel, phase1PixelTopology::layer, funct::sin(), theta(), and createJobs::tmp.
Referenced by fill().
|
private |
Definition at line 98 of file HcalTestAnalysis.cc.
References funct::abs(), PVValHelper::eta, muonTiming_cfi::etamax, muonTiming_cfi::etamin, mps_fire::i, SiStripPI::max, phi, phimax, phimin, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 213 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, mps_fire::i, mudist_, HcalTestHistoClass::setCounters(), and tuples_.
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 138 of file HcalTestAnalysis.cc.
References fileName_, hcons_, names_, numberingFromDDD_, org_, edm::ESHandle< T >::product(), and tuplesManager_.
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 154 of file HcalTestAnalysis.cc.
References HcalDDDSimConstants::cell(), centralTower_, PVValHelper::eta, eta0_, HcalBarrel, HcalEndcap, HcalForward, hcons_, heppy_loop::loop, names_, org_, phi, phi0_, sd, HCalSD::setNumberingScheme(), AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
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 293 of file HcalTestAnalysis.cc.
References count_, fill(), layerAnalysis(), qieAnalysis(), tuples_, and tuplesManager_.
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 230 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, PVValHelper::eta, eta0_, phase1PixelTopology::layer, dqm-mbProfile::log, MeV, mudist_, Skims_PA_cff::name, phi, phi0_, mathSSE::sqrt(), funct::tan(), and theta().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 66 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 78 of file HcalTestAnalysis.h.
Referenced by fill(), and qieAnalysis().
|
private |
Definition at line 85 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 88 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 89 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 89 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 89 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 89 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 90 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 90 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 84 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 62 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and update().
|
private |
Definition at line 79 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 74 of file HcalTestAnalysis.h.
Referenced by update().
|
private |
Definition at line 91 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 65 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 83 of file HcalTestAnalysis.h.
Referenced by fill(), HcalTestAnalysis(), and update().
|
private |
Definition at line 80 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 80 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 73 of file HcalTestAnalysis.h.
Referenced by fill(), HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 75 of file HcalTestAnalysis.h.
Referenced by fill(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 84 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 79 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 70 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 69 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and update().