#include <HcalForwardAnalysis.h>
Classes | |
struct | Photon |
Public Member Functions | |
HcalForwardAnalysis (const edm::ParameterSet &p) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HcalForwardAnalysis () override | |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::ProducesCollector producesCollector) |
SimProducer () | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
virtual | ~SimWatcher () |
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 | fillEvent () |
HcalForwardAnalysis (const HcalForwardAnalysis &)=delete | |
void | init () |
const HcalForwardAnalysis & | operator= (const HcalForwardAnalysis &)=delete |
void | parseDetId (int id, int &tower, int &cell, int &fiber) |
void | setPhotons (const EndOfEvent *evt) |
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 G4Step *step) 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 | |
int | count |
int | evNum |
int | fiberId [10000] |
float | lambda [10000] |
int | nphot |
float | primMomX |
float | primMomY |
float | primMomZ |
float | primT |
float | primX |
float | primY |
float | primZ |
float | t [10000] |
int | theEventCounter |
edm::Service< TFileService > | theFile |
std::vector< std::string > | theNames |
std::vector< Photon > | thePhotons |
TTree * | theTree |
float | x [10000] |
float | y [10000] |
float | z [10000] |
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 33 of file HcalForwardAnalysis.h.
HcalForwardAnalysis::HcalForwardAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 27 of file HcalForwardAnalysis.cc.
References fiberId, edm::ParameterSet::getParameter(), mps_fire::i, init(), lambda, nphot, primMomX, primMomY, primMomZ, primT, primX, primY, primZ, t, theEventCounter, theNames, x, y, and z.
|
override |
Definition at line 47 of file HcalForwardAnalysis.cc.
|
privatedelete |
|
private |
|
private |
Definition at line 225 of file HcalForwardAnalysis.cc.
References fiberId, mps_fire::i, createfilelist::int, lambda, nphot, t, thePhotons, theTree, x, y, and z.
Referenced by produce().
|
private |
Definition at line 64 of file HcalForwardAnalysis.cc.
References clear(), count, evNum, fiberId, lambda, TFileService::make(), nphot, primMomX, primMomY, primMomZ, primT, primX, primY, primZ, t, theFile, theTree, x, y, and z.
Referenced by HcalForwardAnalysis().
|
privatedelete |
|
private |
|
overridevirtual |
Implements SimProducer.
Definition at line 53 of file HcalForwardAnalysis.cc.
References fillEvent().
|
private |
Definition at line 118 of file HcalForwardAnalysis.cc.
References funct::cos(), gather_cfg::cout, FiberG4Hit::depth(), HFShowerG4Hit::globalPosition(), HFShowerG4Hit::hitId(), dqmiolumiharvest::j, dqmdumpme::k, HFShowerPhoton::lambda(), LogDebug, parseDetId(), phi, FiberG4Hit::photon(), nanoDQM_cff::Photon, HFShowerG4Hit::primaryMomDir(), primMomX, primMomY, primMomZ, primT, primX, primY, primZ, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, HFShowerPhoton::t(), theNames, thePhotons, theta(), HFShowerG4Hit::time(), FiberG4Hit::towerId(), HFShowerG4Hit::trackId(), HFShowerPhoton::x(), HFShowerPhoton::y(), and HFShowerPhoton::z().
Referenced by update().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 87 of file HcalForwardAnalysis.cc.
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 92 of file HcalForwardAnalysis.cc.
References clear(), and evNum.
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 98 of file HcalForwardAnalysis.cc.
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 100 of file HcalForwardAnalysis.cc.
References count, LogDebug, and setPhotons().
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 78 of file HcalForwardAnalysis.h.
|
private |
Definition at line 79 of file HcalForwardAnalysis.h.
|
private |
Definition at line 84 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 83 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 82 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 82 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 82 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 77 of file HcalForwardAnalysis.h.
Referenced by HcalForwardAnalysis().
|
private |
Definition at line 74 of file HcalForwardAnalysis.h.
Referenced by init().
|
private |
Definition at line 86 of file HcalForwardAnalysis.h.
Referenced by HcalForwardAnalysis(), and setPhotons().
|
private |
Definition at line 85 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), and setPhotons().
|
private |
Definition at line 76 of file HcalForwardAnalysis.h.
Referenced by fillEvent(), and init().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().