#include <SimG4CMS/HcalTestBeam/interface/HcalTB02Analysis.h>
Public Member Functions | |
HcalTB02Analysis (const edm::ParameterSet &p) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HcalTB02Analysis () override | |
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 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 () |
Private Member Functions | |
void | clear () |
void | fillEvent (HcalTB02HistoClass &) |
void | finish () |
HcalTB02Analysis (const HcalTB02Analysis &)=delete | |
const HcalTB02Analysis & | operator= (const HcalTB02Analysis &)=delete |
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... | |
Private Attributes | |
float | E5x5Matrix |
float | E5x5MatrixN |
float | E7x7Matrix |
float | E7x7MatrixN |
std::map< int, float > | energyInCrystals |
std::map< int, float > | energyInScints |
double | eta |
std::string | fileNameTuple |
bool | hcalOnly |
HcalTB02Histo * | histo |
double | incidentEnergy |
int | maxTime |
std::vector< std::string > | names |
int | particleType |
double | phi |
double | pInit |
std::map< int, float > | primaries |
float | SEnergy |
float | SEnergyN |
float | xE3x3Matrix |
float | xE3x3MatrixN |
float | xE5x5Matrix |
float | xE5x5MatrixN |
double | xIncidentEnergy |
float | xSEnergy |
float | xSEnergyN |
Additional Inherited Members | |
Protected Member Functions inherited from SimProducer | |
template<class T > | |
void | produces () |
template<class T > | |
void | produces (const std::string &instanceName) |
Description: Analysis of 2004 Hcal Test beam simulation
Usage: A Simwatcher class and can be activated from Oscarproducer module
Definition at line 40 of file HcalTB02Analysis.h.
HcalTB02Analysis::HcalTB02Analysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 49 of file HcalTB02Analysis.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), trackerHits::histo, and names.
|
override |
|
privatedelete |
|
private |
Definition at line 397 of file HcalTB02Analysis.cc.
References PVValHelper::eta, DTLinearDriftAlgo_cfi::maxTime, objects.autophobj::particleType, and phi.
|
private |
Definition at line 366 of file HcalTB02Analysis.cc.
References PVValHelper::eta, GeV, DTLinearDriftAlgo_cfi::maxTime, objects.autophobj::particleType, phi, HcalTB02HistoClass::set_E5x5(), HcalTB02HistoClass::set_E5x5N(), HcalTB02HistoClass::set_E7x7(), HcalTB02HistoClass::set_E7x7N(), HcalTB02HistoClass::set_Eentry(), HcalTB02HistoClass::set_Einit(), HcalTB02HistoClass::set_eta(), HcalTB02HistoClass::set_ETot(), HcalTB02HistoClass::set_ETotN(), HcalTB02HistoClass::set_Nprim(), HcalTB02HistoClass::set_Ntimesli(), HcalTB02HistoClass::set_NUnit(), HcalTB02HistoClass::set_partType(), HcalTB02HistoClass::set_phi(), HcalTB02HistoClass::set_xE3x3(), HcalTB02HistoClass::set_xE3x3N(), HcalTB02HistoClass::set_xE5x5(), HcalTB02HistoClass::set_xE5x5N(), HcalTB02HistoClass::set_xEentry(), HcalTB02HistoClass::set_xETot(), HcalTB02HistoClass::set_xETotN(), and HcalTB02HistoClass::set_xNUnit().
|
private |
Definition at line 414 of file HcalTB02Analysis.cc.
References DEFINE_SIMWATCHER.
Referenced by progressbar.ProgressBar::__next__().
|
privatedelete |
|
overridevirtual |
Implements SimProducer.
Definition at line 74 of file HcalTB02Analysis.cc.
References ntuple::fillEvent(), eostools::move(), and edm::Event::put().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 81 of file HcalTB02Analysis.cc.
References hitfit::clear().
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 88 of file HcalTB02Analysis.cc.
References gather_cfg::cout, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, PVValHelper::eta, CaloG4Hit::getEM(), HcalTB02HcalNumberingScheme::getetaID(), CaloG4Hit::getHadr(), CaloG4Hit::getIncidentEnergy(), HcalTB02HcalNumberingScheme::getlayerID(), HcalTB02HcalNumberingScheme::getphiID(), CaloG4Hit::getTimeSliceID(), CaloG4Hit::getTrackID(), CaloG4Hit::getUnitID(), GeV, trackerHits::histo, mps_fire::i, createfilelist::int, METSignificanceParams_cfi::jeta, cmsBatch::log, LogDebug, SiStripPI::max, DTLinearDriftAlgo_cfi::maxTime, min(), names, npart, objects.autophobj::particleType, phi, funct::pow(), sd, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), and ntuplemaker::time.
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 79 of file HcalTB02Analysis.h.
|
private |
Definition at line 80 of file HcalTB02Analysis.h.
|
private |
Definition at line 79 of file HcalTB02Analysis.h.
|
private |
Definition at line 80 of file HcalTB02Analysis.h.
|
private |
Definition at line 75 of file HcalTB02Analysis.h.
|
private |
Definition at line 75 of file HcalTB02Analysis.h.
|
private |
Definition at line 78 of file HcalTB02Analysis.h.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
private |
Definition at line 71 of file HcalTB02Analysis.h.
|
private |
Definition at line 70 of file HcalTB02Analysis.h.
|
private |
Definition at line 67 of file HcalTB02Analysis.h.
|
private |
Definition at line 78 of file HcalTB02Analysis.h.
|
private |
Definition at line 81 of file HcalTB02Analysis.h.
|
private |
Definition at line 72 of file HcalTB02Analysis.h.
|
private |
Definition at line 77 of file HcalTB02Analysis.h.
|
private |
Definition at line 78 of file HcalTB02Analysis.h.
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
|
private |
Definition at line 78 of file HcalTB02Analysis.h.
|
private |
Definition at line 76 of file HcalTB02Analysis.h.
|
private |
Definition at line 79 of file HcalTB02Analysis.h.
|
private |
Definition at line 80 of file HcalTB02Analysis.h.
|
private |
Definition at line 84 of file HcalTB02Analysis.h.
|
private |
Definition at line 85 of file HcalTB02Analysis.h.
|
private |
Definition at line 84 of file HcalTB02Analysis.h.
|
private |
Definition at line 85 of file HcalTB02Analysis.h.
|
private |
Definition at line 82 of file HcalTB02Analysis.h.
|
private |
Definition at line 83 of file HcalTB02Analysis.h.
|
private |
Definition at line 83 of file HcalTB02Analysis.h.