Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
SimG4HGCalValidation (const edm::ParameterSet &p) | |
~SimG4HGCalValidation () override | |
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) 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... | |
Private Attributes | |
unsigned int | count_ |
std::vector< unsigned int > | dets_ |
std::vector< int > | detTypes_ |
double | edepEE_ |
double | edepHEB_ |
double | edepHEF_ |
std::vector< HGCalNumberingScheme * > | hgcalNumbering_ |
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_ |
int | levelT1_ |
int | levelT2_ |
std::vector< std::string > | names_ |
HcalNumberingFromDDD * | numberingFromDDD_ |
std::vector< int > | subdet_ |
std::vector< int > | types_ |
int | verbosity_ |
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 56 of file SimG4HGCalValidation.cc.
SimG4HGCalValidation::SimG4HGCalValidation | ( | const edm::ParameterSet & | p | ) |
Definition at line 107 of file SimG4HGCalValidation.cc.
References detTypes_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), gen::k, labelLayer_, names_, AlCaHLTBitMon_QueryRunRegistry::string, types_, and verbosity_.
|
override |
Definition at line 130 of file SimG4HGCalValidation.cc.
References hgcalNumbering_, hgcNumbering_, and numberingFromDDD_.
|
private |
|
private |
Definition at line 377 of file SimG4HGCalValidation.cc.
References DEFINE_SIMWATCHER, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, and hgchitZ_.
Referenced by update().
|
private |
|
private |
Definition at line 361 of file SimG4HGCalValidation.cc.
References edepEE_, edepHEB_, edepHEF_, PHGCalValidInfo::fillhgcHits(), PHGCalValidInfo::fillhgcLayers(), hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, MeV, and verbosity_.
Referenced by produce().
|
private |
|
overridevirtual |
Implements SimProducer.
Definition at line 136 of file SimG4HGCalValidation.cc.
References labelLayer_, layerAnalysis(), eostools::move(), and edm::Event::put().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 143 of file SimG4HGCalValidation.cc.
References dets_, detTypes_, Exception, DetId::Forward, ForwardEmpty, HGCalDDDConstants::geomMode(), edm::EventSetup::get(), DetId::Hcal, HcalEndcap, HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, hgcalNumbering_, HGCEE, hgcEEedep_, HGCHEB, hgcHEBedep_, HGCHEF, hgcHEFedep_, hgcNumbering_, mps_fire::i, edm::ESHandleBase::isValid(), LayerTriplets::layers(), HGCalDDDConstants::layers(), levelT1_, levelT2_, HGCalDDDConstants::levelTop(), numberingFromDDD_, subdet_, HGCalGeometryMode::Trapezoid, 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().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 220 of file SimG4HGCalValidation.cc.
References clear(), count_, edepEE_, edepHEB_, edepHEF_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, mps_fire::i, and verbosity_.
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().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 240 of file SimG4HGCalValidation.cc.
References TauDecayModes::dec, HcalNumberingFromDDD::HcalID::depth, egammaForCoreTracking_cff::depth, dets_, detTypes_, edepEE_, edepHEB_, edepHEF_, HcalNumberingFromDDD::HcalID::etaR, spr::find(), hgcalNumbering_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, hgcNumbering_, gen::k, HcalNumberingFromDDD::HcalID::lay, levelT1_, levelT2_, dataset::name, names_, numberingFromDDD_, HcalTestNumbering::packHcalIndex(), HcalNumberingFromDDD::HcalID::phis, HcalNumberingFromDDD::HcalID::subdet, subdet_, tmp, types_, HcalNumberingFromDDD::unitID(), verbosity_, mps_merge::weight, 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 99 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 103 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 92 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 101 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 88 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 102 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 102 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 102 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 104 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 104 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 104 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 87 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 93 of file SimG4HGCalValidation.cc.
Referenced by produce(), and SimG4HGCalValidation().
|
private |
Definition at line 96 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 96 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 91 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 84 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 92 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 92 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 100 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), SimG4HGCalValidation(), and update().