#include <HcalTestAnalysis.h>
Public Member Functions | |
HcalTestAnalysis (const edm::ParameterSet &p) | |
~HcalTestAnalysis () 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 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 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 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 | |
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 31 of file HcalTestAnalysis.cc.
References addTower_, centralTower_, count_, eta0_, fileName_, edm::ParameterSet::getParameter(), group_, mps_fire::i, layerGrouping(), myqie_, names_, nGroup_, nTower_, numberingFromDDD_, phi0_, AlCaHLTBitMon_QueryRunRegistry::string, tower_, towersToAdd(), and tuplesManager_.
|
override |
Definition at line 62 of file HcalTestAnalysis.cc.
References count_, org_, and tuples_.
|
private |
Definition at line 314 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, dqm-mbProfile::log, names_, numberingFromDDD_, org_, HcalTestNumberingScheme::packHcalIndex(), phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), ntuplemaker::time, timeOfFlight(), HcalTestNumberingScheme::unpackHcalIndex(), and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 565 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 67 of file HcalTestAnalysis.cc.
References mps_fire::i, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
private |
Definition at line 443 of file HcalTestAnalysis.cc.
References addTower_, caloHitCache_, hippyaddtobaddatafiles::cd(), centralTower_, CaloHit::det(), CaloHit::e(), eta0_, HcalTestHistoClass::fillHits(), HcalTestHistoClass::fillQie(), HcalTestNumberingScheme::getUnitID(), watchdog::group, group_, HcalBarrel, HcalEndcap, hfClusterShapes_cfi::hits, mps_fire::i, CaloHit::id(), training_settings::idx, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, CaloHit::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 579 of file HcalTestAnalysis.cc.
References funct::cos(), JetChargeProducer_cfi::exp, HcalBarrel, funct::sin(), theta(), and createJobs::tmp.
Referenced by fill().
|
private |
Definition at line 97 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 BeginOfJob * >.
Definition at line 137 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__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 153 of file HcalTestAnalysis.cc.
References HcalDDDSimConstants::cell(), centralTower_, HcalCellType::HcalCell::eta, PVValHelper::eta, eta0_, HcalBarrel, HcalEndcap, HcalForward, hcons_, heppy_loop::loop, names_, HcalCellType::HcalCell::ok, org_, phi, HcalCellType::HcalCell::phi, phi0_, sd, HCalSD::setNumberingScheme(), AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 212 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__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent * >.
Definition at line 292 of file HcalTestAnalysis.cc.
References count_, fill(), layerAnalysis(), qieAnalysis(), tuples_, and tuplesManager_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 229 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, PVValHelper::eta, eta0_, 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__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
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().