#include <SimG4HcalValidation.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
SimG4HcalValidation (const edm::ParameterSet &p) | |
virtual | ~SimG4HcalValidation () |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::ProducerBase &iProd) |
SimProducer () | |
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 | clear () |
void | collectEnergyRdir (const double, const double) |
void | fetchHits (PHcalValidInfoLayer &) |
void | fill (const EndOfEvent *ev) |
double | getHcalScale (std::string, int) const |
void | init () |
void | jetAnalysis (PHcalValidInfoJets &) |
void | layerAnalysis (PHcalValidInfoLayer &) |
void | nxNAnalysis (PHcalValidInfoNxN &) |
const SimG4HcalValidation & | operator= (const SimG4HcalValidation &) |
SimG4HcalValidation (const SimG4HcalValidation &) | |
void | update (const BeginOfJob *job) |
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 G4Step *step) |
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... | |
Private Attributes | |
bool | applySampling |
double | coneSize |
unsigned int | count |
std::vector< double > | dEta |
std::vector< double > | dPhi |
double | edepd [5] |
double | edepEB |
double | edepEE |
double | edepHB |
double | edepHE |
double | edepHO |
double | edepl [20] |
double | een |
double | ehitThreshold |
double | enEcal |
double | enHcal |
float | eta0 |
bool | hcalOnly |
double | hen |
double | hhitThreshold |
std::vector< CaloHit > | hitcache |
double | hoen |
int | infolevel |
SimG4HcalHitJetFinder * | jetf |
float | jetThreshold |
std::string | labelJets |
std::string | labelLayer |
std::string | labelNxN |
std::vector< std::string > | names |
HcalNumberingFromDDD * | numberingFromDDD |
HcalTestNumberingScheme * | org |
float | phi0 |
std::vector< float > | scaleHB |
std::vector< float > | scaleHE |
std::vector< float > | scaleHF |
float | timeLowlim |
float | timeUplim |
double | vhitec |
double | vhithc |
Additional Inherited Members | |
Protected Member Functions inherited from SimProducer | |
template<class T > | |
void | produces () |
template<class T > | |
void | produces (const std::string &instanceName) |
Definition at line 34 of file SimG4HcalValidation.h.
SimG4HcalValidation::SimG4HcalValidation | ( | const edm::ParameterSet & | p | ) |
Definition at line 38 of file SimG4HcalValidation.cc.
References applySampling, coneSize, ehitThreshold, eta0, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcalOnly, hhitThreshold, infolevel, init(), jetThreshold, labelJets, labelLayer, labelNxN, names, phi0, AlCaHLTBitMon_QueryRunRegistry::string, timeLowlim, and timeUplim.
|
virtual |
Definition at line 81 of file SimG4HcalValidation.cc.
References count, jetf, numberingFromDDD, and org.
|
private |
|
private |
|
private |
Definition at line 747 of file SimG4HcalValidation.cc.
References coneSize, alignCSCRings::e, een, eta, HcalBarrel, hen, hitcache, hoen, jetf, phi, alignCSCRings::r, and SimG4HcalHitJetFinder::rDist().
Referenced by jetAnalysis(), and nxNAnalysis().
|
private |
Definition at line 664 of file SimG4HcalValidation.cc.
References TauDecayModes::dec, eta, PHcalValidInfoLayer::fillHits(), watchdog::group, hitcache, i, relval_steps::k2, LogDebug, phi, lumiQTWidget::t, HcalTestNumbering::unpackHcalIndex(), and ecaldqm::zside().
Referenced by layerAnalysis().
|
private |
Definition at line 285 of file SimG4HcalValidation.cc.
References applySampling, TauDecayModes::dec, HLT_25ns10e33_v2_cff::depth, alignCSCRings::e, ehitThreshold, enEcal, enHcal, eta, CaloG4Hit::getDepth(), CaloG4Hit::getEnergyDeposit(), getHcalScale(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), HcalTestNumberingScheme::getUnitID(), CaloG4Hit::getUnitID(), GeV, HcalEndcap, HcalForward, hcalOnly, hhitThreshold, hitcache, j, dqm-mbProfile::log, LogDebug, names, numberingFromDDD, org, HcalTestNumberingScheme::packHcalIndex(), phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), timeLowlim, HcalNumberingFromDDD::unitID(), HcalTestNumberingScheme::unpackHcalIndex(), vhitec, vhithc, and ecaldqm::zside().
Referenced by update().
|
private |
|
private |
Definition at line 119 of file SimG4HcalValidation.cc.
References coneSize, count, dEta, dPhi, i, jetf, scaleHB, scaleHE, and scaleHF.
Referenced by SimG4HcalValidation().
|
private |
Definition at line 531 of file SimG4HcalValidation.cc.
References collectEnergyRdir(), funct::cos(), alignCSCRings::e, een, eta0, PHcalValidInfoJets::fillDiJets(), PHcalValidInfoJets::fillEcollectJet(), PHcalValidInfoJets::fillEtaPhiProfileJet(), PHcalValidInfoJets::fillJets(), PHcalValidInfoJets::fillTProfileJet(), SimG4HcalHitJetFinder::getClusters(), HcalBarrel, HcalEndcap, HcalForward, hcalOnly, hitcache, i, jetf, jetThreshold, LogDebug, phi0, alignCSCRings::r, SimG4HcalHitJetFinder::rDist(), mps_fire::result, SimG4HcalHitJetFinder::setInput(), funct::sin(), mathSSE::sqrt(), and lumiQTWidget::t.
Referenced by produce().
|
private |
Definition at line 425 of file SimG4HcalValidation.cc.
References edepd, edepEB, edepEE, edepHB, edepHE, edepHO, edepl, enEcal, enHcal, fetchHits(), PHcalValidInfoLayer::fillHF(), PHcalValidInfoLayer::fillLayers(), i, LogDebug, MeV, vhitec, and vhithc.
Referenced by produce().
|
private |
Definition at line 461 of file SimG4HcalValidation.cc.
References collectEnergyRdir(), dEta, dPhi, alignCSCRings::e, een, eta, eta0, PHcalValidInfoNxN::fillEcollectNxN(), PHcalValidInfoNxN::fillHvsE(), PHcalValidInfoNxN::fillTProfileNxN(), HcalBarrel, HcalEndcap, HcalForward, hen, hitcache, hoen, i, LogDebug, bookConverter::max, phi, phi0, and lumiQTWidget::t.
Referenced by produce().
|
private |
|
virtual |
Implements SimProducer.
Definition at line 99 of file SimG4HcalValidation.cc.
References infolevel, jetAnalysis(), labelJets, labelLayer, labelNxN, layerAnalysis(), nxNAnalysis(), and edm::Event::put().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 153 of file SimG4HcalValidation.cc.
References numberingFromDDD, and org.
Referenced by 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(), 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 168 of file SimG4HcalValidation.cc.
References names, org, sd, HCalSD::setNumberingScheme(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by 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(), 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 201 of file SimG4HcalValidation.cc.
References clear(), edepd, edepEB, edepEE, edepHB, edepHE, edepHO, edepl, enEcal, enHcal, i, LogDebug, vhitec, and vhithc.
Referenced by 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(), 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 217 of file SimG4HcalValidation.cc.
References HLT_25ns10e33_v2_cff::depth, edepd, edepEB, edepEE, edepHB, edepHE, edepHO, edepl, LogDebug, MeV, mergeVDriftHistosByStation::name, and NULL.
Referenced by 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(), 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 275 of file SimG4HcalValidation.cc.
References count, fill(), and LogDebug.
Referenced by 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(), 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 93 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 91 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), init(), and SimG4HcalValidation().
|
private |
Definition at line 102 of file SimG4HcalValidation.h.
Referenced by init(), update(), and ~SimG4HcalValidation().
|
private |
Definition at line 98 of file SimG4HcalValidation.h.
Referenced by init(), and nxNAnalysis().
|
private |
Definition at line 99 of file SimG4HcalValidation.h.
Referenced by init(), and nxNAnalysis().
|
private |
Definition at line 104 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 104 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 105 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), jetAnalysis(), and nxNAnalysis().
|
private |
Definition at line 91 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 106 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().
|
private |
Definition at line 106 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().
|
private |
Definition at line 92 of file SimG4HcalValidation.h.
Referenced by jetAnalysis(), nxNAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 93 of file SimG4HcalValidation.h.
Referenced by fill(), jetAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 105 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), and nxNAnalysis().
|
private |
Definition at line 91 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 82 of file SimG4HcalValidation.h.
Referenced by clear(), collectEnergyRdir(), fetchHits(), fill(), jetAnalysis(), and nxNAnalysis().
|
private |
Definition at line 105 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), and nxNAnalysis().
|
private |
Definition at line 94 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 73 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), init(), jetAnalysis(), and ~SimG4HcalValidation().
|
private |
Definition at line 92 of file SimG4HcalValidation.h.
Referenced by jetAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 95 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 95 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 95 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 90 of file SimG4HcalValidation.h.
Referenced by fill(), SimG4HcalValidation(), and update().
|
private |
Definition at line 76 of file SimG4HcalValidation.h.
Referenced by fill(), update(), and ~SimG4HcalValidation().
|
private |
Definition at line 79 of file SimG4HcalValidation.h.
Referenced by fill(), update(), and ~SimG4HcalValidation().
|
private |
Definition at line 92 of file SimG4HcalValidation.h.
Referenced by jetAnalysis(), nxNAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 85 of file SimG4HcalValidation.h.
Referenced by getHcalScale(), and init().
|
private |
Definition at line 86 of file SimG4HcalValidation.h.
Referenced by getHcalScale(), and init().
|
private |
Definition at line 87 of file SimG4HcalValidation.h.
Referenced by getHcalScale(), and init().
|
private |
Definition at line 92 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 92 of file SimG4HcalValidation.h.
Referenced by SimG4HcalValidation().
|
private |
Definition at line 106 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().
|
private |
Definition at line 106 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().