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 ECAL2DPositionCalcWithDepthCorr &)=delete | |
ECAL2DPositionCalcWithDepthCorr (const edm::ParameterSet &conf) | |
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, edm::ParameterSet::exists(), and edm::ParameterSet::getParameterSet().
|
delete |
|
overridevirtual |
Implements PFCPositionCalculatorBase.
Definition at line 35 of file ECAL2DPositionCalcWithDepthCorr.cc.
References calculateAndSetPositionActual().
|
private |
Definition at line 45 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(), LEDCalibrationChannels::depth, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFCluster::energy(), Exception, f, dqmMemoryStats::float, CaloSubdetectorGeometry::getGeometry(), edm::isFinite(), SiStripPI::max, HLT_2018_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 39 of file ECAL2DPositionCalcWithDepthCorr.cc.
References calculateAndSetPositionActual(), and bsc_activity_cfg::clusters.
|
delete |
|
overridevirtual |
Reimplemented from PFCPositionCalculatorBase.
Definition at line 18 of file ECAL2DPositionCalcWithDepthCorr.cc.
References _ebGeom, _eeGeom, _esGeom, _esMinus, _esPlus, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::EventSetup::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), CaloSubdetectorGeometry::getGeometry(), 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 55 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 56 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and update().
|
private |
Definition at line 57 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by update().
|
private |
Definition at line 58 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 52 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual().
|
private |
Definition at line 47 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 60 of file ECAL2DPositionCalcWithDepthCorr.h.
Referenced by calculateAndSetPositionActual(), and ECAL2DPositionCalcWithDepthCorr().