Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
SimG4HGCalValidation (const edm::ParameterSet &p) | |
virtual | ~SimG4HGCalValidation () |
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 BeginOfJob * > | |
Observer () | |
void | slotForUpdate (const BeginOfJob * 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 G4Step * > | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | clear () |
void | init () |
void | layerAnalysis (PHGCalValidInfo &) |
const SimG4HGCalValidation & | operator= (const SimG4HGCalValidation &) |
SimG4HGCalValidation (const SimG4HGCalValidation &) | |
void | update (const BeginOfJob *job) |
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... | |
Private Attributes | |
unsigned int | count_ |
std::vector< unsigned int > | dets_ |
double | edepEE_ |
double | edepHEB_ |
double | edepHEF_ |
std::vector< double > | hgcEEedep_ |
std::vector< double > | hgcHEBedep_ |
std::vector< double > | hgcHEFedep_ |
std::vector< unsigned int > | hgchitDets_ |
std::vector< unsigned int > | hgchitIndex_ |
std::vector< double > | hgchitX_ |
std::vector< double > | hgchitY_ |
std::vector< double > | hgchitZ_ |
std::vector< HGCNumberingScheme * > | hgcNumbering_ |
std::string | labelLayer_ |
std::vector< std::string > | names_ |
HcalNumberingFromDDD * | numberingFromDDD_ |
std::vector< int > | subdet_ |
std::vector< int > | types_ |
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 55 of file SimG4HGCalValidation.cc.
SimG4HGCalValidation::SimG4HGCalValidation | ( | const edm::ParameterSet & | p | ) |
Definition at line 101 of file SimG4HGCalValidation.cc.
References edm::ParameterSet::getParameter(), gen::k, labelLayer_, names_, AlCaHLTBitMon_QueryRunRegistry::string, and types_.
|
virtual |
Definition at line 121 of file SimG4HGCalValidation.cc.
References hgcNumbering_, gen::k, and numberingFromDDD_.
|
private |
|
private |
Definition at line 318 of file SimG4HGCalValidation.cc.
References DEFINE_SIMWATCHER, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, and hgchitZ_.
Referenced by update().
|
private |
|
private |
Definition at line 303 of file SimG4HGCalValidation.cc.
References edepEE_, edepHEB_, edepHEF_, PHGCalValidInfo::fillhgcHits(), PHGCalValidInfo::fillhgcLayers(), hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, and MeV.
Referenced by produce().
|
private |
|
virtual |
Implements SimProducer.
Definition at line 127 of file SimG4HGCalValidation.cc.
References labelLayer_, layerAnalysis(), eostools::move(), and edm::Event::put().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 134 of file SimG4HGCalValidation.cc.
References dets_, Exception, DetId::Forward, HGCalDDDConstants::geomMode(), edm::EventSetup::get(), DetId::Hcal, HcalEndcap, HGCEE, hgcEEedep_, HGCHEB, hgcHEBedep_, HGCHEF, hgcHEFedep_, hgcNumbering_, i, edm::ESHandleBase::isValid(), LayerTriplets::layers(), HGCalDDDConstants::layers(), numberingFromDDD_, Square, subdet_, and types_.
Referenced by 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(), 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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 194 of file SimG4HGCalValidation.cc.
References clear(), count_, edepEE_, edepHEB_, edepHEF_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, and i.
Referenced by 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(), 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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 213 of file SimG4HGCalValidation.cc.
References TauDecayModes::dec, particleFlowClusterECALTimeSelected_cfi::depth, HcalNumberingFromDDD::HcalID::depth, dets_, edepEE_, edepHEB_, edepHEF_, HcalNumberingFromDDD::HcalID::etaR, spr::find(), hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, hgcNumbering_, diffTreeTool::index, gen::k, HcalNumberingFromDDD::HcalID::lay, python.rootplot.argparse::module, dataset::name, names_, NULL, numberingFromDDD_, HcalTestNumbering::packHcalIndex(), HcalNumberingFromDDD::HcalID::phis, HcalNumberingFromDDD::HcalID::subdet, subdet_, tmp, types_, HcalNumberingFromDDD::unitID(), and HcalNumberingFromDDD::HcalID::zside.
Referenced by 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(), 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 94 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 97 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 96 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 96 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 96 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 97 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 97 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 98 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 98 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 98 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 86 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 91 of file SimG4HGCalValidation.cc.
Referenced by produce(), and SimG4HGCalValidation().
|
private |
Definition at line 89 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 83 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 90 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 90 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().