#include <CaloSteppingAction.h>
Public Member Functions | |
CaloSteppingAction (const edm::ParameterSet &p) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~CaloSteppingAction () override | |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::ProducesCollector producesCollector) |
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 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 Types | |
typedef std::tuple< const G4LogicalVolume *, uint32_t, int, int, double, double, double, double > | PassiveData |
Private Member Functions | |
double | curve_LY (double crystalLength, double crystalDepth) const |
void | fillHit (uint32_t id, double dE, double time, int primID, uint16_t depth, double em, int flag) |
void | fillHits (edm::PCaloHitContainer &cc, int type) |
void | fillPassiveHits (edm::PassiveHitContainer &cc) |
double | getBirkHC (double dE, double step, double chg, double dens) const |
double | getBirkL3 (double dE, double step, double chg, double dens) const |
uint16_t | getDepth (bool flag, double crystalDepth, double radl) const |
uint32_t | getDetIDHC (int det, int lay, int depth, const math::XYZVectorD &pos) const |
void | NaNTrap (const G4Step *) const |
void | saveHits (int flag) |
void | update (const BeginOfJob *job) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *run) 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... | |
void | update (const EndOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
int | allSteps_ |
double | birkC1EC_ |
double | birkC1HC_ |
double | birkC2HC_ |
double | birkC3HC_ |
double | birkCutEC_ |
double | birkSlopeEC_ |
int | count_ |
std::unique_ptr< EcalBarrelNumberingScheme > | ebNumberingScheme_ |
std::unique_ptr< EcalEndcapNumberingScheme > | eeNumberingScheme_ |
int | eventID_ |
std::unique_ptr< HcalNumberingFromPS > | hcNumberingPS_ |
std::unique_ptr< HcalNumberingScheme > | hcNumberingScheme_ |
std::map< std::pair< int, CaloHitID >, CaloGVHit > | hitMap_ [nSD_] |
std::map< const G4LogicalVolume *, std::string > | mapLV_ |
std::vector< std::string > | nameEBSD_ |
std::vector< std::string > | nameEESD_ |
std::vector< std::string > | nameHCSD_ |
std::vector< std::string > | nameHitC_ |
std::unique_ptr< CaloSlaveSD > | slave_ [nSD_] |
double | slopeLY_ |
std::vector< PassiveData > | store_ |
double | timeSliceUnit_ |
std::vector< const G4LogicalVolume * > | volEBSD_ |
std::vector< const G4LogicalVolume * > | volEESD_ |
std::vector< const G4LogicalVolume * > | volHCSD_ |
std::map< const G4LogicalVolume *, double > | xtalMap_ |
Static Private Attributes | |
static const int | nSD_ = 3 |
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 52 of file CaloSteppingAction.h.
|
private |
Definition at line 103 of file CaloSteppingAction.h.
CaloSteppingAction::CaloSteppingAction | ( | const edm::ParameterSet & | p | ) |
Definition at line 33 of file CaloSteppingAction.cc.
References allSteps_, birkC1EC_, birkC1HC_, birkC2HC_, birkC3HC_, birkCutEC_, birkSlopeEC_, ebNumberingScheme_, eeNumberingScheme_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcNumberingPS_, hcNumberingScheme_, dqmdumpme::k, nameEBSD_, nameEESD_, nameHCSD_, nameHitC_, nSD_, slave_, slopeLY_, and timeSliceUnit_.
|
override |
Definition at line 83 of file CaloSteppingAction.cc.
References count_.
|
private |
Definition at line 364 of file CaloSteppingAction.cc.
References slopeLY_, and mps_merge::weight.
Referenced by update().
|
private |
Definition at line 337 of file CaloSteppingAction.cc.
References CaloGVHit::addEnergyDeposit(), end, eventID_, RemoveAddSevLevel::flag, hitMap_, CaloGVHit::setEventID(), CaloGVHit::setID(), and timeSliceUnit_.
Referenced by update().
|
private |
Definition at line 102 of file CaloSteppingAction.cc.
References slave_.
Referenced by produce().
|
private |
Definition at line 109 of file CaloSteppingAction.cc.
References mapLV_, and store_.
Referenced by produce().
|
private |
Definition at line 402 of file CaloSteppingAction.cc.
References funct::abs(), birkC1HC_, birkC2HC_, birkC3HC_, HltBtagPostValidation_cff::c, fastSimProducer_cff::density, and mps_merge::weight.
Referenced by update().
|
private |
Definition at line 382 of file CaloSteppingAction.cc.
References birkC1EC_, birkCutEC_, birkSlopeEC_, fastSimProducer_cff::density, dqm-mbProfile::log, and mps_merge::weight.
Referenced by update().
|
private |
Definition at line 354 of file CaloSteppingAction.cc.
References LEDCalibrationChannels::depth, PCaloHit::kEcalDepthMask, PCaloHit::kEcalDepthOffset, and PCaloHit::kEcalDepthRefz.
Referenced by update().
|
private |
Definition at line 325 of file CaloSteppingAction.cc.
References relativeConstraints::error, hcNumberingPS_, hcNumberingScheme_, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by update().
|
private |
Definition at line 311 of file CaloSteppingAction.cc.
References Exception, and edm::isNotFinite().
Referenced by update().
|
overridevirtual |
Implements SimProducer.
Definition at line 88 of file CaloSteppingAction.cc.
References allSteps_, fillHits(), fillPassiveHits(), dqmdumpme::k, eostools::move(), nameHitC_, nSD_, edm::Event::put(), and saveHits().
|
private |
Definition at line 419 of file CaloSteppingAction.cc.
References hitMap_, findQualityFiles::size, and slave_.
Referenced by produce().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 128 of file CaloSteppingAction.cc.
References edm::ESHandle< T >::product().
Referenced by progressbar.ProgressBar::__next__(), 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(), 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(), 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 BeginOfRun * >.
Definition at line 143 of file CaloSteppingAction.cc.
References allSteps_, PVValHelper::dz, dqmdumpme::k, mapLV_, Skims_PA_cff::name, nameEBSD_, nameEESD_, nameHCSD_, AlCaHLTBitMon_QueryRunRegistry::string, volEBSD_, volEESD_, volHCSD_, and xtalMap_.
Referenced by progressbar.ProgressBar::__next__(), 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(), 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(), 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 202 of file CaloSteppingAction.cc.
References allSteps_, begin, end, eventID_, hitMap_, dqmdumpme::k, nSD_, slave_, and store_.
Referenced by progressbar.ProgressBar::__next__(), 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(), 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(), 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 214 of file CaloSteppingAction.cc.
References funct::abs(), EcalBaseNumber::addLevel(), allSteps_, filterCSVwithJSON::copy, curve_LY(), LEDCalibrationChannels::depth, ebNumberingScheme_, eeNumberingScheme_, HCALHighEnergyHPDFilter_cfi::energy, fillHit(), spr::find(), RemoveAddSevLevel::flag, g, getBirkHC(), getBirkL3(), EcalBaseNumber::getCapacity(), getDepth(), getDetIDHC(), AnalysisDataFormats_SUSYBSMObjects::hc, cuy::ii, G4TrackToParticleID::isGammaElectronPositron(), crabWrapper::key, DTRecHitClients_cfi::local, mapLV_, MeV, NaNTrap(), EcalBaseNumber::setSize(), findQualityFiles::size, store_, ntuplemaker::time, volEBSD_, volEESD_, volHCSD_, and xtalMap_.
Referenced by progressbar.ProgressBar::__next__(), 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(), 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(), 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 EndOfEvent * >.
Definition at line 305 of file CaloSteppingAction.cc.
References count_.
Referenced by progressbar.ProgressBar::__next__(), 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(), 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(), 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 98 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), produce(), and update().
|
private |
Definition at line 99 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getBirkL3().
|
private |
Definition at line 100 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getBirkHC().
|
private |
Definition at line 100 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getBirkHC().
|
private |
Definition at line 101 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getBirkHC().
|
private |
Definition at line 100 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getBirkL3().
|
private |
Definition at line 99 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getBirkL3().
|
private |
Definition at line 98 of file CaloSteppingAction.h.
Referenced by update(), and ~CaloSteppingAction().
|
private |
Definition at line 84 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 85 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 98 of file CaloSteppingAction.h.
|
private |
Definition at line 86 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getDetIDHC().
|
private |
Definition at line 90 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and getDetIDHC().
Definition at line 102 of file CaloSteppingAction.h.
Referenced by fillHit(), saveHits(), and update().
|
private |
Definition at line 97 of file CaloSteppingAction.h.
Referenced by fillPassiveHits(), and update().
|
private |
Definition at line 93 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 93 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 93 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 94 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and produce().
|
staticprivate |
Definition at line 83 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), produce(), and update().
|
private |
Definition at line 91 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), fillHits(), saveHits(), and update().
|
private |
Definition at line 99 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and curve_LY().
|
private |
Definition at line 104 of file CaloSteppingAction.h.
Referenced by fillPassiveHits(), and update().
|
private |
Definition at line 101 of file CaloSteppingAction.h.
Referenced by CaloSteppingAction(), and fillHit().
|
private |
Definition at line 95 of file CaloSteppingAction.h.
Referenced by update().
|
private |
Definition at line 95 of file CaloSteppingAction.h.
Referenced by update().
|
private |
Definition at line 95 of file CaloSteppingAction.h.
Referenced by update().
|
private |
Definition at line 96 of file CaloSteppingAction.h.
Referenced by update().