#include <HcalTestAnalysis.h>
Public Member Functions | |
HcalTestAnalysis (const edm::ParameterSet &p) | |
virtual | ~HcalTestAnalysis () |
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) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *run) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *evt) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *evt) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *step) |
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_ |
HcalDDDSimConstants * | hcons |
double | mudist [20] |
HcalQie * | myqie |
std::vector< std::string > | names |
int | nGroup |
int | nTower |
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_, i, layerGrouping(), myqie, names, nGroup, nTower, phi0, AlCaHLTBitMon_QueryRunRegistry::string, tower_, towersToAdd(), and tuplesManager.
|
virtual |
Definition at line 63 of file HcalTestAnalysis.cc.
References count, myqie, numberingFromDDD, org, and tuples.
|
private |
Definition at line 344 of file HcalTestAnalysis.cc.
References caloHitCache, MillePedeFileConverter_cfg::e, stringResolutionProvider_cfi::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), HcalTestNumberingScheme::getUnitID(), CaloG4Hit::getUnitID(), GeV, HcalEndcap, HcalForward, j, cmsBatch::log, LogDebug, names, numberingFromDDD, org, HcalTestNumberingScheme::packHcalIndex(), phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), ntuplemaker::time, timeOfFlight(), HcalNumberingFromDDD::unitID(), HcalTestNumberingScheme::unpackHcalIndex(), and HcalDigiParam_cfi::zside.
Referenced by update().
|
private |
Definition at line 600 of file HcalTestAnalysis.cc.
References edepEB, edepEE, edepHB, edepHE, edepHO, edepl, HcalTestHistoClass::fillLayers(), i, LogDebug, MeV, mudist, and tuples.
Referenced by update().
|
private |
Definition at line 79 of file HcalTestAnalysis.cc.
References i, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
private |
Definition at line 480 of file HcalTestAnalysis.cc.
References addTower, caloHitCache, centralTower, CaloHit::det(), CaloHit::e(), eta0, HcalTestHistoClass::fillHits(), HcalTestHistoClass::fillQie(), HcalQie::getCode(), HcalQie::getEnergy(), HcalTestNumberingScheme::getUnitID(), edmIntegrityCheck::group, group_, HcalBarrel, HcalEndcap, hfClusterShapes_cfi::hits, i, CaloHit::id(), training_settings::idx, CaloHit::layer(), LogDebug, myqie, nGroup, nt, nTower, numberingFromDDD, org, phi0, AlCaHLTBitMon_QueryRunRegistry::string, tower_, tuples, HcalNumberingFromDDD::unitID(), HcalTestNumberingScheme::unpackHcalIndex(), and HcalDigiParam_cfi::zside.
Referenced by update().
|
private |
Definition at line 619 of file HcalTestAnalysis.cc.
References funct::cos(), JetChargeProducer_cfi::exp, HcalBarrel, LogDebug, funct::sin(), theta(), and tmp.
Referenced by fill().
|
private |
Definition at line 111 of file HcalTestAnalysis.cc.
References funct::abs(), stringResolutionProvider_cfi::eta, i, hpstanc_transforms::max, phi, phimax, phimin, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 153 of file HcalTestAnalysis.cc.
References fileName, hcons, names, numberingFromDDD, org, 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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 173 of file HcalTestAnalysis.cc.
References HcalDDDSimConstants::cell(), centralTower, stringResolutionProvider_cfi::eta, HcalCellType::HcalCell::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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 235 of file HcalTestAnalysis.cc.
References edepEB, edepEE, edepHB, edepHE, edepHO, edepl, i, LogDebug, 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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent * >.
Definition at line 320 of file HcalTestAnalysis.cc.
References count, fill(), layerAnalysis(), LogDebug, 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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 252 of file HcalTestAnalysis.cc.
References edepEB, edepEE, edepHB, edepHE, edepHO, edepl, stringResolutionProvider_cfi::eta, eta0, cmsBatch::log, LogDebug, MeV, mudist, dataset::name, NULL, 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 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 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(), qieAnalysis(), and ~HcalTestAnalysis().
|
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(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
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().