#include <SuperClusterShapeAlgo.h>
Public Member Functions | |
void | Calculate_Covariances (const reco::SuperCluster &passedCluster) |
double | etaWidth () |
double | phiWidth () |
SuperClusterShapeAlgo (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry) | |
Private Attributes | |
double | etaWidth_ |
const CaloSubdetectorGeometry * | geometry_ |
double | phiWidth_ |
const EcalRecHitCollection * | recHits_ |
Definition at line 28 of file SuperClusterShapeAlgo.h.
SuperClusterShapeAlgo::SuperClusterShapeAlgo | ( | const EcalRecHitCollection * | hits, |
const CaloSubdetectorGeometry * | geometry | ||
) |
Definition at line 14 of file SuperClusterShapeAlgo.cc.
void SuperClusterShapeAlgo::Calculate_Covariances | ( | const reco::SuperCluster & | passedCluster | ) |
Definition at line 18 of file SuperClusterShapeAlgo.cc.
References cuy::denominator, dPhi(), edm::SortedCollection< T, SORT >::end(), reco::CaloCluster::energy(), PV3DBase< T, PVType, FrameType >::eta(), etaWidth_, edm::SortedCollection< T, SORT >::find(), geometry_, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), reco::CaloCluster::hitsAndFractions(), PV3DBase< T, PVType, FrameType >::phi(), phiWidth_, Geom::pi(), reco::CaloCluster::position(), position, recHits_, mathSSE::sqrt(), and Geom::twoPi().
Referenced by EgammaSCEnergyCorrectionAlgo::applyCorrection(), HiEgammaSCEnergyCorrectionAlgo::applyCorrection(), and EcalClusterPUCleaningTools::CleanedSuperCluster().
|
inline |
Definition at line 37 of file SuperClusterShapeAlgo.h.
References etaWidth_.
Referenced by EgammaSCEnergyCorrectionAlgo::applyCorrection(), HiEgammaSCEnergyCorrectionAlgo::applyCorrection(), and EcalClusterPUCleaningTools::CleanedSuperCluster().
|
inline |
Definition at line 38 of file SuperClusterShapeAlgo.h.
References phiWidth_.
Referenced by EgammaSCEnergyCorrectionAlgo::applyCorrection(), HiEgammaSCEnergyCorrectionAlgo::applyCorrection(), and EcalClusterPUCleaningTools::CleanedSuperCluster().
|
private |
Definition at line 45 of file SuperClusterShapeAlgo.h.
Referenced by Calculate_Covariances(), and etaWidth().
|
private |
Definition at line 43 of file SuperClusterShapeAlgo.h.
Referenced by Calculate_Covariances().
|
private |
Definition at line 45 of file SuperClusterShapeAlgo.h.
Referenced by Calculate_Covariances(), and phiWidth().
|
private |
Definition at line 42 of file SuperClusterShapeAlgo.h.
Referenced by Calculate_Covariances().