#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 35 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_, phi0_, AlCaHLTBitMon_QueryRunRegistry::string, tower_, towersToAdd(), and tuplesManager_.
|
override |
Definition at line 64 of file HcalTestAnalysis.cc.
References count_, org_, and tuples_.
|
private |
Definition at line 337 of file HcalTestAnalysis.cc.
References caloHitCache_, MillePedeFileConverter_cfg::e, PVValHelper::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), HcalTestNumberingScheme::getUnitID(), CaloG4Hit::getUnitID(), GeV, HcalEndcap, HcalForward, cmsBatch::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 605 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 71 of file HcalTestAnalysis.cc.
References mps_fire::i, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
private |
Definition at line 482 of file HcalTestAnalysis.cc.
References addTower_, caloHitCache_, centralTower_, CaloHit::det(), CaloHit::e(), eta0_, HcalTestHistoClass::fillHits(), HcalTestHistoClass::fillQie(), HcalTestNumberingScheme::getUnitID(), edmIntegrityCheck::group, group_, HcalBarrel, HcalEndcap, hfClusterShapes_cfi::hits, mps_fire::i, CaloHit::id(), training_settings::idx, 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 625 of file HcalTestAnalysis.cc.
References funct::cos(), JetChargeProducer_cfi::exp, HcalBarrel, funct::sin(), theta(), and tmp.
Referenced by fill().
|
private |
Definition at line 103 of file HcalTestAnalysis.cc.
References funct::abs(), PVValHelper::eta, 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 145 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 164 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 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 226 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 313 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 243 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, PVValHelper::eta, eta0_, cmsBatch::log, MeV, mudist_, dataset::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 69 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 81 of file HcalTestAnalysis.h.
Referenced by fill(), and qieAnalysis().
|
private |
Definition at line 88 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 91 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 92 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 92 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 92 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 92 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 93 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 93 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 87 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 65 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and update().
|
private |
Definition at line 82 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 77 of file HcalTestAnalysis.h.
Referenced by update().
|
private |
Definition at line 94 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 68 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 86 of file HcalTestAnalysis.h.
Referenced by fill(), HcalTestAnalysis(), and update().
|
private |
Definition at line 83 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 83 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 76 of file HcalTestAnalysis.h.
Referenced by fill(), HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 78 of file HcalTestAnalysis.h.
Referenced by fill(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 87 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 82 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 73 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 72 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and update().