#include <SimG4CMS/HcalTestBeam/interface/HcalTB06Analysis.h>
Public Member Functions | |
HcalTB06Analysis (const edm::ParameterSet &p) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~HcalTB06Analysis () |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::EDProducer &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 | fillBuffer (const EndOfEvent *evt) |
void | fillEvent (PHcalTB06Info &) |
void | finalAnalysis () |
HcalTB06Analysis (const HcalTB06Analysis &) | |
void | init () |
const HcalTB06Analysis & | operator= (const HcalTB06Analysis &) |
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 | |
G4RotationMatrix * | beamline_RM |
double | beamOffset |
int | count |
std::vector< CaloHit > | ecalHitCache |
double | eecals |
double | ehcals |
double | etaInit |
double | etots |
int | evNum |
std::vector< CaloHit > | hcalHitCache |
std::vector< CaloHit > | hcalHitLayer |
HcalTB06Histo * | histo |
int | iceta |
int | icphi |
std::vector< std::string > | names |
int | nPrimary |
int | particleType |
double | phiInit |
double | pInit |
bool | pvFound |
G4ThreeVector | pvMomentum |
G4ThreeVector | pvPosition |
int | pvType |
G4ThreeVector | pvUVW |
std::vector< double > | secEkin |
std::vector< G4ThreeVector > | secMomentum |
std::vector< int > | secPartID |
std::vector< int > | secTrackID |
std::vector< int > | shortLivedSecondaries |
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 44 of file HcalTB06Analysis.h.
HcalTB06Analysis::HcalTB06Analysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 47 of file HcalTB06Analysis.cc.
References beamline_RM, beamOffset, funct::exp(), edm::ParameterSet::getParameter(), histo, iceta, icphi, init(), and names.
|
virtual |
Definition at line 82 of file HcalTB06Analysis.cc.
|
private |
|
private |
Definition at line 519 of file HcalTB06Analysis.cc.
References ecalHitCache, etaInit, hcalHitCache, nPrimary, particleType, phiInit, pInit, pvFound, pvMomentum, pvPosition, pvType, pvUVW, secEkin, secMomentum, secPartID, secTrackID, and shortLivedSecondaries.
Referenced by python.Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), init(), python.Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), update(), and python.Vispa.Views.BoxDecayView.BoxDecayView::updateContent().
|
private |
Definition at line 264 of file HcalTB06Analysis.cc.
References ecalHitCache, eta(), etaInit, evNum, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getEntry(), CaloG4Hit::getTimeSlice(), CaloG4Hit::getTrackID(), CaloG4Hit::getUnitID(), hcalHitCache, i, j, funct::log(), LogDebug, max(), min, names, npart, nPrimary, L1TEmulatorMonitor_cff::p, particleType, phi, phiInit, pInit, pos, funct::pow(), python.multivaluedict::sort(), mathSSE::sqrt(), funct::tan(), theta(), and cond::rpcobgas::time.
Referenced by update().
|
private |
Definition at line 491 of file HcalTB06Analysis.cc.
References ecalHitCache, eecals, ehcals, etaInit, etots, evNum, hcalHitCache, i, nPrimary, particleType, phiInit, pInit, pvMomentum, pvPosition, pvType, pvUVW, PHcalTB06Info::saveHit(), secEkin, secMomentum, secPartID, secTrackID, PHcalTB06Info::setEdep(), PHcalTB06Info::setPrimary(), PHcalTB06Info::setVtxPrim(), PHcalTB06Info::setVtxSec(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by produce().
|
private |
Definition at line 470 of file HcalTB06Analysis.cc.
References ecalHitCache, eecals, ehcals, etaInit, etots, HcalTB06Histo::fillEdep(), HcalTB06Histo::fillPrimary(), hcalHitCache, histo, i, LogDebug, phiInit, and pInit.
Referenced by update().
|
private |
Definition at line 103 of file HcalTB06Analysis.cc.
References clear(), count, and evNum.
Referenced by HcalTB06Analysis().
|
private |
|
virtual |
Implements SimProducer.
Definition at line 96 of file HcalTB06Analysis.cc.
References fillEvent(), and edm::Event::put().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 111 of file HcalTB06Analysis.cc.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 118 of file HcalTB06Analysis.cc.
References clear(), and evNum.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 126 of file HcalTB06Analysis.cc.
References LogDebug, NULL, evf::utils::pid, pos, position, pvFound, pvMomentum, pvPosition, pvType, pvUVW, secEkin, secMomentum, secPartID, secTrackID, and shortLivedSecondaries.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent * >.
Definition at line 240 of file HcalTB06Analysis.cc.
References count, fillBuffer(), finalAnalysis(), and LogDebug.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 85 of file HcalTB06Analysis.h.
Referenced by HcalTB06Analysis().
|
private |
Definition at line 82 of file HcalTB06Analysis.h.
Referenced by HcalTB06Analysis().
|
private |
Definition at line 88 of file HcalTB06Analysis.h.
Referenced by init(), update(), and ~HcalTB06Analysis().
|
private |
Definition at line 93 of file HcalTB06Analysis.h.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 95 of file HcalTB06Analysis.h.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 95 of file HcalTB06Analysis.h.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 92 of file HcalTB06Analysis.h.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 95 of file HcalTB06Analysis.h.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 98 of file HcalTB06Analysis.h.
Referenced by fillBuffer(), fillEvent(), init(), and update().
|
private |
Definition at line 94 of file HcalTB06Analysis.h.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 94 of file HcalTB06Analysis.h.
|
private |
Definition at line 79 of file HcalTB06Analysis.h.
Referenced by finalAnalysis(), HcalTB06Analysis(), and ~HcalTB06Analysis().
|
private |
Definition at line 83 of file HcalTB06Analysis.h.
Referenced by HcalTB06Analysis().
|
private |
Definition at line 83 of file HcalTB06Analysis.h.
Referenced by HcalTB06Analysis().
|
private |
Definition at line 84 of file HcalTB06Analysis.h.
Referenced by fillBuffer(), and HcalTB06Analysis().
|
private |
Definition at line 91 of file HcalTB06Analysis.h.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 91 of file HcalTB06Analysis.h.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 92 of file HcalTB06Analysis.h.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 92 of file HcalTB06Analysis.h.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 97 of file HcalTB06Analysis.h.
|
private |
Definition at line 99 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 99 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 98 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 99 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 102 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 101 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 100 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 100 of file HcalTB06Analysis.h.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 103 of file HcalTB06Analysis.h.