This is EGM version of the ECAL position + depth correction calculation. More...
Public Member Functions | |
void | calculateAndSetPosition (reco::PFCluster &) override |
void | calculateAndSetPositions (reco::PFClusterCollection &) override |
ECAL2DPositionCalcWithDepthCorr (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
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, edm::ConsumesCollector &cc) | |
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 |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | _geomToken |
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 24 of file ECAL2DPositionCalcWithDepthCorr.cc.
|
inline |
Definition at line 26 of file ECAL2DPositionCalcWithDepthCorr.cc.
References _timeResolutionCalc, edm::ParameterSet::exists(), and edm::ParameterSet::getParameterSet().
|
delete |
|
overridevirtual |
Implements PFCPositionCalculatorBase.
Definition at line 95 of file ECAL2DPositionCalcWithDepthCorr.cc.
References calculateAndSetPositionActual().
|
private |
Definition at line 105 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(), hcalRecHitTable_cff::depth, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFCluster::energy(), Exception, f, nano_mu_digi_cff::float, CaloSubdetectorGeometry::getGeometry(), edm::isFinite(), SiStripPI::max, HLT_2023v12_cff::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, y, and z.
Referenced by calculateAndSetPosition(), and calculateAndSetPositions().
|
overridevirtual |
Implements PFCPositionCalculatorBase.
Definition at line 99 of file ECAL2DPositionCalcWithDepthCorr.cc.
References calculateAndSetPositionActual(), and bsc_activity_cfg::clusters.
|
delete |
|
overridevirtual |
Reimplemented from PFCPositionCalculatorBase.
Definition at line 80 of file ECAL2DPositionCalcWithDepthCorr.cc.
References _ebGeom, _eeGeom, _esGeom, _esMinus, _esPlus, _geomToken, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, CaloSubdetectorGeometry::getGeometry(), edm::EventSetup::getHandle(), CaloGeometry::getSubdetectorGeometry(), CaloSubdetectorGeometry::getValidDetIds(), and z.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 63 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 64 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 65 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by update().
|
private |
Definition at line 66 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 66 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 72 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by update().
|
private |
Definition at line 60 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 55 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 56 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 57 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 58 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 59 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 68 of file ECAL2DPositionCalcWithDepthCorr.cc.
Referenced by calculateAndSetPositionActual(), and ECAL2DPositionCalcWithDepthCorr().