#include <HcalForwardAnalysis.h>
Classes | |
struct | Photon |
Public Member Functions | |
HcalForwardAnalysis (const edm::ParameterSet &p) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~HcalForwardAnalysis () |
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 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 &) | |
void | init () |
const HcalForwardAnalysis & | operator= (const HcalForwardAnalysis &) |
void | parseDetId (int id, int &tower, int &cell, int &fiber) |
void | setPhotons (const EndOfEvent *evt) |
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 | |
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 35 of file HcalForwardAnalysis.h.
HcalForwardAnalysis::HcalForwardAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 27 of file HcalForwardAnalysis.cc.
References fiberId, edm::ParameterSet::getParameter(), i, init(), lambda, nphot, primMomX, primMomY, primMomZ, primT, primX, primY, primZ, t, theEventCounter, theNames, x, y, and z.
|
virtual |
Definition at line 49 of file HcalForwardAnalysis.cc.
|
private |
|
private |
|
private |
|
private |
Definition at line 68 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().
|
private |
|
private |
Definition at line 245 of file HcalForwardAnalysis.cc.
Referenced by setPhotons().
|
virtual |
Implements SimProducer.
Definition at line 56 of file HcalForwardAnalysis.cc.
References fillEvent().
|
private |
Definition at line 129 of file HcalForwardAnalysis.cc.
References funct::cos(), gather_cfg::cout, FiberG4Hit::depth(), HFShowerG4Hit::globalPosition(), HFShowerG4Hit::hitId(), j, gen::k, HFShowerPhoton::lambda(), LogDebug, parseDetId(), phi, configurableAnalysis::Photon, FiberG4Hit::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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 92 of file HcalForwardAnalysis.cc.
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 99 of file HcalForwardAnalysis.cc.
References clear(), and evNum.
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 106 of file HcalForwardAnalysis.cc.
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 109 of file HcalForwardAnalysis.cc.
References count, LogDebug, and setPhotons().
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 83 of file HcalForwardAnalysis.h.
|
private |
Definition at line 84 of file HcalForwardAnalysis.h.
|
private |
Definition at line 89 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 85 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 88 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 87 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 87 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 87 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 86 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 86 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 86 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 86 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 85 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 82 of file HcalForwardAnalysis.h.
Referenced by HcalForwardAnalysis().
|
private |
Definition at line 79 of file HcalForwardAnalysis.h.
Referenced by init().
|
private |
Definition at line 91 of file HcalForwardAnalysis.h.
Referenced by HcalForwardAnalysis(), and setPhotons().
|
private |
Definition at line 90 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by fillEvent(), and init().
|
private |
Definition at line 85 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(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
private |
Definition at line 85 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(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
private |
Definition at line 85 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), init(), and geometryXMLparser.Alignable::pos().