#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_ |
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::auto_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_, i, layerGrouping(), myqie, names, nGroup, nTower, phi0, AlCaHLTBitMon_QueryRunRegistry::string, tower_, and towersToAdd().
|
virtual |
Definition at line 62 of file HcalTestAnalysis.cc.
References count, myqie, numberingFromDDD, org, and tuples.
|
private |
Definition at line 340 of file HcalTestAnalysis.cc.
References caloHitCache, alignCSCRings::e, eta(), CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), HcalTestNumberingScheme::getUnitID(), CaloG4Hit::getUnitID(), HcalEndcap, HcalForward, j, create_public_lumi_plots::log, LogDebug, names, numberingFromDDD, org, HcalTestNumberingScheme::packHcalIndex(), phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), cond::rpcobgas::time, timeOfFlight(), HcalNumberingFromDDD::unitID(), HcalTestNumberingScheme::unpackHcalIndex(), and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 596 of file HcalTestAnalysis.cc.
References edepEB, edepEE, edepHB, edepHE, edepHO, edepl, HcalTestHistoClass::fillLayers(), i, LogDebug, mudist, and tuples.
Referenced by update().
|
private |
Definition at line 78 of file HcalTestAnalysis.cc.
References i, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
private |
Definition at line 476 of file HcalTestAnalysis.cc.
References addTower, caloHitCache, centralTower, CaloHit::det(), CaloHit::e(), eta0, HcalTestHistoClass::fillHits(), HcalTestHistoClass::fillQie(), HcalQie::getCode(), HcalQie::getEnergy(), HcalTestNumberingScheme::getUnitID(), watchdog::group, group_, HcalBarrel, HcalEndcap, i, CaloHit::id(), customizeTrackingMonitorSeedNumber::idx, CaloHit::layer(), LogDebug, myqie, nGroup, nt, nTower, numberingFromDDD, org, phi0, AlCaHLTBitMon_QueryRunRegistry::string, tower_, tuples, HcalNumberingFromDDD::unitID(), HcalTestNumberingScheme::unpackHcalIndex(), and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 615 of file HcalTestAnalysis.cc.
References funct::cos(), create_public_lumi_plots::exp, HcalBarrel, LogDebug, funct::sin(), theta(), and tmp.
Referenced by fill().
|
private |
Definition at line 110 of file HcalTestAnalysis.cc.
References funct::abs(), eta(), i, 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 151 of file HcalTestAnalysis.cc.
References fileName, names, numberingFromDDD, org, and tuplesManager.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 169 of file HcalTestAnalysis.cc.
References HcalNumberingFromDDD::cell(), centralTower, HcalCellType::HcalCell::eta, eta(), eta0, HcalBarrel, HcalEndcap, HcalForward, python.cmstools::loop(), names, numberingFromDDD, HcalCellType::HcalCell::ok, org, phi, HcalCellType::HcalCell::phi, phi0, sd, HCalSD::setNumberingScheme(), AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 231 of file HcalTestAnalysis.cc.
References edepEB, edepEE, edepHB, edepHE, edepHO, edepl, i, LogDebug, mudist, HcalTestHistoClass::setCounters(), and tuples.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 316 of file HcalTestAnalysis.cc.
References count, fill(), layerAnalysis(), LogDebug, qieAnalysis(), tuples, and tuplesManager.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 248 of file HcalTestAnalysis.cc.
References edepEB, edepEE, edepHB, edepHE, edepHO, edepl, eta(), eta0, create_public_lumi_plots::log, LogDebug, mudist, mergeVDriftHistosByStation::name, NULL, phi, phi0, mathSSE::sqrt(), funct::tan(), and theta().
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 68 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 79 of file HcalTestAnalysis.h.
Referenced by fill(), and qieAnalysis().
|
private |
Definition at line 86 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 89 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), update(), and ~HcalTestAnalysis().
|
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 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 90 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 91 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 85 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 64 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and update().
|
private |
Definition at line 80 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 92 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 67 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and ~HcalTestAnalysis().
|
private |
Definition at line 84 of file HcalTestAnalysis.h.
Referenced by fill(), HcalTestAnalysis(), and update().
|
private |
Definition at line 81 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 81 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 75 of file HcalTestAnalysis.h.
Referenced by fill(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 76 of file HcalTestAnalysis.h.
Referenced by fill(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 85 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 80 of file HcalTestAnalysis.h.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 72 of file HcalTestAnalysis.h.
Referenced by layerAnalysis(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 71 of file HcalTestAnalysis.h.
Referenced by update().