#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::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 | 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 49 of file HcalTB06Analysis.cc.
References beamline_RM, beamOffset, create_public_lumi_plots::exp, edm::ParameterSet::getParameter(), histo, iceta, icphi, init(), and names.
|
virtual |
Definition at line 84 of file HcalTB06Analysis.cc.
|
private |
|
private |
Definition at line 521 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 init(), and update().
|
private |
Definition at line 266 of file HcalTB06Analysis.cc.
References TauDecayModes::dec, alignCSCRings::e, ecalHitCache, eta(), etaInit, evNum, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getEntry(), CaloG4Hit::getTimeSlice(), CaloG4Hit::getTrackID(), CaloG4Hit::getUnitID(), GeV, hcalHitCache, i, j, relval_steps::k2, create_public_lumi_plots::log, LogDebug, bookConverter::max, min(), names, npart, nPrimary, AlCaHLTBitMon_ParallelJobs::p, particleType, phi, phiInit, pInit, funct::pow(), python.multivaluedict::sort(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), and cond::rpcobgas::time.
Referenced by update().
|
private |
Definition at line 493 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 472 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 105 of file HcalTB06Analysis.cc.
References clear(), count, and evNum.
Referenced by HcalTB06Analysis().
|
private |
|
virtual |
Implements SimProducer.
Definition at line 98 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 113 of file HcalTB06Analysis.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 120 of file HcalTB06Analysis.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 128 of file HcalTB06Analysis.cc.
References LogDebug, NULL, sysUtil::pid, position, pvFound, pvMomentum, pvPosition, pvType, pvUVW, secEkin, secMomentum, secPartID, secTrackID, and shortLivedSecondaries.
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 242 of file HcalTB06Analysis.cc.
References count, fillBuffer(), finalAnalysis(), and LogDebug.
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 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.