This is EGM version of the ECAL position + depth correction calculation. More...
#include <ECAL2DPositionCalcWithDepthCorr.h>
Public Member Functions | |
void | calculateAndSetPosition (reco::PFCluster &) override |
void | calculateAndSetPositions (reco::PFClusterCollection &) override |
ECAL2DPositionCalcWithDepthCorr (const edm::ParameterSet &conf) | |
ECAL2DPositionCalcWithDepthCorr (const ECAL2DPositionCalcWithDepthCorr &)=delete | |
ECAL2DPositionCalcWithDepthCorr & | operator= (const ECAL2DPositionCalcWithDepthCorr &)=delete |
void | update (const edm::EventSetup &es) override |
Public Member Functions inherited from PFCPositionCalculatorBase | |
const std::string & | name () const |
PosCalc & | operator= (const PosCalc &)=delete |
PFCPositionCalculatorBase (const edm::ParameterSet &conf) | |
PFCPositionCalculatorBase (const PosCalc &)=delete | |
virtual | ~PFCPositionCalculatorBase ()=default |
Private Member Functions | |
void | calculateAndSetPositionActual (reco::PFCluster &) const |
Private Attributes | |
const CaloSubdetectorGeometry * | _ebGeom |
const CaloSubdetectorGeometry * | _eeGeom |
const CaloSubdetectorGeometry * | _esGeom |
bool | _esMinus |
bool | _esPlus |
const double | _minAllowedNorm |
const double | _param_T0_EB |
const double | _param_T0_EE |
const double | _param_T0_ES |
const double | _param_W0 |
const double | _param_X0 |
std::unique_ptr< CaloRecHitResolutionProvider > | _timeResolutionCalc |
Additional Inherited Members | |
Protected Attributes inherited from PFCPositionCalculatorBase | |
const float | _minFractionInCalc |
This is EGM version of the ECAL position + depth correction calculation.
Definition at line 17 of file ECAL2DPositionCalcWithDepthCorr.h.
|
inline |
Definition at line 19 of file ECAL2DPositionCalcWithDepthCorr.h.
References _timeResolutionCalc, calculateAndSetPosition(), calculateAndSetPositions(), edm::ParameterSet::exists(), edm::ParameterSet::getParameterSet(), operator=(), and update().
|
delete |
|
overridevirtual |
Implements PFCPositionCalculatorBase.
Definition at line 40 of file ECAL2DPositionCalcWithDepthCorr.cc.
References calculateAndSetPositionActual(), and calculateAndSetPositions().
Referenced by ECAL2DPositionCalcWithDepthCorr(), and update().
|
private |
Definition at line 52 of file ECAL2DPositionCalcWithDepthCorr.cc.
References _ebGeom, _eeGeom, _esMinus, _esPlus, _minAllowedNorm, _param_T0_EB, _param_T0_EE, _param_T0_ES, _param_W0, _param_X0, _timeResolutionCalc, funct::abs(), reco::PFCluster::calculatePositionREP(), constexpr, egammaForCoreTracking_cff::depth, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFCluster::energy(), Exception, f, objects.autophobj::float, CaloSubdetectorGeometry::getGeometry(), edm::isFinite(), SiStripPI::max, CMSBoostedTauSeedingParameters_cfi::maxDepth, PFLayer::NONE, reco::PFCluster::recHitFractions(), reco::CaloCluster::seed(), reco::CaloCluster::setEnergy(), reco::PFCluster::setLayer(), reco::CaloCluster::setPosition(), reco::PFCluster::setTime(), reco::PFCluster::setTimeError(), mathSSE::sqrt(), mps_merge::weight, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by calculateAndSetPosition(), and calculateAndSetPositions().
|
overridevirtual |
Implements PFCPositionCalculatorBase.
Definition at line 45 of file ECAL2DPositionCalcWithDepthCorr.cc.
References calculateAndSetPositionActual().
Referenced by calculateAndSetPosition(), and ECAL2DPositionCalcWithDepthCorr().
|
delete |
Referenced by ECAL2DPositionCalcWithDepthCorr().
|
overridevirtual |
Reimplemented from PFCPositionCalculatorBase.
Definition at line 19 of file ECAL2DPositionCalcWithDepthCorr.cc.
References _ebGeom, _eeGeom, _esGeom, _esMinus, _esPlus, calculateAndSetPosition(), DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), and z.
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(), ECAL2DPositionCalcWithDepthCorr(), 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 57 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 58 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 59 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by update().
|
private |
Definition at line 60 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 60 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 53 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 48 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 49 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 50 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 51 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 52 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 62 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and ECAL2DPositionCalcWithDepthCorr().